|
||||||||||
| 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.NumericSensor
org.lsst.ccs.subsystems.fcs.simulation.SimuNumericSensor
public class SimuNumericSensor
This class is used in the single filter test to simulate the rail sensors of the autochanger and the filter presence sensor on the lachtes. The simulated rail sensors listen to the motors and update their digitalValue when the motor are set on or off (cf SimuActuatorModule)
| 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.NumericSensor |
|---|
digitalValue |
| Fields inherited from class org.lsst.ccs.framework.Module |
|---|
configMethods, log, name, nObserverThreads, registry, tickMillis |
| Constructor Summary | |
|---|---|
SimuNumericSensor()
|
|
| Method Summary | |
|---|---|
Filter |
getDummyFilter()
|
void |
initModule()
|
void |
processUpdate(Observable source,
org.lsst.ccs.framework.Module.ValueUpdate v)
What to do when a Module we observe updates its digitalValue : we set a new digitalValue in the simulated sensor. |
int |
readNewValue()
|
void |
setDummyFilter(Filter dummyFilter)
|
void |
updateValue(String hexaValueReadOnDevice)
update the digitalValue of this object with the |
| Methods inherited from class org.lsst.ccs.subsystems.fcs.NumericSensor |
|---|
getDigitalValue, setDigitalValue |
| 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, 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, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimuNumericSensor()
| Method Detail |
|---|
public Filter getDummyFilter()
public void setDummyFilter(Filter dummyFilter)
public void initModule()
initModule in class NumericSensorpublic int readNewValue()
public void processUpdate(Observable source,
org.lsst.ccs.framework.Module.ValueUpdate v)
processUpdate in class org.lsst.ccs.framework.Modulepublic void updateValue(String hexaValueReadOnDevice)
NumericSensor
updateValue in class NumericSensor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||