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() |
FcsEnumerations.LockStatus |
getForceStatus()
Deprecated.
|
int |
getMaxRangeValue()
Deprecated.
|
int |
getMinRangeValue()
Deprecated.
|
String |
getName() |
int |
getUnderLoadLimit()
Deprecated.
|
int |
getVoltage()
Returns voltage value read on force sensor in mV.
|
String |
toString() |
void |
updateValue(int newValue) |
@ConfigurationParameter protected String deviceName
@ConfigurationParameter protected int byteNumero
public String getName()
getName in interface SensorPluggedOnDevicepublic int getByteNumero()
getByteNumero in interface SensorPluggedOnDevicepublic String getDeviceName()
getDeviceName in interface SensorPluggedOnDevice@Deprecated public int getMinRangeValue()
@Deprecated public int getMaxRangeValue()
@Deprecated public int getUnderLoadLimit()
public void updateValue(int newValue)
updateValue in interface SensorPluggedOnDevice@Command(type=ACTION,
level=1,
description="Returns force sensor analog Value. Unit= mV")
public int getVoltage()
@Deprecated public FcsEnumerations.LockStatus getForceStatus()
Copyright © 2019 LSST. All rights reserved.