
public class CanOpenPlutoGateway extends PlutoGateway
| Modifier and Type | Field and Description |
|---|---|
static Logger |
LOCAL_LOG
A Logger for CommandDispenser.
|
readValues, sensorsMapbooted, dataProviderDictionaryService, errorHistory, errorRegister, inError, initialized, lastErrorCode, lastErrorName, name, nodeID, serialNB, subs, tcpProxyalertSeparator| Constructor and Description |
|---|
CanOpenPlutoGateway(int nodeID,
String serialNB)
build a new CanOpenPlutoGateway
|
| Modifier and Type | Method and Description |
|---|---|
void |
configurePlutoGateway()
Configures the gateway.
|
void |
initializeAndCheckHardware()
This methods has to be overridden if there is some initialization to do for
the device.
|
int[] |
readNewValues()
return an array of 16 values read on the device.
|
void |
writeTransmissionType(int transmissionType)
Write a transmission type in the CPU of the pluto gateway.
|
build, createStatusDataPublishedByPlutoGatewayModule, init, publishData, toString, updateValuesconfigAsHeartbeatConsumer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayError, displayErrorHistory, displayErrorRegister, doInitializePDOs, getAlertService, getErrorHistory, getErrorHistoryNB, getErrorRegister, getLastErrorCode, getLastErrorName, getName, getNodeID, getSerialNB, getSubsystem, getTcpProxy, isBooted, isInError, isInitialized, onEmergencyMessage, printSerialNumber, readErrorRegister, readNumberOfErrors, readSDO, resetError, saveParameters, setBooted, updateDeviceInfo, updateErrorHistory, updateFromPDO, writeSDO, writeTransmissionTypeToDeviceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamecheckBooted, checkId, checkInitialized, createStatusDataPublishedByHardware, doInitializePDOs, getNodeID, getSerialNB, initializePDOs, isBooted, isInitialized, printState, raiseAlarmIfMissing, raiseWarningIfMissing, setBooted, updateDeviceInfo, updateFromPDOonEmergencyMessage, onFault, onFaultResetclearAlarm, getAlertSeparator, getAlertService, getSubsystem, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarmOnlyIfNew, raiseAlertOnlyEveryTenMinutes, raiseAlertOnlyEveryTenMinutes, raiseAlertOnlyIfNew, raiseWarning, raiseWarning, raiseWarningOnlyEveryTenMinutes, raiseWarningOnlyIfNewpublic static final Logger LOCAL_LOG
public CanOpenPlutoGateway(int nodeID,
String serialNB)
nodeID - serialNB - @Command(type=ACTION, level=1, description="Initialize the Gateway.") public void initializeAndCheckHardware()
CanOpenDeviceinitializeAndCheckHardware in interface PieceOfHardwareinitializeAndCheckHardware in class CanOpenDevice@Command(type=ACTION, level=1, description="Configures this gateway for subsystem needs. If gateway\'s name contains loader it executes configureLoaderPlutoGatewayelse it executes configureAutochangerPlutoGateway.") public void configurePlutoGateway()
public void writeTransmissionType(int transmissionType)
transmissionType - FcsHardwareExceptionFailedCommandException@Command(type=QUERY, level=1, description="Return values read on the device.") public int[] readNewValues()
Copyright © 2021 LSST. All rights reserved.