public static enum PowerChannelControl.OP extends java.lang.Enum<PowerChannelControl.OP>
Enum Constant and Description |
---|
SAVE |
SCHED_OFF |
SCHED_ON |
SCHED_RESET |
TOGGLE |
TURN_OFF |
TURN_ON |
Modifier and Type | Method and Description |
---|---|
long |
value() |
static PowerChannelControl.OP |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PowerChannelControl.OP[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PowerChannelControl.OP TURN_OFF
public static final PowerChannelControl.OP TURN_ON
public static final PowerChannelControl.OP TOGGLE
public static final PowerChannelControl.OP SCHED_ON
public static final PowerChannelControl.OP SCHED_OFF
public static final PowerChannelControl.OP SCHED_RESET
public static final PowerChannelControl.OP SAVE
public static PowerChannelControl.OP[] values()
for (PowerChannelControl.OP c : PowerChannelControl.OP.values()) System.out.println(c);
public static PowerChannelControl.OP 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 long value()