public class LongLines
extends org.lsst.ccs.framework.Module
implements org.lsst.ccs.subsystem.monitor.Monitor.AlarmHandler
| Constructor and Description |
|---|
LongLines(String name,
int tickMillis,
String configName)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
RefrigFullState |
getFullState()
Gets the full state of the refrigeration module.
|
void |
initModule()
Initializes the refrigeration subsystem.
|
void |
processAlarm(int event,
int parm)
Handles alarm events.
|
void |
saveConfiguration()
Saves the configuration data.
|
void |
setLoadTripEnable(int value)
Sets the load power trip enabled state on or off.
|
void |
setMainPowerEnable(int value)
Sets the main power enabled state on or off.
|
void |
setTickMillis(int value)
Sets the tick period.
|
void |
tick()
Performs periodic trending data broadcast.
|
alias, change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getContext, getDictionary, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, interrupt, interrupt, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, percolateSignal, processUpdate, publishData, publishData, publishData, publishData, publishData, publishData, publishData, register, removeLogPanicState, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setHandlerLevel, setLogLevel, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, shutdownCommand, shutdownNow, signal, start, startTicking, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic void initModule()
initModule in class org.lsst.ccs.framework.Modulepublic void tick()
tick in class org.lsst.ccs.framework.Module@Command(type=ACTION,
description="Sets the tick interval")
public void setTickMillis(int value)
setTickMillis in class org.lsst.ccs.framework.Modulevalue - The tick period (milliseconds) to set.public void processAlarm(int event,
int parm)
processAlarm in interface org.lsst.ccs.subsystem.monitor.Monitor.AlarmHandler@Command(type=ACTION,
description="Sets the main power enabled state")
public void setMainPowerEnable(int value)
value - The enabled state value to set: 0 = off, ~0 = on.publish - If true, publish the new state on the status bus.@Command(type=ACTION,
description="Sets the load power trip enabled state")
public void setLoadTripEnable(int value)
value - The load trip enabled state value to set: 0 = off;
~0 = on.@Command(type=ACTION,
description="Saves the current configuration")
public void saveConfiguration()
throws IOException
IOException@Command(type=QUERY,
description="Gets the full refrigeration state")
public RefrigFullState getFullState()
Copyright © 2014 LSST. All Rights Reserved.