
public class Compressor0 extends Object implements org.lsst.ccs.framework.HasLifecycle, org.lsst.ccs.monitor.Monitor.AlarmHandler
| Constructor and Description |
|---|
Compressor0() |
| Modifier and Type | Method and Description |
|---|---|
RefrigState1 |
getSystemState()
Gets the state of the refrigeration module.
|
void |
postInit()
Initializes the refrigeration subsystem.
|
void |
postStart()
Starts the subsystem.
|
boolean |
processAlarm(int event,
int parm,
String cause,
String name)
Handles alarm events.
|
void |
reset()
Resets the latches.
|
void |
setCompPowerEnable(int value)
Sets the compressor power state.
|
void |
setHeaterPowerEnable(int value)
Sets the heater power state.
|
void |
setUpdatePeriod(int value)
Sets the monitor update period.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void postInit()
postInit in interface org.lsst.ccs.framework.HasLifecyclepublic void postStart()
postStart in interface org.lsst.ccs.framework.HasLifecycle@Command(type=QUERY, description="Get the refrigeration state") public RefrigState1 getSystemState()
@Command(type=ACTION, description="Set the tick interval") public void setUpdatePeriod(int value)
value - The period (milliseconds) to set.public boolean processAlarm(int event,
int parm,
String cause,
String name)
processAlarm in interface org.lsst.ccs.monitor.Monitor.AlarmHandlerevent - The event typeparm - The event parametercause - The alarm causename - The alarm name@Command(type=ACTION, description="Set the main power enabled state") public void setCompPowerEnable(int value)
value - The enabled state value to set: 0 = off, not 0 = on.@Command(type=ACTION, description="Set the heater power enabled state") public void setHeaterPowerEnable(int value)
value - The heater power state to set: 0 = off; not 0 = on.@Command(type=ACTION, description="Reset the latches") public void reset()
Copyright © 2020 LSST. All rights reserved.