
public abstract class Sensor14bits extends Object implements Sensor, SensorPluggedOnTTC580
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected int |
value |
| Constructor and Description |
|---|
Sensor14bits() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of this component
|
int |
getValue()
This method returns value if the sensor is not updating otherwise it waits
until the update is completed and returns the new read value from the
hardware.
|
String |
printValue() |
String |
toString() |
void |
updateValue()
This method updates the sensor value : first it reads a new value from the
hardware or from the simulated sensor, then it checks if the value is in the
range between minimal value and maximal value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadNewValuegetDeviceName, updateValue@LookupName protected String name
protected int value
public int getValue()
getValue in interface SensorgetValue in interface SensorPluggedOnTTC580public String getName()
getName in interface SensorPluggedOnTTC580public void updateValue()
updateValue in interface SensorSensorValueOutOfRangeException@Command(type=QUERY, level=1, description="Returns the value of the sensor stored in FCS memory. Doesn\'t read again the ADC device.") public String printValue()
Copyright © 2022 LSST. All rights reserved.