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

Thermal Class Reference

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

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

List of all members.

Public Member Functions

 Thermal ()
 Creates an object for the device.
 Thermal (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 a temperature in degrees Celsius.

Detailed Description

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


Constructor & Destructor Documentation

Thermal ( DSPortAdapter  adapter,
String  netAddress 
)

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

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

Member Function Documentation

String readSensor ( ) throws OneWireException

The readSensor method returns a temperature in degrees Celsius.

Parameters:
.
Returns:
String temperature in degrees Celsius

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