Switch Class Reference

Inherits com::dalsemi::onewire::application::tag::TaggedDevice, and com::dalsemi::onewire::application::tag::TaggedActuator.

List of all members.


Detailed Description

This class provides a default object for the Switch type of a tagged 1-Wire device.

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.

Constructor & Destructor Documentation

Switch ( DSPortAdapter  adapter,
String  netAddress 
)

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

Vector getSelections (  ) 

Get the possible selection states of this actuator.

Returns:
Vector of Strings representing selection states.

void setSelection ( String  selection  )  throws OneWireException

Set the selection of this actuator.

Parameters:
The selection string.
Exceptions:
OneWireException 

void initActuator (  )  throws OneWireException

Initializes the actuator.

Parameters:
Init The initialization string.
Exceptions:
OneWireException 


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

Generated on Thu Aug 28 15:42:32 2008 for 1-Wire API for .NET by  doxygen 1.5.6