public enum DaveCommandCodes extends Enum<DaveCommandCodes>
Enum Constant and Description |
---|
DAVE_READ |
DAVE_WRITE |
Modifier and Type | Method and Description |
---|---|
byte |
getCommandCode() |
static DaveCommandCodes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DaveCommandCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DaveCommandCodes DAVE_READ
public static final DaveCommandCodes DAVE_WRITE
public static DaveCommandCodes[] values()
for (DaveCommandCodes c : DaveCommandCodes.values()) System.out.println(c);
public static DaveCommandCodes 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 getCommandCode()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.