
public class SimuPlutoGateway extends PlutoGatewayModule implements org.lsst.ccs.framework.HasLifecycle
hexaValues, lock, updatingValues, valueUpdatedbooted, errorHistory, errorRegister, inError, initialized, name, nodeID, serialNB, tcpProxyalertSeparater| Constructor and Description |
|---|
SimuPlutoGateway(int nodeID,
String serialNB)
Build a new SimuPlutoGateway with a CANopen node ID and a serial number.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
readHexaValuesFromPDO()
Return new simulated hexavalues returned by PDO.
|
int[] |
readNewHexaValues()
returns simulated values for the gateway.
|
void |
replaceHexaValues(DigitalSensor sensor,
boolean on)
Replace hevaValues in order to force simulated sensor to be on or off depending on the
argument on given as argument.
|
createStatusDataPublishedByPlutoGatewayModule, getHexaValues, getIntValues, publishData, toString, updateValuesconfigAsHeartbeatConsumer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayErrorHistory, displayErrorRegister, getErrorHistory, getErrorRegister, getName, getNodeID, getSerialNB, getTcpProxy, initializeAndCheckHardware, isBooted, isInError, isInitialized, onEmergencyMessage, readErrorHistory, readErrorRegister, readNumberOfErrors, readSDO, readStringSerialNumber, resetError, saveParameters, setBooted, writeSDOclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinit, postInit, postShutdown, postStart, shutdownNow, startcheckBooted, checkInitialized, createStatusDataPublishedByHardware, getNodeID, getSerialNB, initializeAndCheckHardware, isBooted, isInitialized, printState, raiseAlarmIfMissing, setBootedonEmergencyMessage, onFault, onFaultResetraiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarning, raiseWarning, raiseWarning, raiseWarningpublic SimuPlutoGateway(int nodeID,
String serialNB)
nodeID - serialNB - public int[] readNewHexaValues()
readNewHexaValues in interface PlutoGatewayInterfacepublic int[] readHexaValuesFromPDO()
readHexaValuesFromPDO in interface PlutoGatewayInterfacepublic void replaceHexaValues(DigitalSensor sensor, boolean on)
sensor - to be changedon - if true, simulates that sensor is on, else simulates that sensor if off.Copyright © 2017 LSST. All rights reserved.