public static enum TwisTorr84.PumpStatus extends Enum<TwisTorr84.PumpStatus>
| Enum Constant and Description |
|---|
AUTO_TUNING |
BRAKING |
FAIL |
NORMAL |
STARTING |
STOP |
WAIT_INTLK |
| Modifier and Type | Method and Description |
|---|---|
static String |
decode(int code)
Method to decode the meaning of a pump-status code,
returned as a String
|
static TwisTorr84.PumpStatus |
decodeStatus(int code)
Method to decode (to an enum) the meaning of a pump-status code
|
int |
getStatus() |
static TwisTorr84.PumpStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TwisTorr84.PumpStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TwisTorr84.PumpStatus STOP
public static final TwisTorr84.PumpStatus WAIT_INTLK
public static final TwisTorr84.PumpStatus STARTING
public static final TwisTorr84.PumpStatus AUTO_TUNING
public static final TwisTorr84.PumpStatus BRAKING
public static final TwisTorr84.PumpStatus NORMAL
public static final TwisTorr84.PumpStatus FAIL
public static TwisTorr84.PumpStatus[] values()
for (TwisTorr84.PumpStatus c : TwisTorr84.PumpStatus.values()) System.out.println(c);
public static TwisTorr84.PumpStatus 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 getStatus()
public static String decode(int code) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic static TwisTorr84.PumpStatus decodeStatus(int code) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2019 LSST. All rights reserved.