
public class RebBulkPsDevice extends org.lsst.ccs.monitor.Device implements SwitchControl
| Modifier and Type | Field and Description |
|---|---|
protected static int |
MON_TYPE_BOARD_TEMP |
protected static int |
MON_TYPE_CURRENT |
protected static int |
MON_TYPE_TEMP |
protected static int |
MON_TYPE_VOLTAGE |
protected Integer |
node
Data fields.
|
| Constructor and Description |
|---|
RebBulkPsDevice() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(String name,
int hwChan,
String type,
String subtype)
Checks a monitoring channel's parameters for validity.
|
protected void |
close()
Closes the connection.
|
int |
getSwitchDevice()
Gets the switch device type
|
protected void |
initDevice()
Performs configuration.
|
void |
initialize()
Performs full initialization.
|
Boolean |
isSwitchOn(int psNum)
Gets the state of a bulk power supply.
|
protected double |
readChannel(int hwChan,
int type)
Reads a monitoring channel.
|
void |
switchOff(int psNum)
Turns a bulk power supply off.
|
void |
switchOn(int psNum)
Turns a bulk power supply on.
|
addLine, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, start, testOnlineprotected static final int MON_TYPE_VOLTAGE
protected static final int MON_TYPE_CURRENT
protected static final int MON_TYPE_TEMP
protected static final int MON_TYPE_BOARD_TEMP
@ConfigurationParameter(name="node",
category="Quadbox",
isFinal=true)
protected volatile Integer node
protected void initDevice()
initDevice in class org.lsst.ccs.monitor.Devicepublic void initialize()
initialize in class org.lsst.ccs.monitor.Deviceprotected void close()
close in class org.lsst.ccs.monitor.Deviceprotected int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.monitor.Devicename - The channel namehwChan - The hardware channeltype - The channel type stringsubtype - The channel subtype stringException - If parameters are invalidprotected double readChannel(int hwChan,
int type)
readChannel in class org.lsst.ccs.monitor.DevicehwChan - The hardware channel numbertype - The encoded channel typepublic int getSwitchDevice()
getSwitchDevice in interface SwitchControlpublic void switchOn(int psNum)
switchOn in interface SwitchControlpsNum - The PS numberpublic void switchOff(int psNum)
switchOff in interface SwitchControlpsNum - The PS numberpublic Boolean isSwitchOn(int psNum)
isSwitchOn in interface SwitchControlpsNum - The PS numberCopyright © 2022 LSST. All rights reserved.