package com.kmall.common.utils.print.ticket.doc;

import javax.print.attribute.standard.MediaSizeName;

/**
 * 热敏纸 thermal paper
 *
 * @author Scott Chen
 * @since 1.0
 * 2018-10-29
 */
public class ThermalMediaSizeName extends MediaSizeName {

    private static final long serialVersionUID = 2625316120464977704L;

    /**
     * 57mm热敏纸
     */
    public static final ThermalMediaSizeName
            TP_57 = new ThermalMediaSizeName(900);

    /**
     * 80mm热敏纸
     */
    public static final ThermalMediaSizeName
            TP_80 = new ThermalMediaSizeName(901);

    protected ThermalMediaSizeName(int value) {
        super (value);
    }

    private static final String[] myStringTable = {
            "tp_57",
            "tp_80"
    };

    private static final MediaSizeName[] myEnumValueTable = {
            TP_57,
            TP_80
    };


}
