public class MpmSimPlutoDevice extends MpmPlutoDevice
| Constructor and Description |
|---|
MpmSimPlutoDevice() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(org.lsst.ccs.monitor.Channel ch)
Checks a channel's parameters for validity.
|
void |
clearLatch(int cond)
Clears a latched condition.
|
protected void |
close()
Closes device connection.
|
int[] |
getTempLimits()
Gets the temperature limits.
|
protected void |
initDevice()
Performs basic initialization.
|
protected void |
initialize()
Performs full initialization.
|
Boolean |
isConditionActive(int cond)
Gets whether a condition is active.
|
Boolean |
isLatchActive(int cond)
Gets whether a latched condition is active.
|
Boolean |
isLatchLatched(int cond)
Gets whether a latched condition is latched.
|
Boolean |
isPlcActive(int plc)
Tests whether a PLC is active
|
Boolean |
isSwitchOn(int sw)
Gets the on state of a switch.
|
protected double |
readChannel(org.lsst.ccs.monitor.Channel ch)
Reads a channel.
|
void |
setCondition(int cond,
boolean set) |
void |
setLatchActive(int cond) |
void |
setLatchLatched(int cond) |
void |
setSwitchOn(int sw,
boolean on)
Sets a switch on or off.
|
getErrorCode, getSwitchState, setSwitchOncheckHwLine, isHwLineSet, isPLCActive, readAddBit, readAddInt, readAddWord, readBit, setHwLine, toggleBit, writeBit, writeRegisteraddLine, checkChannel, checkLine, checkTimeout, configure, disable, dropChannel, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initChannel, initSensors, isEnabled, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setDisabled, setLine, setLineWarm, setOnline, setOutputLines, start, testOnlineprotected void initDevice()
initDevice in class org.lsst.ccs.subsystem.common.devices.pluto.PlutoDeviceprotected void initialize()
initialize in class org.lsst.ccs.subsystem.common.devices.pluto.PlutoDeviceprotected void close()
close in class org.lsst.ccs.subsystem.common.devices.pluto.PlutoDeviceprotected int[] checkChannel(org.lsst.ccs.monitor.Channel ch)
checkChannel in class org.lsst.ccs.subsystem.common.devices.pluto.PlutoDevicech - The channel to checkprotected double readChannel(org.lsst.ccs.monitor.Channel ch)
readChannel in class org.lsst.ccs.subsystem.common.devices.pluto.PlutoDevicech - The channel to readpublic Boolean isPlcActive(int plc)
isPlcActive in class MpmPlutoDeviceplc - The PLC numberpublic void setSwitchOn(int sw,
boolean on)
setSwitchOn in class MpmPlutoDevicesw - The switch number.on - The on state to set: true or falsepublic Boolean isSwitchOn(int sw)
isSwitchOn in class MpmPlutoDevicesw - The switch number.public Boolean isLatchActive(int cond)
isLatchActive in class MpmPlutoDevicecond - The condition numberpublic Boolean isLatchLatched(int cond)
isLatchLatched in class MpmPlutoDevicecond - The condition numberpublic void clearLatch(int cond)
clearLatch in class MpmPlutoDevicecond - The condition numberpublic Boolean isConditionActive(int cond)
isConditionActive in class MpmPlutoDevicecond - The condition numberpublic int[] getTempLimits()
getTempLimits in class MpmPlutoDevice@Command(type=ACTION)
public void setLatchActive(@Argument(description="Latched condition number")
int cond)
@Command(type=ACTION)
public void setLatchLatched(@Argument(description="Latched condition number")
int cond)
@Command(type=ACTION)
public void setCondition(@Argument(description="Running condition number")
int cond,
@Argument(description="Condition on state")
boolean set)
Copyright © 2024 LSST. All rights reserved.