public abstract class PlutoGateway extends CanOpenDevice implements PlutoGatewayInterface
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
readValues |
protected Map<String,SensorPluggedOnDevice> |
sensorsMap
map of DigitalSensors attached to this gateway.
|
booted, errorHistory, errorRegister, inError, initialized, lastErrorCode, lastErrorName, name, nodeID, serialNB, subs, tcpProxyalertSeparator| Constructor and Description |
|---|
PlutoGateway(int 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.
|
void |
init() |
void |
publishData()
Publish Data on status bus for trending data base and GUIs.
|
String |
toString() |
void |
updateValues()
Read new readValues on the device plutoGateway and updates field readValues.
|
configAsHeartbeatConsumer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayError, displayErrorHistory, displayErrorRegister, doInitializePDOs, getAlertService, getErrorHistory, getErrorHistoryNB, getErrorRegister, getLastErrorCode, getLastErrorName, getName, getNodeID, getSerialNB, getSubsystem, getTcpProxy, initializeAndCheckHardware, isBooted, isInError, isInitialized, onEmergencyMessage, printSerialNumber, readErrorRegister, readNumberOfErrors, readSDO, resetError, saveParameters, setBooted, updateErrorHistory, updateFromPDO, writeSDO, writeTransmissionTypeToDeviceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, readNewValuescheckBooted, checkId, checkInitialized, createStatusDataPublishedByHardware, doInitializePDOs, getNodeID, getSerialNB, initializeAndCheckHardware, initializePDOs, isBooted, isInitialized, printState, raiseAlarmIfMissing, setBooted, updateFromPDOonEmergencyMessage, onFault, onFaultResetclearAlarm, getAlertSeparator, getAlertService, getSubsystem, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarningprotected int[] readValues
@LookupField(strategy=TREE) protected Map<String,SensorPluggedOnDevice> sensorsMap
public PlutoGateway(int nodeID,
String serialNB)
nodeID - serialNB - public void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic void updateValues()
updateValues in interface PlutoGatewayInterfaceFcsHardwareException@Command(type=QUERY,
level=1,
description="Return the string representation of PlutoGateway")
public String toString()
toString in class CanOpenDevicepublic StatusDataPublishedByPlutoGateway createStatusDataPublishedByPlutoGatewayModule()
public void publishData()
CanOpenDevicepublishData in interface PieceOfHardwarepublishData in class CanOpenDeviceCopyright © 2019 LSST. All rights reserved.