
public class UtilTrunkFans extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FAN_MPC |
static int |
FAN_MPC_ID |
static String |
FAN_UT |
static int |
FAN_UT_ID |
static String |
FAN_VPC |
static int |
FAN_VPC_ID |
static int |
NUM_FANS |
| Constructor and Description |
|---|
UtilTrunkFans() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getId(String name)
Gets a fan ID from its name.
|
static String |
getName(int id)
Gets a fan name from its ID.
|
static List<String> |
getNames()
Gets the list of fan names.
|
static Integer |
getSwitch(int id)
Gets a fan switch from its ID.
|
static boolean |
hasTempState(int id)
Gets whether a fan has a temperature control state.
|
public static final String FAN_UT
public static final String FAN_VPC
public static final String FAN_MPC
public static final int FAN_UT_ID
public static final int FAN_VPC_ID
public static final int FAN_MPC_ID
public static final int NUM_FANS
public static List<String> getNames()
public static String getName(int id)
id - The fan idpublic static int getId(String name) throws UtilityException
name - The fan nameUtilityExceptionpublic static Integer getSwitch(int id)
id - The fan IDpublic static boolean hasTempState(int id)
id - The fan idCopyright © 2022 LSST. All rights reserved.