public class VacSimMksDevice extends SimMks9xxDevice implements SwitchDevice
| Constructor and Description |
|---|
VacSimMksDevice() |
| Modifier and Type | Method and Description |
|---|---|
int |
getSwitchDevice()
Gets the switch device ID.
|
Boolean |
isSwitchOn(int sw)
Gets whether a switch is on.
|
void |
setSwitch(int sw,
boolean on)
Turns a switch on or off.
|
close, initDevice, initialize, readChannel, setOnline, setPressureaddLine, checkChannel, checkChannel, checkHwLine, checkLine, 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, setOutputLines, start, testOnlinepublic int getSwitchDevice()
getSwitchDevice in interface SwitchDevicepublic void setSwitch(int sw,
boolean on)
setSwitch in interface SwitchDevicesw - The switch IDon - Whether to turn on or offpublic Boolean isSwitchOn(int sw)
isSwitchOn in interface SwitchDevicesw - The switch IDCopyright © 2024 LSST. All rights reserved.