public enum RTD extends Enum<RTD>
ShutterStatus message. See JIRA LSSTCCSSHUTTER-125 and -139.| Enum Constant and Description |
|---|
CONTROL_BOX
The RTD for the control enclosure, designated SHT-SHT-RTD-02 in circuit diagrams.
|
MINUSX_MOTOR
The RTD for the -X motor enclosure, designated SHT-SHT-RTD-01 in circuit diagrams.
|
PLUSX_MOTOR
The RTD for the +X motor enclosure, designated SHT-SHT-RTD-00 in circuit diagrams.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Gets the index of the sensor value in the array in the status message.
|
static double |
rawToCelsius(int rawValue)
Converts the raw value read from the sensor to degrees Celsius.
|
static RTD |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RTD[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RTD PLUSX_MOTOR
public static final RTD MINUSX_MOTOR
public static final RTD CONTROL_BOX
public static RTD[] values()
for (RTD c : RTD.values()) System.out.println(c);
public static RTD 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 getIndex()
public static double rawToCelsius(int rawValue)
rawValue - the raw sensor reading gotten from the shutter PLC.Copyright © 2023 LSST. All rights reserved.