public class PcpSwitches extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NUM_SWITCHES |
static int |
NUM_SWITCHES_ALL |
static int |
SW_BLOCK_COLD_HEAT |
static int |
SW_BLOCK_COLD_REFG |
static int |
SW_ENABLE_HEAT_PS1 |
static int |
SW_ENABLE_HEAT_PS2 |
static int |
SW_ENABLE_HEAT_PS3 |
| Constructor and Description |
|---|
PcpSwitches() |
| Modifier and Type | Method and Description |
|---|---|
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_BLOCK_COLD_REFG
public static final int SW_BLOCK_COLD_HEAT
public static final int NUM_SWITCHES
public static final int SW_ENABLE_HEAT_PS1
public static final int SW_ENABLE_HEAT_PS2
public static final int SW_ENABLE_HEAT_PS3
public static final int NUM_SWITCHES_ALL
public static List<String> getNames()
public static String getName(int id)
id - The switch idpublic static int getId(String name) throws RefrigException
name - The switch nameRefrigExceptionCopyright © 2023 LSST. All rights reserved.