public enum ModbusTwoRegisterOrder extends Enum<ModbusTwoRegisterOrder>
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decode(byte[] data) |
byte[] |
encode(byte[] data) |
static ModbusTwoRegisterOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModbusTwoRegisterOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModbusTwoRegisterOrder ABCD
public static final ModbusTwoRegisterOrder BADC
public static final ModbusTwoRegisterOrder DCBA
public static final ModbusTwoRegisterOrder CDAB
public static ModbusTwoRegisterOrder[] values()
for (ModbusTwoRegisterOrder c : ModbusTwoRegisterOrder.values()) System.out.println(c);
public static ModbusTwoRegisterOrder valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte[] decode(byte[] data)
public byte[] encode(byte[] data)
Copyright © 2012–2017 MARID software development group. All rights reserved.