public static enum ProfileDevice.MVTVAL extends java.lang.Enum<ProfileDevice.MVTVAL>
DevStatus#mvtStatus
.Enum Constant and Description |
---|
FAILURE
General motion failure
|
MOVING
Scan actuator is moving
|
STATIONARY
Scan actuator is stationary
|
UNDEFINED
Unknown or undefined motion code, usually indicates error condition
|
Modifier and Type | Method and Description |
---|---|
int |
getMotionCode()
Return the value of the movement state
that this enumeration constant represents.
|
static ProfileDevice.MVTVAL |
getMvtFromCode(int intMvt)
Returns the movement enumeration constant for the
given movement code value.
|
static ProfileDevice.MVTVAL |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProfileDevice.MVTVAL[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfileDevice.MVTVAL UNDEFINED
public static final ProfileDevice.MVTVAL STATIONARY
public static final ProfileDevice.MVTVAL MOVING
public static final ProfileDevice.MVTVAL FAILURE
public static ProfileDevice.MVTVAL[] values()
for (ProfileDevice.MVTVAL c : ProfileDevice.MVTVAL.values()) System.out.println(c);
public static ProfileDevice.MVTVAL 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 getMotionCode()
public static ProfileDevice.MVTVAL getMvtFromCode(int intMvt)
intMvt
- code of the movement indicatorUNDEFINED
if value has no constant