org.openmuc.j60870
public static enum IeDoubleCommand.DoubleCommandState extends java.lang.Enum<IeDoubleCommand.DoubleCommandState>
Enum Constant and Description |
---|
NOT_PERMITTED_A |
NOT_PERMITTED_B |
OFF |
ON |
Modifier and Type | Method and Description |
---|---|
static IeDoubleCommand.DoubleCommandState |
createDoubleCommandState(int code)
Returns the DoubleCommandState for the given code.
|
int |
getCode()
Returns the code associated with this DoubleCommandState.
|
static IeDoubleCommand.DoubleCommandState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IeDoubleCommand.DoubleCommandState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IeDoubleCommand.DoubleCommandState NOT_PERMITTED_A
public static final IeDoubleCommand.DoubleCommandState OFF
public static final IeDoubleCommand.DoubleCommandState ON
public static final IeDoubleCommand.DoubleCommandState NOT_PERMITTED_B
public static IeDoubleCommand.DoubleCommandState[] values()
for (IeDoubleCommand.DoubleCommandState c : IeDoubleCommand.DoubleCommandState.values()) System.out.println(c);
public static IeDoubleCommand.DoubleCommandState 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 getCode()
public static IeDoubleCommand.DoubleCommandState createDoubleCommandState(int code)
code
- the code of the DoubleCommandState