com.pax.dal.entity
Enum EUartPort
- java.lang.Object
-
- java.lang.Enum<EUartPort>
-
- com.pax.dal.entity.EUartPort
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description BASEDEV底座串口。Base communication port.COM1com1COM19Internal communication channel between Android system and security moduleCOM2com2FTDIUSBvisit FTDI USB convert serial portMODEMmodemPINPADpinpadTAXTAXUSBCCIDDeprecated.USBCOM10USB convert serial port.USBCOM30USB convert serial port.USBDEVUSB device mode portUSBDEV50USB设备模式端口。仅当授权功能被禁用时才能使用。USB device mode port.USBHOSTDeprecated.WIFIWi-FiWIRELESSwireless
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description bytegetChannel()static EUartPortvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EUartPort[]values()Returns an array containing the constants of this enum type, in the order they are declared.static EUartPortvaluesOf(int channel)
-
-
-
Enum Constant Detail
-
COM19
public static final EUartPort COM19
Internal communication channel between Android system and security module
-
USBDEV50
public static final EUartPort USBDEV50
USB设备模式端口。仅当授权功能被禁用时才能使用。USB device mode port. It can be used only when the authorization function is disabled.- Since:
- V3.22.00
-
-
Method Detail
-
values
public static EUartPort[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EUartPort c : EUartPort.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EUartPort valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getChannel
public byte getChannel()
-
-