public class BfrComCamDevice extends org.lsst.ccs.monitor.Device implements SwitchControl
| Constructor and Description |
|---|
BfrComCamDevice() |
| 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.
|
protected String |
getGroupForChannel(org.lsst.ccs.monitor.Channel ch)
Gets the group for a channel.
|
int |
getSwitchDevice()
Gets the switch device type.
|
protected void |
initDevice()
Performs configuration.
|
void |
initialize()
Performs full initialization.
|
Boolean |
isSwitchOn(int relay)
Gets the state of a relay.
|
protected double |
readChannel(org.lsst.ccs.monitor.Channel ch)
Reads a monitored channel.
|
protected void |
readChannelGroup(String group)
Reads all monitored channels.
|
void |
switchOff(int relay)
Turns a relay off.
|
void |
switchOn(int relay)
Turns a relay on.
|
addLine, checkChannel, checkHwLine, checkLine, checkTimeout, configure, disable, dropChannel, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initChannel, initSensors, isEnabled, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, start, testOnlineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasAlertprotected 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 String getGroupForChannel(org.lsst.ccs.monitor.Channel ch)
getGroupForChannel in class org.lsst.ccs.monitor.Devicech - The channelprotected void readChannelGroup(String group)
readChannelGroup in class org.lsst.ccs.monitor.Devicegroup - The group to readprotected 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 relay)
switchOn in interface SwitchControlrelay - The relay numberpublic void switchOff(int relay)
switchOff in interface SwitchControlrelay - The relay numberpublic Boolean isSwitchOn(int relay)
isSwitchOn in interface SwitchControlrelay - The relay numberCopyright © 2024 LSST. All rights reserved.