public static enum Printer.PrinterStatus extends java.lang.Enum<Printer.PrinterStatus>
Enum Constant and Description |
---|
CANCELPAPER
打印机用户未取纸
User doesnot get paper |
LACKOFPAPER
打印机缺纸
printer lack paper |
LEISURE
打印机闲
Printer available |
NORMAL
打印机正常
Printer normal |
OVERHEATING
打印机过热
Printer overheat. |
OVERPRESSURE
打印机过压
Printer overvolt. |
PAPERFINISH
打印机纸将尽
Printer paper used up |
PAPERSTUCK
打印机卡纸
Printer paper stuck |
PRESSUREAXISOPEN
打印机压轴打开
Printer shaft open |
SLICINGERROR
打印机切片错误
Printer cutting error |
UNLEISURED
打印机繁忙
The printer data is full, |
Modifier and Type | Method and Description |
---|---|
static Printer.PrinterStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Printer.PrinterStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Printer.PrinterStatus NORMAL
public static final Printer.PrinterStatus OVERPRESSURE
public static final Printer.PrinterStatus LACKOFPAPER
public static final Printer.PrinterStatus OVERHEATING
public static final Printer.PrinterStatus PRESSUREAXISOPEN
public static final Printer.PrinterStatus PAPERSTUCK
public static final Printer.PrinterStatus SLICINGERROR
public static final Printer.PrinterStatus PAPERFINISH
public static final Printer.PrinterStatus CANCELPAPER
public static final Printer.PrinterStatus UNLEISURED
public static final Printer.PrinterStatus LEISURE
public static Printer.PrinterStatus[] values()
for (Printer.PrinterStatus c : Printer.PrinterStatus.values()) System.out.println(c);
public static Printer.PrinterStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null