This class provides a default object for the Switch type of a tagged 1-Wire device.
More...
Inherits com::dalsemi::onewire::application::tag::TaggedDevice, and com::dalsemi::onewire::application::tag::TaggedActuator.
List of all members.
Public Member Functions |
| Switch () |
| Creates an object for the device.
|
| Switch (DSPortAdapter adapter, String netAddress) |
| Creates an object for the device with the supplied address connected to the supplied port adapter.
|
Vector | getSelections () |
| Get the possible selection states of this actuator.
|
void | setSelection (String selection) throws OneWireException |
| Set the selection of this actuator.
|
void | initActuator () throws OneWireException |
| Initializes the actuator.
|
Detailed Description
This class provides a default object for the Switch type of a tagged 1-Wire device.
Constructor & Destructor Documentation
Creates an object for the device with the supplied address connected to the supplied port adapter.
- Parameters:
-
adapter | The adapter serving the actuator. |
netAddress | The 1-Wire network address of the actuator. |
Member Function Documentation
Get the possible selection states of this actuator.
- Returns:
- Vector of Strings representing selection states.
Initializes the actuator.
- Parameters:
-
Init | The initialization string. |
- Exceptions:
-
Set the selection of this actuator.
- Parameters:
-
- Exceptions:
-
The documentation for this class was generated from the following file: