public class DemoSubsystemWithMonitoring extends DemoSubsystem implements org.lsst.ccs.monitor.Monitor.AlarmHandler, org.lsst.ccs.ServiceLifecycle
DemoSubsystem.AState, DemoSubsystem.DemoState, DemoSubsystem.OtherStatedataPublisher, periodicTaskService, plotPublisher, subsys| Constructor and Description |
|---|
DemoSubsystemWithMonitoring() |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
void |
preStart() |
boolean |
processAlarm(int event,
int parm,
String cause,
String alarmName) |
void |
resetAllLimitHi() |
void |
setLimitHi(int nchans,
boolean shuffle,
double limitHi,
double dbandHi) |
getSampleArrayData, getSampleData, postInit, postStart, publishPlot, raiseCustomAlert, runTracerTest, setSampleDataSize, testAck, testTimeout, throwAnException, updateLimits, updateStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanClearAlert, getAlarmById, setAlarmspublic boolean processAlarm(int event,
int parm,
String cause,
String alarmName)
processAlarm in interface org.lsst.ccs.monitor.Monitor.AlarmHandlerpublic void build()
build in interface org.lsst.ccs.framework.HasLifecyclebuild in class DemoSubsystem@Command(description="Modify the hi limit parameters for an nchan number of channels, randomly picked if shuffle is set to true")
public void setLimitHi(int nchans,
boolean shuffle,
double limitHi,
double dbandHi)
@Command(description="Reset limit hi for all channels to a value that will not trigger warning or alarms") public void resetAllLimitHi()
public void preStart()
preStart in interface org.lsst.ccs.ServiceLifecycleCopyright © 2019 LSST. All rights reserved.