public final class AirwatchMain
extends org.lsst.ccs.Subsystem
implements org.lsst.ccs.framework.ClearAlertHandler, org.lsst.ccs.framework.HasLifecycle, org.lsst.ccs.framework.SignalHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
DEW_POINT_KEY |
static String |
N_DEW_HUMIDS_KEY |
static String |
N_DEW_TEMPS_KEY |
| Constructor and Description |
|---|
AirwatchMain()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
disable(String locName)
Suppresses data check alerts for a given location.
|
String |
enable(String locName)
Enables data check alerts for a location.
|
void |
init()
Checks whether all the subsystem components have been constructed.
|
String |
locations()
Gives the status of each of the locations.
|
void |
postStart() |
org.lsst.ccs.framework.TreeWalkerDiag |
signal(org.lsst.ccs.framework.Signal sig)
Signal handler for stop and abort.
|
getLogHandler, getNumberCommandThreads, ping, printRunningCommands, setLogFormat, setLogHandlerLevel, setLogLevel, setStackTraceDepthbroadcastStatus, checkAllHardwareStopped, createHelper, executeCommandRequest, getAgentInfo, getAgentPersistenceService, getAgentService, getAgentServices, getCCSVersions, getCommandCount, getComponentConfigurationEnvironment, getComponentConfigurationEnvironmentByName, getComponentLookup, getCurrentAction, getDescription, getDistributionInfo, getEnvironmentLockService, getEnvironmentMessagingAccess, getLogger, getMessagingAccess, getName, getScheduler, getStatusBroadcastPeriod, helper, initAgent, internalCheckHardware, isConnectedToTheBuses, isInEngineeringMode, populateComponentLookup, preBuild, printComponentNodeTree, publishSubsystemDataOnStatusBus, sendAck, sendNack, sendStatusMessage, setAgentName, shutdownAgent, startAgent, vetoTransitionToNormalModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String N_DEW_TEMPS_KEY
public static final String N_DEW_HUMIDS_KEY
public static final String DEW_POINT_KEY
@Command(type=QUERY,
description="Displays a short report on location status.",
level=0)
public String locations()
@Command(type=ACTION,
description="Suppresses data check alerts for a location. Use if the sensor is broken.",
level=1,
timeout=120100)
public String disable(@Argument(description="The location name. Case is ignored.")
String locName)
throws Exception
locName - the name of a location. Case is ignored.IllegalArgumentException - if locName is invalid.Exception@Command(type=ACTION,
description="Enables data check alerts for a location.",
level=1,
timeout=120100)
public String enable(@Argument(description="The location name. Case is ignored.")
String locName)
throws Exception
locName - the name of a location. Case is ignored.IllegalArgumentException - if locName is invalid.Exceptionpublic org.lsst.ccs.framework.TreeWalkerDiag signal(org.lsst.ccs.framework.Signal sig)
signal in interface org.lsst.ccs.framework.SignalHandlersig - The signal.public void init()
init in interface org.lsst.ccs.framework.HasLifecycleError - if anything is missing.public void postStart()
postStart in interface org.lsst.ccs.framework.HasLifecycleCopyright © 2021 LSST. All rights reserved.