public static enum CANSD540.LimitSwitchBehavior extends java.lang.Enum<CANSD540.LimitSwitchBehavior>
Enum Constant and Description |
---|
NormallyClosed
This limit switch is expected to be normally closed and will only activate when it becomes open.
|
NormallyOpen
This limit switch is expected to be normally open and will only activate when it becomes closed.
|
Modifier and Type | Method and Description |
---|---|
static int |
valueOf(CANSD540.LimitSwitchBehavior behavior) |
static CANSD540.LimitSwitchBehavior |
valueOf(int value) |
static CANSD540.LimitSwitchBehavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CANSD540.LimitSwitchBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CANSD540.LimitSwitchBehavior NormallyOpen
public static final CANSD540.LimitSwitchBehavior NormallyClosed
public static CANSD540.LimitSwitchBehavior[] values()
for (CANSD540.LimitSwitchBehavior c : CANSD540.LimitSwitchBehavior.values()) System.out.println(c);
public static CANSD540.LimitSwitchBehavior 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 static int valueOf(CANSD540.LimitSwitchBehavior behavior)
public static CANSD540.LimitSwitchBehavior valueOf(int value)