public class CanOpenPlutoGateway extends PlutoGatewayModule implements PieceOfHardware
analogValue, 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 |
initializeAndCheckHardware()
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, updateValuesgetComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, 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, waitgetNamechange, getCheckedValueFromConfiguration, getChildren, getComponentByName, getFullPath, getParent, getParentObject, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, setBulkParameter, start, submitChange, submitChanges, validateBulkChangepublic 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 PieceOfHardware@Command(type=ACTION,
level=1,
description="Initialize the Gateway.")
public String initializeAndCheckHardware()
throws FcsHardwareException
PieceOfHardwareinitializeAndCheckHardware 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.messaging.ErrorInCommandExecutionException,
FcsHardwareException
SDORequestExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionFcsHardwareExceptionpublic String writeTransmissionType(String transmissionType) throws SDORequestException, org.lsst.ccs.messaging.ErrorInCommandExecutionException, org.lsst.ccs.messaging.BadCommandException, FcsHardwareException
SDORequestExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionorg.lsst.ccs.messaging.BadCommandExceptionFcsHardwareExceptionpublic String[] readNewHexaValues() throws FcsHardwareException
readNewHexaValues in interface PlutoGatewayInterfaceFcsHardwareExceptionpublic int readNewAnalogValue()
throws FcsHardwareException
readNewAnalogValue in interface PlutoGatewayInterfaceFcsHardwareExceptionpublic String toString()
toString in class PlutoGatewayModuleCopyright © 2016 LSST. All rights reserved.