
public class RefrigMain
extends org.lsst.ccs.Subsystem
implements org.lsst.ccs.framework.HasLifecycle, org.lsst.ccs.framework.ClearAlertHandler, org.lsst.ccs.services.alert.AlertListener
| Constructor and Description |
|---|
RefrigMain()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Build phase
|
org.lsst.ccs.framework.ClearAlertHandler.ClearAlertCode |
canClearAlert(org.lsst.ccs.bus.data.Alert alert,
org.lsst.ccs.bus.states.AlertState alertState)
Callback to clear an
Alert instance. |
RefrigState |
getSystemState()
Gets the state of the refrigeration module.
|
void |
onAlert(org.lsst.ccs.services.alert.AlertEvent event)
Alert event handler.
|
void |
postInit()
Initializes the refrigeration subsystem.
|
void |
postStart()
Starts the subsystem.
|
void |
setUpdatePeriod(int value)
Sets the monitor update period.
|
getLogHandler, getNumberCommandThreads, ping, printRunningCommands, setLogFormat, setLogHandlerLevel, setLogLevel, setStackTraceDepth, switchToEngineeringMode, switchToNormalModebroadcastStatus, checkAllHardwareStopped, createHelper, executeCommandRequest, getAgentInfo, getAgentPersistenceService, getAgentService, getAgentServices, getCCSVersions, getCommandCount, getComponentConfigurationEnvironment, getComponentConfigurationEnvironmentByName, getComponentLookup, getCurrentAction, getDescription, getDistributionInfo, getEnvironmentLockService, getEnvironmentMessagingAccess, getLogger, getMessagingAccess, getName, getScheduler, getStatusBroadcastPeriod, helper, internalCheckHardware, isConnectedToTheBuses, isInEngineeringMode, populateComponentLookup, preBuild, preInit, printComponentNodeTree, publishSubsystemDataOnStatusBus, sendAck, sendNack, sendStatusMessage, setAgentName, shutdownAgent, startAgentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void build()
build in interface org.lsst.ccs.framework.HasLifecyclepublic 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 RefrigState getSystemState()
@Command(type=ACTION, description="Set the tick interval") public void setUpdatePeriod(int value)
value - The period (milliseconds) to set.public org.lsst.ccs.framework.ClearAlertHandler.ClearAlertCode canClearAlert(org.lsst.ccs.bus.data.Alert alert,
org.lsst.ccs.bus.states.AlertState alertState)
Alert instance.canClearAlert in interface org.lsst.ccs.framework.ClearAlertHandleralert - The Alert instance to clear.alertState - The AlertState for the provided Alert.public void onAlert(org.lsst.ccs.services.alert.AlertEvent event)
onAlert in interface org.lsst.ccs.services.alert.AlertListenerevent - The alert eventCopyright © 2019 LSST. All rights reserved.