org.eclipse.soda.dk.arcom.io.device
Class ArcomIoDevice
java.lang.Object
TransportDevice
org.eclipse.soda.dk.arcom.io.device.ArcomIoDevice
- All Implemented Interfaces:
- ArcomIoDeviceService
public class ArcomIoDevice
- extends TransportDevice
- implements ArcomIoDeviceService
Arcom IO Relay 8 in 8.
The ArcomIoDevice class implements the ArcomIoDeviceService and provides the controls for the device.
The list of exported services:
- Since:
- 1.0
- Version:
- 1.2.0
- See Also:
ArcomIoDeviceService,
org.eclipse.soda.dk.device.service.DeviceService
|
Field Summary |
static java.lang.String |
CLASS_NAME
Defines the full class name. |
| Fields inherited from interface org.eclipse.soda.dk.arcom.io.device.service.ArcomIoDeviceService |
ALL_COMMANDS, ALL_MEASUREMENTS, ALL_SIGNALS, ArcomIoDevice, FACTORY_SERVICE_NAME, GET_INPUT_REQUEST_ERROR_EXTERNAL_KEY, GET_INPUT_REQUEST_EXTERNAL_KEY, GET_OUTPUT_REQUEST_ERROR_EXTERNAL_KEY, GET_OUTPUT_REQUEST_EXTERNAL_KEY, GetInputRequest, GETINPUTREQUEST_EXECUTE_EXTERNAL_KEY, GetOutputRequest, GETOUTPUTREQUEST_EXECUTE_EXTERNAL_KEY, Input, INPUT_ERROR_EXTERNAL_KEY, INPUT_EXTERNAL_KEY, INPUT_GET_EXTERNAL_KEY, INPUT_READ_EXTERNAL_KEY, INPUT_REPORT_ERROR_EXTERNAL_KEY, INPUT_REPORT_EXTERNAL_KEY, INPUT_REPORT_TRIGGER_EXTERNAL_KEY, INPUT_WRITE_EXTERNAL_KEY, InputReport, MANAGED_SERVICE_NAME, Output, OUTPUT_ERROR_EXTERNAL_KEY, OUTPUT_EXTERNAL_KEY, OUTPUT_GET_EXTERNAL_KEY, OUTPUT_READ_EXTERNAL_KEY, OUTPUT_REPORT_ERROR_EXTERNAL_KEY, OUTPUT_REPORT_EXTERNAL_KEY, OUTPUT_REPORT_TRIGGER_EXTERNAL_KEY, OUTPUT_WRITE_EXTERNAL_KEY, OutputReport, SERVICE_DESCRIPTION, SERVICE_NAME, SET_ALL_OUTPUTS_ERROR_EXTERNAL_KEY, SET_ALL_OUTPUTS_EXTERNAL_KEY, SET_PIN0_ERROR_EXTERNAL_KEY, SET_PIN0_EXTERNAL_KEY, SET_PIN1_ERROR_EXTERNAL_KEY, SET_PIN1_EXTERNAL_KEY, SET_PIN2_ERROR_EXTERNAL_KEY, SET_PIN2_EXTERNAL_KEY, SET_PIN3_ERROR_EXTERNAL_KEY, SET_PIN3_EXTERNAL_KEY, SET_PIN4_ERROR_EXTERNAL_KEY, SET_PIN4_EXTERNAL_KEY, SET_PIN5_ERROR_EXTERNAL_KEY, SET_PIN5_EXTERNAL_KEY, SET_PIN6_ERROR_EXTERNAL_KEY, SET_PIN6_EXTERNAL_KEY, SET_PIN7_ERROR_EXTERNAL_KEY, SET_PIN7_EXTERNAL_KEY, SetAllOutputs, SETALLOUTPUTS_EXECUTE_EXTERNAL_KEY, SetPin0, SETPIN0_EXECUTE_EXTERNAL_KEY, SetPin1, SETPIN1_EXECUTE_EXTERNAL_KEY, SetPin2, SETPIN2_EXECUTE_EXTERNAL_KEY, SetPin3, SETPIN3_EXECUTE_EXTERNAL_KEY, SetPin4, SETPIN4_EXECUTE_EXTERNAL_KEY, SetPin5, SETPIN5_EXECUTE_EXTERNAL_KEY, SetPin6, SETPIN6_EXECUTE_EXTERNAL_KEY, SetPin7, SETPIN7_EXECUTE_EXTERNAL_KEY |
|
Constructor Summary |
ArcomIoDevice()
Constructs a new instance of the ArcomIoDevice class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_NAME
public static final java.lang.String CLASS_NAME
- Defines the full class name.
- Since:
- 1.0
- See Also:
- Constant Field Values
ArcomIoDevice
public ArcomIoDevice()
- Constructs a new instance of the ArcomIoDevice class.
- Since:
- 1.0
getInterest
public InterestService getInterest()
- Gets the interest filter for the device.
- Returns:
- InterestService The interest filter for this device.
- Since:
- 1.0
getDefaultKey
public java.lang.String getDefaultKey()
- Gets the default key of the device.
- Returns:
- String The default key
- Since:
- 1.0
getDefaultTransport
public TransportService getDefaultTransport()
- Gets the default TransportService.
- Returns:
- TransportService The default TransportService.
- Since:
- 1.0
getControlCapacity
public int getControlCapacity()
- Gets the control capacity.
- Returns:
- The control capacity value.
- Since:
- 1.0
getMessageCapacity
public int getMessageCapacity()
- Gets the message capacity.
- Returns:
- int The message capacity.
- Since:
- 1.0
getMessageKey
public java.lang.Object getMessageKey(MessageService message)
- Gets the message key.
- Parameters:
message - The message service.
- Returns:
- Object The message key.
- Since:
- 1.0
setup
public void setup()
- Since:
- 1.2
- See Also:
org.eclipse.soda.dk.device.Container#setup()
Copyright (c) 2010 IBM. See license in Legal section.