public class Alerts extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.lsst.ccs.bus.data.Alert |
dataQualityAlert(String location,
String channelName)
Creates an alert about a sensor malfunction or questionable data quality.
|
static org.lsst.ccs.bus.data.Alert |
limitViolationAlert(String location,
String channelName)
Creates an alert about an a sensor reading that's outside of the desired range.
|
static org.lsst.ccs.bus.data.Alert |
sensorIOAlert()
Creates an alert about a failure to read sensor data.
|
public static org.lsst.ccs.bus.data.Alert sensorIOAlert()
SensorIO.public static org.lsst.ccs.bus.data.Alert limitViolationAlert(String location, String channelName)
location - The location of the instrument, e.g., ENTRY, MAIN_SE.channelName - Which quantity has gone out of range, e.g., 0.3, Humidity.format("LimitViolation-%s-%s", location, channelName).public static org.lsst.ccs.bus.data.Alert dataQualityAlert(String location, String channelName)
location - The short location name of the instrument, e.g., AUX, MAIN_SE.channelName - The name of the channel that had the failure.format("DataQuality-%s-%s", location, channelName).Copyright © 2021 LSST. All rights reserved.