public static enum CanOpenDigitaxVariator.DigitaxMode extends Enum<CanOpenDigitaxVariator.DigitaxMode>
| Enum Constant and Description |
|---|
TORQUE_PROFILE |
VELOCITY |
| Modifier and Type | Method and Description |
|---|---|
static CanOpenDigitaxVariator.DigitaxMode |
getMode(String hexa)
Retrieve and returns a mode which hexa code is given as an argument.
|
static CanOpenDigitaxVariator.DigitaxMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CanOpenDigitaxVariator.DigitaxMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CanOpenDigitaxVariator.DigitaxMode VELOCITY
public static final CanOpenDigitaxVariator.DigitaxMode TORQUE_PROFILE
public static CanOpenDigitaxVariator.DigitaxMode[] values()
for (CanOpenDigitaxVariator.DigitaxMode c : CanOpenDigitaxVariator.DigitaxMode.values()) System.out.println(c);
public static CanOpenDigitaxVariator.DigitaxMode 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 CanOpenDigitaxVariator.DigitaxMode getMode(String hexa)
hexa - mode code in hexaCopyright © 2016 LSST. All rights reserved.