
public class ColdCompressor extends Compressor
Compressor.SwCondData, Compressor.SwitchDevicechannelMap, cmprPowerChan, COMP_LIMITS, condData, discPress, discPressChan, discTemp, discTempChan, gotCommand, limitData, maq20Devc, plutoDevc, state, stateChanged, suctTempChan, switchChannels, switchDevices| Constructor and Description |
|---|
ColdCompressor()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Build phase
|
List<String> |
getValveNames()
Command to get the valid valve names.
|
void |
postInit()
Initializes the cold compressor control.
|
void |
resetVfdFault()
Command to reset a VFD fault condition.
|
void |
setValvePosition(String valve,
double posn)
Command to set a valve position.
|
void |
setVfdFrequency(double freq)
Command to set the VFD frequency.
|
protected boolean |
updateState()
Updates the compressor state.
|
areEqual, getIndex, getState, getSwitchNames, init, postStart, resetLatches, setIndex, setPlateTempLow, setSwitch, setSwitchOn, updateSystempublic void build()
public void postInit()
postInit in interface org.lsst.ccs.framework.HasLifecyclepostInit in class Compressor@Command(type=QUERY, description="Get the valid valve names", level=0) public List<String> getValveNames()
@Command(type=ACTION, description="Set a cold compressor\'s valve position") public void setValvePosition(@Argument(description="Valve name") String valve, @Argument(description="Valve position") double posn) throws RefrigException
valve - The valve nameposn - The valve position (0 - 1)RefrigException@Command(type=ACTION, description="Set a cold compressor\'s VFD frequency") public void setVfdFrequency(@Argument(description="Frequency") double freq) throws RefrigException
freq - The frequencyRefrigException@Command(type=ACTION, description="Reset a cold compressor\'s VFD fault") public void resetVfdFault() throws RefrigException
RefrigExceptionprotected boolean updateState()
updateState in class CompressorCopyright © 2022 LSST. All rights reserved.