
public class CompSimMaq20Device extends CompMaq20Device
NUM_COLD_SWITCHES, NUM_CRYO_SWITCHES, SW_BYPASS_VALVE, SW_COOLANT_VALVE, SW_ORIFICE_VALVE, SW_SURGE_HEATERCHAN_FREQUENCY, CHAN_PULSE_COUNT, CHAN_PULSE_RPM, CHAN_PWM_LOW1, CHAN_PWM_LOW2, CHAN_PWM_PERIOD, controlMap, maq, modules, node, NUM_CHAN_DIOH, NUM_CHAN_DIOL, NUM_CHAN_FREQ, NUM_CHAN_IVD, NUM_CHAN_IVO, NUM_CHAN_IVS, NUM_CHAN_PULSE, NUM_CHAN_PWM, NUM_CHAN_RTD, NUM_CHAN_TC| Constructor and Description |
|---|
CompSimMaq20Device() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(String name,
int hwChan,
String type,
String subtype)
Checks a channel's parameters for validity.
|
protected void |
close()
Closes device connection.
|
protected void |
initDevice()
Performs basic initialization.
|
protected void |
initialize()
Performs full initialization.
|
Boolean |
isSwitchOn(int sw)
Gets the on state of a switch.
|
protected double |
readChannel(int hwChan,
int type)
Reads a channel.
|
protected void |
readChannelGroup()
Reads all referenced channels.
|
void |
setSwitchOn(int sw,
boolean on)
Sets a switch on or off.
|
void |
setType(int type)
Sets the compressor type.
|
addChannel, addLine, checkHardware, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getFullName, getName, getOutputLines, init, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelNow, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected void initDevice()
initDevice in class org.lsst.ccs.subsystem.common.devices.Maq20Deviceprotected void initialize()
initialize in class org.lsst.ccs.subsystem.common.devices.Maq20Deviceprotected void close()
close in class org.lsst.ccs.subsystem.common.devices.Maq20Deviceprotected int[] checkChannel(String name, int hwChan, String type, String subtype)
checkChannel in class org.lsst.ccs.subsystem.common.devices.Maq20Devicename - The channel namehwChan - The hardware channel numbertype - The channel type stringsubtype - The channel subtype stringprotected void readChannelGroup()
readChannelGroup in class org.lsst.ccs.monitor.Deviceprotected double readChannel(int hwChan,
int type)
readChannel in class org.lsst.ccs.subsystem.common.devices.Maq20DevicehwChan - The hardware channel number.type - The encoded channel type returned by checkChannel.public void setType(int type)
setType in class CompMaq20Devicetype - The type (cold or cryo)public void setSwitchOn(int sw,
boolean on)
setSwitchOn in interface Compressor.SwitchDevicesetSwitchOn in class CompMaq20Devicesw - The switch number.on - The on state to set: true or falsepublic Boolean isSwitchOn(int sw)
isSwitchOn in interface Compressor.SwitchDeviceisSwitchOn in class CompMaq20Devicesw - The switch number.Copyright © 2019 LSST. All rights reserved.