public class SensorDeviceOperator extends DeviceOperator
Modifier and Type | Field and Description |
---|---|
int |
currentValue |
boolean |
isRatiometric |
int |
itsDataRate |
java.util.ArrayList<java.lang.Integer> |
itsValues |
int |
kWindowSize |
int |
lastValue |
itsDeviceInterface, itsDevicePosCounter
Constructor and Description |
---|
SensorDeviceOperator(int channel)
standard constructor for the DeviceController class
|
SensorDeviceOperator(int channel,
int windowSize)
standard constructor for the DeviceController class
|
Modifier and Type | Method and Description |
---|---|
float |
getSensorValue() |
void |
setTriggerProc(TriggerProc theProc)
sets the Graph Panel for the interface
|
java.lang.String |
toString()
report the class as a string
|
confirmInterface, getDataChannelDescriptor, getItsDeviceTypeStr, getTriggerProc, isControlDeviceOperator, isSensorDeviceOperator, list, reportDeviceStatus, setDataChannelDescriptor, setItsDeviceTypeStr
public int currentValue
public int lastValue
public int kWindowSize
public java.util.ArrayList<java.lang.Integer> itsValues
public boolean isRatiometric
public int itsDataRate
public SensorDeviceOperator(int channel, int windowSize)
public SensorDeviceOperator(int channel)
public float getSensorValue() throws java.lang.Exception
java.lang.Exception
public void setTriggerProc(TriggerProc theProc)
setTriggerProc
in class DeviceOperator
theProc
- the trigger procedure to usepublic java.lang.String toString()
DeviceOperator
toString
in class DeviceOperator
RH, 2017