| Constructor and Description |
|---|
RestfulLocation(Map<String,Object> locData,
Set<String> enabled)
Constructs a new instance from parsed JSON data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkData(org.lsst.ccs.services.alert.AlertService alertSvc)
Checks sensor data for problems and posts any required alerts (if alerts are enabled).
|
Location |
disable()
Produces a new instance that has data-checking alerts disabled.
|
Location |
enable()
Produces a new instance that has data-checking alerts enabled.
|
Map<String,DataPoint> |
getDataPoints()
Contains the data points resulting from the last reading of the instrument.
|
LocationStatus |
getStatus()
Gets the current status of the instrument.
|
void |
publishGoodData(org.lsst.ccs.Subsystem subsys)
Publish good data on the CCS status bus.
|
public final LocationStatus getStatus()
public final Map<String,DataPoint> getDataPoints()
getDataPoints in interface Locationpublic final Location disable()
public final Location enable()
public final void checkData(org.lsst.ccs.services.alert.AlertService alertSvc)
public final void publishGoodData(org.lsst.ccs.Subsystem subsys)
publishGoodData in interface Locationsubsys - the CCS subsystem.Copyright © 2021 LSST. All rights reserved.