
public class UtilTrunkValves extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NUM_VALVES |
static String |
VALVE_MPC |
static int |
VALVE_MPC_ID |
static String |
VALVE_UT |
static int |
VALVE_UT_ID |
static String |
VALVE_VPC |
static int |
VALVE_VPC_ID |
| Constructor and Description |
|---|
UtilTrunkValves() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getId(String name)
Gets a valve ID from its name.
|
static String |
getName(int id)
Gets a valve name from its ID.
|
static List<String> |
getNames()
Gets the list of valve names.
|
public static final String VALVE_UT
public static final String VALVE_VPC
public static final String VALVE_MPC
public static final int VALVE_UT_ID
public static final int VALVE_VPC_ID
public static final int VALVE_MPC_ID
public static final int NUM_VALVES
public static List<String> getNames()
public static String getName(int id)
id - The valve idpublic static int getId(String name) throws UtilityException
name - The valve nameUtilityExceptionCopyright © 2022 LSST. All rights reserved.