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 |
initializeHardware()
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, getComponentDictionariesTree, getComponentTree, getContext, getEnvironment, getMainDictionary, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, percolateSignal, postStart, processUpdate, publishData, publishData, publishData, publishData, publishData, publishData, publishData, sendSignal, sendSignal, sendSignalWithTimeLimit, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamechange, getCheckedValueFromConfiguration, getChildren, getComponentByName, getDictionary, getParent, getParentObject, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, proceduralWalk, publish, publish, publish, publish, publish, publish, start, treeWalkpublic 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 initializeHardware() throws FcsHardwareException
PieceOfHardwareinitializeHardware in interface PieceOfHardwareFcsHardwareException@Command(type=QUERY,
level=1,
description="For tests purpose - raise an alarm.")
public void simulateAlarm(String alarmMsg)
Copyright © 2015 LSST. All rights reserved.