1-Wire API for .NET Version 4.00
Public Member Functions

D2A Class Reference

This class provides a default object for the D2A 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

 D2A ()
 Creates an object for the device.
 D2A (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 D2A type of a tagged 1-Wire device.


Constructor & Destructor Documentation

D2A ( DSPortAdapter  adapter,
String  netAddress 
)

Creates an object for the device with the supplied address connected to the supplied port adapter.

Parameters:
adapterThe adapter serving the actuator.
netAddressThe 1-Wire network address of the actuator.

Member Function Documentation

Vector getSelections ( )

Get the possible selection states of this actuator.

Returns:
Vector of Strings representing selection states.
void initActuator ( ) throws OneWireException

Initializes the actuator.

Parameters:
InitThe initialization string.
Exceptions:
OneWireException
void setSelection ( String  selection) throws OneWireException

Set the selection of this actuator.

Parameters:
Theselection string.
Exceptions:
OneWireException

The documentation for this class was generated from the following file: