public class SimuSensor14bits extends Sensor14bits
maxValue, minValue, value| Constructor and Description |
|---|
SimuSensor14bits(String moduleName,
int aTickMillis,
int aValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
readNewValue()
This method reads the current value in decimal measured by the hardware
or compute a random value for the simulated sensor, and returns this
current value.
|
int |
updateValue(CanOpenProxy.PDOStorage pdoStorage)
We don't need this as the simulated software doesn't read sensors from PDO
|
getValue, initModule, setValue, toString, updateValuealias, change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, publishData, publishData, publishData, register, removeLogPanicState, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setHandlerLevel, setLogLevel, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic SimuSensor14bits(String moduleName, int aTickMillis, int aValue)
public int readNewValue()
Sensorpublic int updateValue(CanOpenProxy.PDOStorage pdoStorage)
updateValue in class Sensor14bitspdoStorage - Copyright © 2013 LSST. All Rights Reserved.