public class SimMks9xxDevice
extends org.lsst.ccs.monitor.Device
| Constructor and Description |
|---|
SimMks9xxDevice() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection.
|
void |
initDevice()
Performs configuration.
|
void |
initialize()
Performs full initialization.
|
double |
readChannel(int hwChan,
int type)
Reads a monitoring channel.
|
void |
setOnline(boolean on)
Sets the device on- or off-line.
|
void |
setPressure(double pressure)
Sets the pressure.
|
addLine, checkChannel, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initSensors, isEnabled, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOutputLines, start, testOnlinepublic void initDevice()
initDevice in class org.lsst.ccs.monitor.Devicepublic void initialize()
initialize in class org.lsst.ccs.monitor.Devicepublic void close()
close in class org.lsst.ccs.monitor.Devicepublic double readChannel(int hwChan,
int type)
readChannel in class org.lsst.ccs.monitor.DevicehwChan - The hardware channel numbertype - The encoded channel type@Command(type=ACTION,
level=0,
description="Set the pressure")
public void setPressure(@Argument(description="Pressure value")
double pressure)
pressure - The simulated pressure@Command(type=ACTION,
level=0,
description="Set online state")
public void setOnline(@Argument(description="Whether online")
boolean on)
setOnline in class org.lsst.ccs.monitor.Deviceon - Whether online or notCopyright © 2022 LSST. All rights reserved.