public class DemoDevice
extends org.lsst.ccs.monitor.Device
| Constructor and Description |
|---|
DemoDevice(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
protected void |
close() |
String |
getId() |
protected void |
initialize() |
protected double |
readChannel(org.lsst.ccs.monitor.Channel ch) |
void |
setError(boolean value) |
boolean |
showError() |
addLine, checkChannel, checkChannel, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initChannel, initDevice, initSensors, isEnabled, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, start, testOnlinepublic DemoDevice(String id)
public String getId()
public void build()
protected void initialize()
initialize in class org.lsst.ccs.monitor.Deviceprotected void close()
close in class org.lsst.ccs.monitor.Deviceprotected double readChannel(org.lsst.ccs.monitor.Channel ch)
readChannel in class org.lsst.ccs.monitor.Device@Command(type=QUERY, level=0, name="showError", description="show simulated read error") public boolean showError()
@Command(type=ACTION, level=1, name="setError", description="set simulated error true/false") public void setError(@Argument(name="value",description="setting for simulated read error") boolean value)
Copyright © 2022 LSST. All rights reserved.