
public abstract class PlutoGatewayModule extends CanOpenDevice implements PlutoGatewayInterface
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
hexaValues |
protected int[] |
intValues |
protected Lock |
lock |
protected boolean |
updatingValues |
protected Condition |
valueUpdated |
errorHistory, errorRegister, inError, initialized, nodeID, serialNB, tcpProxy| Constructor and Description |
|---|
PlutoGatewayModule(String nodeID,
String serialNB)
Build a new PlutoGatewayModule.
|
| Modifier and Type | Method and Description |
|---|---|
StatusDataPublishedByPlutoGateway |
createStatusDataPublishedByPlutoGatewayModule()
Create an object with status data to be published on the status bus.
|
String[] |
getHexaValues() |
int[] |
getIntValues()
return
|
void |
publishData()
Publish Data on status bus for trending data base and GUIs.
|
String |
toString() |
void |
updateValues()
Read new values on the device plutoGateway and updates field values.
|
configAsHeartbeatConsumer, configAsHeartbeatProducer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayErrorHistory, displayErrorRegister, getErrorHistory, getErrorRegister, getNodeID, getSerialNB, getTcpProxy, initializeAndCheckHardware, initModule, isBooted, isInError, isInitialized, processUpdate, readErrorHistory, readErrorHistoryNames, readErrorRegister, readNumberOfErrors, readSDO, resetError, saveParameters, writeSDOgetNObserverThreads, getObservables, getTickMillis, init, listens, sendSignal, sendSignalWithTimeLimit, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadHexaValuesFromPDO, readNewHexaValuescheckBooted, checkInitialized, createStatusDataPublishedByHardware, getNodeID, getSerialNB, initializeAndCheckHardware, isBooted, isInitialized, printStategetComponentConfigurationEnvironment, getComponentLookup, getName, getSubsystemraiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarning, raiseWarning, raiseWarningchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, postStart, printConfigurableParameters, setBulkParameter, start, submitChange, submitChanges, validateBulkChangeprotected String[] hexaValues
protected int[] intValues
protected volatile boolean updatingValues
protected final Lock lock
protected final Condition valueUpdated
public int[] getIntValues()
public String[] getHexaValues()
getHexaValues in interface PlutoGatewayInterfacepublic void updateValues()
updateValues in interface PlutoGatewayInterfaceFcsHardwareException@Command(type=QUERY, level=1) public String toString()
toString in class CanOpenDevicepublic StatusDataPublishedByPlutoGateway createStatusDataPublishedByPlutoGatewayModule()
public void publishData()
CanOpenDevicepublishData in interface PieceOfHardwarepublishData in class CanOpenDeviceCopyright © 2017 LSST. All rights reserved.