
public class Compressor extends Object implements org.lsst.ccs.framework.HasLifecycle
| Modifier and Type | Class and Description |
|---|---|
static class |
Compressor.LimitData |
static interface |
Compressor.SwitchDevice |
| Modifier and Type | Field and Description |
|---|---|
protected String |
cmprPowerChan |
protected String |
discPressChan |
protected String |
discTempChan |
protected String |
liquidTempChan |
protected String |
phaseSepTempChan |
protected String |
suctPressChan |
protected String |
suctTempChan |
| Constructor and Description |
|---|
Compressor(CompState state)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.lsst.ccs.framework.ClearAlertHandler.ClearAlertCode |
canClearAlert(org.lsst.ccs.bus.data.Alert alert)
Enables an alert to be cleared.
|
int |
getIndex()
Gets the compressor index.
|
CompState |
getState()
Gets the compressor state.
|
void |
postInit()
Initializes the compressor control.
|
void |
resetLatches()
Command to reset the latches.
|
void |
setBypassValve(double posn)
Command to set the cold bypass valve position.
|
void |
setCmprPowerDelayLimit(double value)
Sets the compressor power delayed limit.
|
void |
setCmprPowerDelayTime(int value)
Sets the compressor power delay.
|
void |
setCmprPowerImmedLimit(double value)
Sets the compressor power immediate limit.
|
void |
setCoolantValve(double posn)
Command to set the cold coolant valve position.
|
void |
setDiscPressDelayLimit(double value)
Sets the discharge pressure delayed limit.
|
void |
setDiscPressDelayTime(int value)
Sets the discharge pressure delay.
|
void |
setDiscPressImmedLimit(double value)
Sets the discharge pressure immediate limit.
|
void |
setDiscTempDelayLimit(double value)
Sets the discharge temperature delayed limit.
|
void |
setDiscTempDelayTime(int value)
Sets the discharge temperature delay.
|
void |
setDiscTempImmedLimit(double value)
Sets the discharge temperature immediate limit.
|
void |
setDiscTempLowImmedLimit(double value)
Sets the discharge temperature low immediate limit.
|
void |
setIndex(int index)
Sets the compressor index.
|
void |
setLiquidTempDelayLimit(double value)
Sets the liquid temperature delayed limit.
|
void |
setLiquidTempDelayTime(int value)
Sets the liquid temperature delay.
|
void |
setLiquidTempImmedLimit(double value)
Sets the liquid temperature immediate limit.
|
void |
setPhaseSepTempDelayLimit(double value)
Sets the phase separator temperature delayed limit.
|
void |
setPhaseSepTempDelayTime(int value)
Sets the phase separator temperature delay.
|
void |
setPressDiffImmedLimit(double value)
Sets the discharge pressure difference immediate limit.
|
void |
setSuctTempImmedLimit(double value)
Sets the suction temperature immediate limit.
|
void |
setSwitchOn(int sw,
boolean on)
Command to turn a switch on or off..
|
void |
setVfdFrequency(double freq)
Command to set the cold VFD frequency.
|
boolean |
updateSystem()
Updates the compressor system.
|
protected String discPressChan
protected String discTempChan
protected String suctPressChan
protected String suctTempChan
protected String cmprPowerChan
protected String phaseSepTempChan
protected String liquidTempChan
public Compressor(CompState state)
state - The compressor state objectpublic void postInit()
postInit in interface org.lsst.ccs.framework.HasLifecycle@ConfigurationParameterChanger public void setDiscPressImmedLimit(double value)
value - The value to set@ConfigurationParameterChanger public void setDiscPressDelayLimit(double value)
value - The value to set@ConfigurationParameterChanger public void setDiscPressDelayTime(int value)
value - The value to set@ConfigurationParameterChanger public void setDiscTempImmedLimit(double value)
value - The value to set@ConfigurationParameterChanger public void setDiscTempDelayLimit(double value)
value - The value to set@ConfigurationParameterChanger public void setDiscTempDelayTime(int value)
value - The value to set@ConfigurationParameterChanger public void setSuctTempImmedLimit(double value)
value - The value to set@ConfigurationParameterChanger public void setCmprPowerImmedLimit(double value)
value - The value to set@ConfigurationParameterChanger public void setCmprPowerDelayLimit(double value)
value - The value to set@ConfigurationParameterChanger public void setCmprPowerDelayTime(int value)
value - The value to set@ConfigurationParameterChanger public void setLiquidTempImmedLimit(double value)
value - The value to set@ConfigurationParameterChanger public void setLiquidTempDelayLimit(double value)
value - The value to set@ConfigurationParameterChanger public void setLiquidTempDelayTime(int value)
value - The value to set@ConfigurationParameterChanger public void setPhaseSepTempDelayLimit(double value)
value - The value to set@ConfigurationParameterChanger public void setPhaseSepTempDelayTime(int value)
value - The value to set@ConfigurationParameterChanger public void setDiscTempLowImmedLimit(double value)
value - The value to set@ConfigurationParameterChanger public void setPressDiffImmedLimit(double value)
value - The value to setpublic void setIndex(int index)
index - The index valuepublic int getIndex()
@Command(type=ACTION, description="Set a compressor\'s switch state") public void setSwitchOn(@Argument(description="Switch number") int sw, @Argument(description="Whether to turn on") boolean on) throws RefrigException
sw - The switch IDon - Whether to turn onRefrigException@Command(type=ACTION, description="Reset a compressor\'s latches") public void resetLatches()
@Command(type=ACTION, description="Set a cold compressor\'s bypass valve") public void setBypassValve(@Argument(description="Valve position") double posn) throws RefrigException
posn - The valve position (0 - 1)RefrigException@Command(type=ACTION, description="Set a cold compressor\'s coolant valve") public void setCoolantValve(@Argument(description="Valve position") double posn) throws RefrigException
posn - The valve position (0 - 1)RefrigException@Command(type=ACTION, description="Set a cold compressor\'s VFD frequency") public void setVfdFrequency(@Argument(description="Valve position") double freq) throws RefrigException
freq - The frequencyRefrigExceptionpublic boolean updateSystem()
public CompState getState()
public org.lsst.ccs.framework.ClearAlertHandler.ClearAlertCode canClearAlert(org.lsst.ccs.bus.data.Alert alert)
alert - The alertCopyright © 2020 LSST. All rights reserved.