Contact Class Reference

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

List of all members.


Detailed Description

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

Public Member Functions

 Contact ()
 Creates an object for the device.
 Contact (DSPortAdapter adapter, String netAddress)
 Creates an object for the device with the supplied address and device type connected to the supplied port adapter.
String readSensor () throws OneWireException
 The readSensor method returns the "max" string if the Sensor is present or the "min" string if the Sensor is not present.

Constructor & Destructor Documentation

Contact ( DSPortAdapter  adapter,
String  netAddress 
)

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

Parameters:
adapter The adapter serving the sensor.
NetAddress The 1-Wire network address of the sensor.
netAddress 


Member Function Documentation

String readSensor (  )  throws OneWireException

The readSensor method returns the "max" string if the Sensor is present or the "min" string if the Sensor is not present.

Parameters:
. 
Returns:
The "max" string if sensor is present or "min" string if not.


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

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