public static enum EnvironmentSensor.MotorSensor.MotorState extends java.lang.Enum<EnvironmentSensor.MotorSensor.MotorState>
Enum Constant and Description |
---|
DOWN
The cabin is letting the occupants down
|
OFF
The motor is not engaged
|
UP
The motor is pulling the cabin up
|
Modifier and Type | Field and Description |
---|---|
java.lang.Boolean |
direction |
Modifier and Type | Method and Description |
---|---|
static EnvironmentSensor.MotorSensor.MotorState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnvironmentSensor.MotorSensor.MotorState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnvironmentSensor.MotorSensor.MotorState OFF
public static final EnvironmentSensor.MotorSensor.MotorState UP
public static final EnvironmentSensor.MotorSensor.MotorState DOWN
public static EnvironmentSensor.MotorSensor.MotorState[] values()
for (EnvironmentSensor.MotorSensor.MotorState c : EnvironmentSensor.MotorSensor.MotorState.values()) System.out.println(c);
public static EnvironmentSensor.MotorSensor.MotorState 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 null