
public class ForceSensor extends Object implements SensorPluggedOnDevice
| Modifier and Type | Field and Description |
|---|---|
protected int |
byteNumero
byte number on the gateway
|
protected String |
deviceName
name of the gateway this sensor is plugged on.
|
| Constructor and Description |
|---|
ForceSensor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getByteNumero()
return byteNumero
|
String |
getDeviceName() |
String |
getName() |
int |
getVoltage()
Returns voltage value read on force sensor in mV.
|
String |
toString() |
void |
updateValue(int newValue) |
@ConfigurationParameter protected volatile String deviceName
@ConfigurationParameter protected volatile int byteNumero
public String getName()
getName in interface SensorPluggedOnDevicepublic int getByteNumero()
getByteNumero in interface SensorPluggedOnDevicepublic String getDeviceName()
getDeviceName in interface SensorPluggedOnDevicepublic void updateValue(int newValue)
updateValue in interface SensorPluggedOnDevice@Command(type=ACTION, level=1, description="Returns force sensor analog Value. No unit.") public int getVoltage()
Copyright © 2021 LSST. All rights reserved.