
public class SimuPlutoGateway extends PlutoGatewayModule implements PieceOfHardware
analogValue, fcslog, hexaValues, lock, updatingValues, valueUpdated| Constructor and Description |
|---|
SimuPlutoGateway(String name,
int tickMillis,
String nodeID,
String serialNB) |
| Modifier and Type | Method and Description |
|---|---|
String |
getNodeID() |
String |
getSerialNB() |
String |
initializeAndCheckHardware()
This methods write some configuration data on the hardware CPU.
|
void |
initModule() |
boolean |
isBooted() |
boolean |
isInitialized() |
int |
readNewAnalogValue() |
String[] |
readNewHexaValues() |
void |
replaceDigitalValues(SimuPlutoGWSensor sensor,
String digitalValue)
Set the digital value for a sensor.
|
void |
setBooted(boolean aBoolean) |
void |
simulateAlarm(String alarmMsg) |
getAnalogValue, getHexaValues, toString, updateAnalogValue, updateValuesalias, getComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, percolateSignal, postStart, processUpdate, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamepublic void initModule()
initModule in class PlutoGatewayModulepublic int readNewAnalogValue()
throws FcsHardwareException
readNewAnalogValue in interface PlutoGatewayInterfaceFcsHardwareExceptionpublic String[] readNewHexaValues()
readNewHexaValues in interface PlutoGatewayInterfacepublic void replaceDigitalValues(SimuPlutoGWSensor sensor, String digitalValue)
sensor - digitalValue - public String getSerialNB()
getSerialNB in interface PieceOfHardwarepublic String getNodeID()
getNodeID in interface PieceOfHardwarepublic boolean isBooted()
isBooted in interface PieceOfHardwarepublic void setBooted(boolean aBoolean)
setBooted in interface PieceOfHardwarepublic boolean isInitialized()
isInitialized in interface PieceOfHardwarepublic String initializeAndCheckHardware() throws FcsHardwareException
PieceOfHardwareinitializeAndCheckHardware in interface PieceOfHardwareFcsHardwareExceptionCopyright © 2015 LSST. All rights reserved.