public static enum CanOpenEPOS.EposMode extends Enum<CanOpenEPOS.EposMode>
| Enum Constant and Description |
|---|
CURRENT |
HOMING |
POSITION |
PROFILE_POSITION |
PROFILE_VELOCITY |
VELOCITY |
| Modifier and Type | Method and Description |
|---|---|
static CanOpenEPOS.EposMode |
getMode(String hexa)
Retrieve and returns a mode which hexa code is given as an argument.
|
static CanOpenEPOS.EposMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CanOpenEPOS.EposMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CanOpenEPOS.EposMode HOMING
public static final CanOpenEPOS.EposMode PROFILE_POSITION
public static final CanOpenEPOS.EposMode PROFILE_VELOCITY
public static final CanOpenEPOS.EposMode POSITION
public static final CanOpenEPOS.EposMode VELOCITY
public static final CanOpenEPOS.EposMode CURRENT
public static CanOpenEPOS.EposMode[] values()
for (CanOpenEPOS.EposMode c : CanOpenEPOS.EposMode.values()) System.out.println(c);
public static CanOpenEPOS.EposMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static CanOpenEPOS.EposMode getMode(String hexa)
hexa - mode code in hexaCopyright © 2014 LSST. All Rights Reserved.