
public class Switches extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NUM_SWITCHES |
static int |
SW_CRYO_GATE_VALVE |
static int |
SW_CRYO_ION_PUMP1 |
static int |
SW_CRYO_ION_PUMP2 |
static int |
SW_CRYO_ION_PUMP3 |
static int |
SW_CRYO_ION_PUMP4 |
static int |
SW_CRYO_ION_PUMP5 |
static int |
SW_CRYO_ION_PUMP6 |
static int |
SW_CRYO_SCROLL_PUMP |
static int |
SW_CRYO_TURBO_PUMP |
static int |
SW_HX_GATE_VALVE |
static int |
SW_HX_ION_PUMP1 |
static int |
SW_HX_ION_PUMP2 |
static int |
SW_HX_SCROLL_PUMP |
static int |
SW_HX_TURBO_PUMP |
static int |
SW_INST_FTH_VALVE |
static int |
SW_INST_FTPP_VALVE |
static int |
SW_INST_L3H_VALVE |
static int |
SW_INST_L3LF_VALVE |
static int |
SW_INST_SCROLL_PUMP |
| Constructor and Description |
|---|
Switches() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getDevice(int id)
Gets a device ID for a switch.
|
static int |
getId(String name)
Gets a switch ID from its name.
|
static String |
getName(int id)
Gets a switch name from its ID.
|
static List<String> |
getNames()
Gets the list of switch names.
|
public static final int SW_CRYO_TURBO_PUMP
public static final int SW_CRYO_ION_PUMP1
public static final int SW_CRYO_ION_PUMP2
public static final int SW_CRYO_ION_PUMP3
public static final int SW_CRYO_ION_PUMP4
public static final int SW_CRYO_ION_PUMP5
public static final int SW_CRYO_ION_PUMP6
public static final int SW_CRYO_GATE_VALVE
public static final int SW_CRYO_SCROLL_PUMP
public static final int SW_HX_TURBO_PUMP
public static final int SW_HX_ION_PUMP1
public static final int SW_HX_ION_PUMP2
public static final int SW_HX_GATE_VALVE
public static final int SW_HX_SCROLL_PUMP
public static final int SW_INST_FTPP_VALVE
public static final int SW_INST_FTH_VALVE
public static final int SW_INST_L3H_VALVE
public static final int SW_INST_L3LF_VALVE
public static final int SW_INST_SCROLL_PUMP
public static final int NUM_SWITCHES
public static List<String> getNames()
public static String getName(int id)
id - The switch idpublic static int getId(String name) throws VacuumException
name - The switch nameVacuumExceptionpublic static int getDevice(int id)
id - The switch IDCopyright © 2021 LSST. All rights reserved.