|
||||||||||
| 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.CompactIOModule
org.lsst.ccs.subsystems.fcs.simulation.SimuCompactIOModule
public class SimuCompactIOModule
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module |
|---|
org.lsst.ccs.framework.Module.ValueUpdate |
| Nested classes/interfaces inherited from interface org.lsst.ccs.framework.Configurable |
|---|
org.lsst.ccs.framework.Configurable.Environment |
| Field Summary |
|---|
| Fields inherited from class org.lsst.ccs.subsystems.fcs.CompactIOModule |
|---|
hexaValue |
| Fields inherited from class org.lsst.ccs.framework.Module |
|---|
environment, log, name, nObserverThreads, registry, tickMillis |
| Constructor Summary | |
|---|---|
SimuCompactIOModule()
|
|
| Method Summary | |
|---|---|
String |
getInitialHexaValue()
|
void |
initModule()
|
String |
readNewHexaValue()
|
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. |
void |
replaceDigitalValues(int channel1,
String digitalValue1,
int channel2,
String digitalValue2)
This method replace the values of 2 channels in hexaValue with the digital values given as argument. |
void |
setHexaValue(String hex)
|
void |
setInitialHexaValue(String initialHexaValue)
|
void |
simulateFilterPresenceInLatches(String aDigitalValue)
This method updates the 2 filter presence simulated digital sensors (one on each side of the filter). |
| Methods inherited from class org.lsst.ccs.subsystems.fcs.CompactIOModule |
|---|
BinaryToHex, getHexaValue, getValue, HexToBinary, updateValue |
| Methods inherited from class org.lsst.ccs.framework.Module |
|---|
change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, register, register, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, 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 SimuCompactIOModule()
| Method Detail |
|---|
public String getInitialHexaValue()
public void setInitialHexaValue(String initialHexaValue)
public void setHexaValue(String hex)
public void initModule()
initModule in class CompactIOModulepublic String readNewHexaValue()
readNewHexaValue in class CompactIOModulepublic int readNewValue()
Sensor
public void simulateFilterPresenceInLatches(String aDigitalValue)
digitalValue - has to be "0" or "1"
public void replaceDigitalValues(int channel1,
String digitalValue1,
int channel2,
String digitalValue2)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||