|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Observable
org.lsst.ccs.framework.Module
org.lsst.ccs.subsystem.refrig.RefrigTest
public abstract class RefrigTest
Implements the refrigeration long lines test modular subsystem
This is an abstract class implementing the interactions with the CCS buses, but deferring the hardware interaction, real or simulated, to sub-classes.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module |
|---|
org.lsst.ccs.framework.Module.ValueUpdate |
| Field Summary |
|---|
| Fields inherited from class org.lsst.ccs.framework.Module |
|---|
log, name, nObserverThreads, registry, tickMillis |
| Constructor Summary | |
|---|---|
RefrigTest()
|
|
| Method Summary | |
|---|---|
RefrigFullState |
getFullState()
Gets the full state of the refrigeration module |
int |
getState()
Gets the operating state word |
void |
initModule()
Initializes the refrigeration subsystem |
void |
publishLimits()
Publishes all the limit values of the refrigeration module |
void |
publishState()
Publishes the state of the refrigeration module |
void |
saveConfiguration()
Saves the configuration data |
void |
setConfigFile(String name)
Sets the dynamic configuration file name |
void |
setHighLimit(int id,
double limit)
Sets the high limit for a channel |
void |
setLoadTripEnable(int value)
Sets the load trip enabled state on or off |
void |
setLowLimit(int id,
double limit)
Sets the low limit for a channel |
void |
setPowerEnable(int value)
Sets the power enabled state on or off |
void |
setStructFile(String name)
Sets the structural configuration file name |
void |
setTickMillis(int value)
Sets the tick period |
void |
tick()
Performs periodic sensor readout |
| Methods inherited from class org.lsst.ccs.framework.Module |
|---|
getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, processUpdate, publishData, publishData, publishData, publishData, sendToReply, sendToStatus, setBeanName, setContext, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, shutdownNow, start, update |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RefrigTest()
| Method Detail |
|---|
public void initModule()
initModule in class org.lsst.ccs.framework.Modulepublic void tick()
tick in class org.lsst.ccs.framework.Modulepublic void setStructFile(String name)
name - The name of the structural configuration filepublic void setConfigFile(String name)
name - The name of the dynamic configuration filepublic void setTickMillis(int value)
Overrides the method in Module in order to publish a status update.
setTickMillis in class org.lsst.ccs.framework.Modulevalue - The tick period (milliseconds) to set.public void setPowerEnable(int value)
value - The enabled state value to set: 0 = off, ~0 = on.public void setLoadTripEnable(int value)
value - The load trip enabled state value to set: 0 = off;
~0 = on.public int getState()
public void setLowLimit(int id,
double limit)
id - The channel IDlimit - The low limit value.
public void setHighLimit(int id,
double limit)
id - The channel IDlimit - The high limit value.public void saveConfiguration()
public RefrigFullState getFullState()
This is intended to be called by GUIs during initialization
public void publishState()
This is intended to be called whenever any element of the state is changed.
public void publishLimits()
This is intended to be called at startup time.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||