
public class MCCDevice
extends org.lsst.ccs.subsystem.monitor.Device
| Constructor and Description |
|---|
MCCDevice(String devName,
String serialNo)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(String name,
int hwChan,
String type,
String subtype)
Checks a channel's parameters for validity.
|
protected void |
checkHwLine(String name,
int line)
Checks an output line number.
|
protected void |
close()
Closes the connection.
|
protected void |
configure(org.lsst.ccs.subsystem.monitor.Monitor mon)
Performs configuration.
|
protected void |
initChannel(int chan,
int type,
int subtype)
Initializes a channel.
|
protected void |
initialize()
Performs full initialization.
|
protected boolean |
isHwLineSet(int id)
Gets the set state of an output line.
|
protected double |
readChannel(int chan,
int type)
Reads a channel.
|
protected void |
setHwLine(int id,
boolean on)
Sets an output line on or off.
|
addChannel, addConfigValues, addLine, checkLine, checkOnline, checkTimeout, disable, dropChannel, enable, getConfigValues, getFullName, getOutputLines, initChannel, initSensors, isLineSet, isOnline, isTimeout, readChannelGroup, readSensors, setLine, setLineWarm, setOnline, setOutputLines, testOnlinegetChildren, getEnvironment, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalias, change, getCheckedValueFromConfiguration, getComponentByName, getDictionary, getName, getParent, getParentObject, getSubsystem, init, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, postStart, proceduralWalk, publish, publish, publish, publish, publish, publish, shutdownNow, start, treeWalkprotected void configure(org.lsst.ccs.subsystem.monitor.Monitor mon)
configure in class org.lsst.ccs.subsystem.monitor.Deviceprotected void initialize()
initialize in class org.lsst.ccs.subsystem.monitor.Deviceprotected void close()
close in class org.lsst.ccs.subsystem.monitor.Deviceprotected int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.subsystem.monitor.DeviceExceptionprotected void initChannel(int chan,
int type,
int subtype)
initChannel in class org.lsst.ccs.subsystem.monitor.Deviceprotected double readChannel(int chan,
int type)
readChannel in class org.lsst.ccs.subsystem.monitor.Deviceprotected void checkHwLine(String name, int line) throws Exception
checkHwLine in class org.lsst.ccs.subsystem.monitor.DeviceExceptionprotected void setHwLine(int id,
boolean on)
setHwLine in class org.lsst.ccs.subsystem.monitor.Deviceprotected boolean isHwLineSet(int id)
isHwLineSet in class org.lsst.ccs.subsystem.monitor.DeviceCopyright © 2016 LSST. All rights reserved.