public static enum Aerotech.Status extends Enum<Aerotech.Status>
| Enum Constant and Description |
|---|
COMMAND_FAULTED
Attempting to execute the command resulted in a fault.
|
COMMAND_TIMEOUT
Too much delay between two successive characters of a command.
|
INVALID_COMMAND
The command was invalid, e.g., had wrong parameter values or a wrong syntax.
|
INVALID_PREFIX
The controller reply is an empty string or begins with an invalid prefix character.
|
MISSING_REPOSNSE
No reply from controller.
|
SUCCESS
The command worked.
|
| Modifier and Type | Field and Description |
|---|---|
String |
message
The error message corresponding to the enum element.
|
| Modifier and Type | Method and Description |
|---|---|
static Aerotech.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Aerotech.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Aerotech.Status SUCCESS
public static final Aerotech.Status INVALID_COMMAND
public static final Aerotech.Status COMMAND_FAULTED
public static final Aerotech.Status COMMAND_TIMEOUT
public static final Aerotech.Status MISSING_REPOSNSE
public static final Aerotech.Status INVALID_PREFIX
public final String message
public static Aerotech.Status[] values()
for (Aerotech.Status c : Aerotech.Status.values()) System.out.println(c);
public static Aerotech.Status 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 nullCopyright © 2020 LSST. All rights reserved.