
public class CompPlutoDevice extends org.lsst.ccs.subsystem.common.devices.PlutoDevice implements Compressor.SwitchDevice
| Modifier and Type | Field and Description |
|---|---|
static int |
NUM_COLD_SWITCHES
Constants.
|
static int |
NUM_CRYO_SWITCHES
Constants.
|
static int |
SW_ENABLE
Constants.
|
static int |
SW_HEATER
Constants.
|
static int |
SW_LIGHTS
Constants.
|
| Constructor and Description |
|---|
CompPlutoDevice()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ConditionState |
getConditionState(int cond)
Gets the state of a condition.
|
LatchState |
getLatchState(int cond)
Gets the state of a latched condition.
|
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 |
isLatchWarning(int cond)
Gets whether a latched condition is in warning state.
|
Boolean |
isSwitchOn(int sw)
Gets the on state of a switch.
|
void |
resetLatches()
Resets all latched conditions.
|
void |
setSwitchOn(int sw,
boolean on)
Sets a switch on or off.
|
void |
setType(int type)
Sets the compressor type.
|
checkChannel, checkHwLine, close, initDevice, initialize, isHwLineSet, isPLCActive, readAddBit, readAddInt, readAddWord, readBit, readChannel, readChannelGroup, setHwLine, toggleBit, writeBit, writeRegisteraddChannel, addLine, checkHardware, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getFullName, getName, getOutputLines, init, initChannel, initChannel, initSensors, isLineSet, isOnline, isTimeout, readChannel, readChannelNow, readSensors, setLine, setLineWarm, setOnline, setOutputLines, testOnlineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final int SW_ENABLE
public static final int SW_LIGHTS
public static final int NUM_COLD_SWITCHES
public static final int SW_HEATER
public static final int NUM_CRYO_SWITCHES
public void setType(int type)
type - The type (cold or cryo)public void setSwitchOn(int sw,
boolean on)
setSwitchOn in interface Compressor.SwitchDevicesw - The switch number.on - The on state to set: true or falsepublic Boolean isSwitchOn(int sw)
isSwitchOn in interface Compressor.SwitchDevicesw - The switch number.public Boolean isLatchActive(int cond)
cond - The condition numberpublic Boolean isLatchWarning(int cond)
cond - The condition numberpublic Boolean isLatchLatched(int cond)
cond - The condition numberpublic Boolean isConditionActive(int cond)
cond - The condition numberpublic LatchState getLatchState(int cond)
cond - The condition numberpublic ConditionState getConditionState(int cond)
cond - The condition numberpublic void resetLatches()
Copyright © 2019 LSST. All rights reserved.