public class CanOpenPlutoGateway extends PlutoGatewayModule implements PieceOfHardware
analogValue, fcslog, hexaValues, lock, updatingValues, valueUpdated| Constructor and Description |
|---|
CanOpenPlutoGateway(String string,
int i,
String nodeID,
String serialNB,
String station_addr) |
| Modifier and Type | Method and Description |
|---|---|
String |
configurePlutoForThreeBlocs()
Assuming Pluto has 3 fonctions Gateway_to_User_C
First one => Fonction_ID=01
Second one => Fonction_ID=02
Third one => Fonction_ID=03
|
String |
getNodeID() |
String |
getSerialNB() |
String |
getStation_addr() |
String |
initializeHardware()
This methods write some configuration data on the hardware CPU.
|
void |
initModule() |
boolean |
isBooted() |
boolean |
isInitialized() |
int |
readNewAnalogValue() |
String[] |
readNewHexaValues() |
void |
setBooted(boolean aBoolean) |
String |
toString() |
String |
writeTransmissionType(String transmissionType) |
getAnalogValue, getHexaValues, 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 String getStation_addr()
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 PieceOfHardwareFcsHardwareExceptionpublic void initModule()
initModule in class PlutoGatewayModule@Command(type=ACTION,
level=1,
description="Configure this gateway to receive 3 data blocs from Pluto.")
public String configurePlutoForThreeBlocs()
throws SDORequestException,
org.lsst.ccs.bus.ErrorInCommandExecutionException
SDORequestExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionpublic String writeTransmissionType(String transmissionType) throws SDORequestException, org.lsst.ccs.bus.ErrorInCommandExecutionException, org.lsst.ccs.bus.BadCommandException
SDORequestExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionorg.lsst.ccs.bus.BadCommandExceptionpublic String[] readNewHexaValues() throws FcsHardwareException
readNewHexaValues in interface PlutoGatewayInterfaceFcsHardwareExceptionpublic int readNewAnalogValue()
throws FcsHardwareException
readNewAnalogValue in interface PlutoGatewayInterfaceFcsHardwareExceptionpublic String toString()
toString in class PlutoGatewayModuleCopyright © 2015 LSST. All rights reserved.