public class CanOpenNumericSensor extends NumericSensor
| Modifier and Type | Field and Description |
|---|---|
protected int |
byteNumero
Gateway byte number where the sensor is coded.
|
digitalValue| Constructor and Description |
|---|
CanOpenNumericSensor(String dioName,
int inputNumero)
Build a new CanOpenNumericSensor.
|
CanOpenNumericSensor(String dioName,
int inputNumero,
int byteNumero)
Build a new CanOpenNumericSensor which is plugged on a plutoGateway for example.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getByteNumero() |
int |
getInputNumero()
returns the numero of input of the DIO device where this sensor is plugged on.
|
String |
toString() |
void |
updateValue(String hex)
This methods updates the digital value for this sensor.
|
void |
updateValue(String[] hexaValues)
Update the field digitalValue from the bytes read on the gateway.
|
getDigitalValue, initModulegetNObserverThreads, getObservables, getTickMillis, init, listens, processUpdate, sendSignal, sendSignalWithTimeLimit, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, postStart, printConfigurableParameters, setBulkParameter, start, submitChange, submitChanges, validateBulkChange@ConfigurationParameter(isFinal=true,
range="0..15",
description="The numero of the byte where the value of this sensor is stored in.")
protected int byteNumero
public CanOpenNumericSensor(String dioName, int inputNumero)
dioName - name of the CANopen dio device where this sensor is plugged on.inputNumero - public CanOpenNumericSensor(String dioName, int inputNumero, int byteNumero)
dioName - inputNumero - byteNumero - @Command(type=QUERY,
level=1)
public int getByteNumero()
@Command(type=QUERY,
level=1)
public int getInputNumero()
NumericSensorgetInputNumero in class NumericSensorpublic void updateValue(String hex)
updateValue in class NumericSensorhex - public void updateValue(String[] hexaValues)
updateValue in class NumericSensorhexaValues - @Command(type=QUERY,
level=1,
alias="printValue")
public String toString()
toString in class NumericSensorCopyright © 2016 LSST. All rights reserved.