public enum DeviceCommand extends Enum<DeviceCommand>
| Enum Constant and Description |
|---|
CLEAR_DATA_BUFFER
Delete all stored records and set the record count to zero.
|
INSTRUMENT_START
Start automatic data collection cycles.
|
INSTRUMENT_STOP
Stop automatic data collection.
|
SET_CLOCK
Set the device clock to the contents of the DATA SET registers.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCommandNum()
Gets the command number.
|
static DeviceCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceCommand CLEAR_DATA_BUFFER
public static final DeviceCommand INSTRUMENT_START
public static final DeviceCommand INSTRUMENT_STOP
public static final DeviceCommand SET_CLOCK
public static DeviceCommand[] values()
for (DeviceCommand c : DeviceCommand.values()) System.out.println(c);
public static DeviceCommand 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 int getCommandNum()
Copyright © 2016 LSST. All rights reserved.