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(org.lsst.ccs.monitor.Channel ch)
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(org.lsst.ccs.monitor.Channel ch)
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, checkChannel, checkHwLine, checkLine, checkTimeout, configure, disable, dropChannel, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initChannel, initSensors, isEnabled, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, start, testOnlineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasAlertprotected 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,
units="unitless",
description="REB Bulk PS board id")
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(org.lsst.ccs.monitor.Channel ch)
throws Exception
checkChannel in class org.lsst.ccs.monitor.Devicech - The channel to checkException - If parameters are invalidprotected double readChannel(org.lsst.ccs.monitor.Channel ch)
readChannel in class org.lsst.ccs.monitor.Devicech - The channel to readpublic 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 © 2024 LSST. All rights reserved.