public class ComplementarySensors extends Object implements BinarySensor, org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
ComplementarySensors() |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
DigitalSensor |
getSensor()
for simulation
|
DigitalSensor |
getSensorC()
for simulation
|
boolean |
isInError() |
boolean |
isOn() |
public void build()
build in interface org.lsst.ccs.framework.HasLifecyclepublic DigitalSensor getSensor()
public DigitalSensor getSensorC()
@Command(type=QUERY, level=0, description="Return true if this couple of sensors are in error.") public boolean isInError()
isInError in interface BinarySensor@Command(type=QUERY, level=0, description="Return true if sensor\'s value is 1 and sensorC\'s value is 0.") public boolean isOn()
isOn in interface BinarySensorCopyright © 2023 LSST. All rights reserved.