public enum DeviceParamID extends java.lang.Enum<DeviceParamID>
| Modifier and Type | Method and Description |
|---|---|
static DeviceParamID |
fromValue(int value)
Gets a device parameter from its integer value.
|
AccessMode |
getAccessMode()
Gets the access mode of the device parameter.
|
int |
getCode()
Gets the integer value of the device parameter.
|
com.unitech.lib.protocol.mcu.types.MCUCommandID |
getMCUCommandID(boolean isGet)
Gets the MCU command ID of the device parameter.
|
static java.lang.String[] |
names()
Returns an array containing the names of the device parameter constants.
|
java.lang.String |
toString()
Returns the string message of the device parameter.
|
int |
value()
Gets the integer value of the device parameter.
|
static DeviceParamID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceParamID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceParamID firmware
public static final DeviceParamID serialNumber
public static final DeviceParamID engineModel
public static final DeviceParamID engineVersion
public static final DeviceParamID bluetoothMAC
public static final DeviceParamID bluetoothName
public static final DeviceParamID batteryStatus
public static final DeviceParamID findReplace
public static final DeviceParamID triggerKeyStatus
public static final DeviceParamID autoConnecting
public static final DeviceParamID bluetoothSignalCheckingLevel
public static final DeviceParamID dataTerminator
public static final DeviceParamID settingByLabel
public static final DeviceParamID operationMode
public static final DeviceParamID gs1AI
public static final DeviceParamID autoPowerOff
public static final DeviceParamID saveBufferWhilePowerOff
public static final DeviceParamID dataSendingInterBlockDelay
public static final DeviceParamID hidInterCharacterDelay
public static final DeviceParamID hidKeyboardLanguage
public static final DeviceParamID hidKeyboardCase
public static final DeviceParamID hidEncoding
public static final DeviceParamID hidOutputType
public static final DeviceParamID controlCharacterFilter
public static final DeviceParamID endOfBatchSendingMessage
public static final DeviceParamID beeperVolume
public static final DeviceParamID vibrator
public static final DeviceParamID ledControl
public static final DeviceParamID scannerIndicator
public static final DeviceParamID cradleAutoPair
public static final DeviceParamID cradleAutoPresentationMode
public static final DeviceParamID unpairBluetooth
public static final DeviceParamID indicator
public static final DeviceParamID startDecode
public static final DeviceParamID stopDecode
public static final DeviceParamID reset
public static final DeviceParamID dataIndicator
public static DeviceParamID[] values()
for (DeviceParamID c : DeviceParamID.values()) System.out.println(c);
public static DeviceParamID 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 nullpublic int value()
public int getCode()
public java.lang.String toString()
toString in class java.lang.Enum<DeviceParamID>public static DeviceParamID fromValue(int value) throws java.lang.IllegalArgumentException
value - The integer value of the device parameter.java.lang.IllegalArgumentException - If the integer value does not correspond to any device parameter.public static java.lang.String[] names()
public AccessMode getAccessMode()
public com.unitech.lib.protocol.mcu.types.MCUCommandID getMCUCommandID(boolean isGet)
throws java.lang.IllegalArgumentException
isGet - A boolean indicating whether to get or set the device parameter.java.lang.IllegalArgumentException - If the device parameter does not correspond to any MCU command ID.