
public class CarouselSensor extends Object implements SensorPluggedOnTTC580
| Modifier and Type | Field and Description |
|---|---|
protected String |
deviceName
name of the CAN OPEN device this sensor is plugged on.
|
| Constructor and Description |
|---|
CarouselSensor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDeviceName() |
String |
getName() |
int |
getValue() |
void |
updateValue(int newValue)
update value from value read on device
|
@ConfigurationParameter protected String deviceName
public String getName()
getName in interface SensorPluggedOnTTC580public String getDeviceName()
getDeviceName in interface SensorPluggedOnTTC580@Command(type=QUERY, level=0, description="Return sensor value in mV") public int getValue()
getValue in interface SensorPluggedOnTTC580public void updateValue(int newValue)
updateValue in interface SensorPluggedOnTTC580newValue - Copyright © 2019 LSST. All rights reserved.