|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.lsst.ccs.framework.Module
org.lsst.ccs.subsystems.fcs.Sensor14bits
org.lsst.ccs.subsystems.fcs.simulation.SimuSensor14bits
public class SimuSensor14bits
This class is to simulate a sensor which returns a value coded on 12bits. It returns a random value between value1 and value2.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module |
|---|
org.lsst.ccs.framework.Module.ValueUpdate |
| Field Summary |
|---|
| Fields inherited from class org.lsst.ccs.subsystems.fcs.Sensor14bits |
|---|
value |
| Fields inherited from class org.lsst.ccs.framework.Module |
|---|
configMethods, log, name, nObserverThreads, registry, tickMillis |
| Constructor Summary | |
|---|---|
SimuSensor14bits()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.lsst.ccs.subsystems.fcs.Sensor14bits |
|---|
getMaxValue, getMinValue, getValue, initModule, setMinValue, setValue, toString, updateValue |
| Methods inherited from class org.lsst.ccs.framework.Module |
|---|
change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, register, register, sendToReply, sendToStatus, setBeanName, setContext, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, tick, update |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimuSensor14bits()
| Method Detail |
|---|
public int readNewValue()
Sensor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||