public static enum ModbusSerialDataSourceVO.EncodingType extends java.lang.Enum<ModbusSerialDataSourceVO.EncodingType>
| Enum Constant and Description |
|---|
ASCII |
RTU |
RTU_REVERSE_CRC
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
nameKey |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNameKey() |
static ModbusSerialDataSourceVO.EncodingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModbusSerialDataSourceVO.EncodingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModbusSerialDataSourceVO.EncodingType RTU
@Deprecated public static final ModbusSerialDataSourceVO.EncodingType RTU_REVERSE_CRC
public static final ModbusSerialDataSourceVO.EncodingType ASCII
public static ModbusSerialDataSourceVO.EncodingType[] values()
for (ModbusSerialDataSourceVO.EncodingType c : ModbusSerialDataSourceVO.EncodingType.values()) System.out.println(c);
public static ModbusSerialDataSourceVO.EncodingType 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 java.lang.String getNameKey()