|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDevice
org.eclipse.soda.dk.generic.io.device.GenericIoDevice
org.eclipse.soda.dk.generic.io.simulator.device.GenericIoSimulatorDevice
public class GenericIoSimulatorDevice
Simulation of GenericIo Device with an SWT window. The GenericIoSimulatorDevice class implements the device service and provides the controls for the device.
The list of exported services:
GenericIoSimulatorDeviceService,
See the following specification(s) for more details:
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_NAME
Defines the class name. |
| Fields inherited from class org.eclipse.soda.dk.generic.io.device.GenericIoDevice |
|---|
AI_DATA_KEY_PREFIX, analogInputCount, analogInputs, analogOutputCount, analogOutputs, AO_DATA_KEY_PREFIX, digitalInputCount, digitalInputs, digitalOutputCount, digitalOutputs |
| Fields inherited from interface org.eclipse.soda.dk.generic.io.simulator.device.service.GenericIoSimulatorDeviceService |
|---|
ALL_COMMANDS, ALL_MEASUREMENTS, ALL_SIGNALS, FACTORY_SERVICE_NAME, GenericIoSimulatorDevice, MANAGED_SERVICE_NAME, SERVICE_DESCRIPTION, SERVICE_NAME |
| Constructor Summary | |
|---|---|
GenericIoSimulatorDevice()
Constructs a new instance of the GenericIoSimulatorDevice class. |
|
| Method Summary | |
|---|---|
void |
activate()
Activate. |
void |
deactivate()
Deactivate. |
protected java.util.Map |
getAnalogInputValue()
Gets the analog input value (Map) value. |
java.lang.String |
getDefaultKey()
Gets the default key of the device. |
TransportService |
getDefaultTransport()
Gets the default TransportService. |
protected long |
getDigitalInputState()
Gets the digital input state (long) value. |
protected void |
setAnalogInputValue(java.util.Map inputValue)
Sets the analog input value value. |
protected void |
setAnalogOutputValue(java.util.Map outputValue)
Sets the analog output value value. |
protected void |
setDigitalInputState(long inputState)
Sets the digital input state value. |
protected void |
setDigitalOutputState(long l)
Sets the digital output state value. |
void |
setupCustom()
Setup custom. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
| Constructor Detail |
|---|
public GenericIoSimulatorDevice()
| Method Detail |
|---|
public void activate()
public void deactivate()
protected java.util.Map getAnalogInputValue()
getAnalogInputValue in class GenericIoDeviceMap) value.setAnalogInputValue(Map)public java.lang.String getDefaultKey()
getDefaultKey in class GenericIoDevicepublic TransportService getDefaultTransport()
getDefaultTransport in class GenericIoDeviceprotected long getDigitalInputState()
getDigitalInputState in class GenericIoDevicelong) value.setDigitalInputState(long)protected void setAnalogInputValue(java.util.Map inputValue)
inputValue - The input value (Map) parameter.getAnalogInputValue()protected void setAnalogOutputValue(java.util.Map outputValue)
setAnalogOutputValue in class GenericIoDeviceoutputValue - The output value (Map) parameter.protected void setDigitalInputState(long inputState)
inputState - The input state (long) parameter.getDigitalInputState()protected void setDigitalOutputState(long l)
setDigitalOutputState in class GenericIoDevicel - The l (long) parameter.public void setupCustom()
|
2008-02-07 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||