public class SWEVirtualSensorControl extends AbstractSensorControl<SWEVirtualSensor>
ERROR_NO_ASYNC, ERROR_NO_SCHED, ERROR_NO_STATUS_HISTORY, eventHandler, parentSensor
Constructor and Description |
---|
SWEVirtualSensorControl(SWEVirtualSensor parentSensor,
DataComponent cmdDescription) |
SWEVirtualSensorControl(SWEVirtualSensor parentSensor,
DataComponent cmdDescription,
int choiceIndex) |
Modifier and Type | Method and Description |
---|---|
CommandStatus |
execCommand(DataBlock command)
Executes the command synchronously, blocking until completion of command
|
DataComponent |
getCommandDescription()
Retrieves description of command message
Note that this can be a choice of multiple messages
|
String |
getName()
Gets the interface name.
|
cancelCommand, execCommandGroup, getCommandStatus, getCommandStatusHistory, getParentSensor, isAsyncExecSupported, isEnabled, isSchedulingSupported, isStatusHistorySupported, registerListener, scheduleCommand, scheduleCommandGroup, sendCommand, sendCommandGroup, unregisterListener
public SWEVirtualSensorControl(SWEVirtualSensor parentSensor, DataComponent cmdDescription)
public SWEVirtualSensorControl(SWEVirtualSensor parentSensor, DataComponent cmdDescription, int choiceIndex)
public String getName()
ISensorControlInterface
ISensorModule.getCommandInputs()
public DataComponent getCommandDescription()
ISensorControlInterface
public CommandStatus execCommand(DataBlock command) throws SensorException
ISensorControlInterface
command
- command message dataSensorException
Copyright © 2016 Sensia Software LLC. All rights reserved.