public class TelescopeDevice
extends org.lsst.ccs.monitor.Device
| Modifier and Type | Field and Description |
|---|---|
static int |
CHAN_DOME_XMINUS_TEMP |
static int |
CHAN_DOME_YMINUS_TEMP |
static int |
NUM_CHANNELS |
| Constructor and Description |
|---|
TelescopeDevice() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(org.lsst.ccs.monitor.Channel ch)
Checks a channel's parameters for validity.
|
protected void |
close()
Closes device connection.
|
String |
getChannelNames() |
protected void |
initDevice()
Performs configuration.
|
protected void |
initialize()
Performs full initialization.
|
protected double |
readChannel(org.lsst.ccs.monitor.Channel ch)
Reads a channel.
|
void |
setChannelValue(String chName,
double value) |
addLine, checkChannel, checkHwLine, checkLine, checkOnline, 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, testOnlinepublic static final int CHAN_DOME_XMINUS_TEMP
public static final int CHAN_DOME_YMINUS_TEMP
public static final int NUM_CHANNELS
protected void initDevice()
initDevice in class org.lsst.ccs.monitor.Deviceprotected 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 there is a parameter errorprotected double readChannel(org.lsst.ccs.monitor.Channel ch)
readChannel in class org.lsst.ccs.monitor.Devicech - The channel to read@Command(type=ACTION,
level=0,
description="Set a channel value")
public void setChannelValue(@Argument(description="Channel name")
String chName,
@Argument(description="Channel value")
double value)
throws UtilityException
UtilityException@Command(type=QUERY,
level=0,
description="Get the list of channel names")
public String getChannelNames()
Copyright © 2022 LSST. All rights reserved.