jhomenet.server.hw.sensor
Class RainSensor

java.lang.Object
  extended by ValueSensor
      extended by jhomenet.server.hw.sensor.RainSensor

public class RainSensor
extends ValueSensor

TODO: Class description.

Id: $Id: $

Author:
Dave Irwin (jhomenet at gmail dot com)

Constructor Summary
RainSensor(java.lang.String hardwareAddr, java.lang.String hardwareSetupDescription)
           
RainSensor(ValueSensor sensor)
           
 
Method Summary
 HomenetHardware copy()
           
protected  void initAvailableUnits(java.util.Set<Unit> availableUnits)
           
 HardwareValueData readFromSensor(int channel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RainSensor

public RainSensor(java.lang.String hardwareAddr,
                  java.lang.String hardwareSetupDescription)
Parameters:
hardwareAddr -
hardwareSetupDescription -
appHardwareDescription -
supportsMinMaxValues -
numChannels -
dataUnit -

RainSensor

public RainSensor(ValueSensor sensor)
Parameters:
sensor -
Method Detail

initAvailableUnits

protected void initAvailableUnits(java.util.Set<Unit> availableUnits)
See Also:
jhomenet.commons.hw.sensor.ValueSensor#initAvailableUnits(java.util.Set)

readFromSensor

public HardwareValueData readFromSensor(int channel)
                                 throws HardwareException
Throws:
HardwareException
See Also:
jhomenet.commons.hw.sensor.Sensor#readFromSensor(int)

copy

public HomenetHardware copy()
See Also:
jhomenet.commons.hw.HomenetHardware#copy()


Copyright © 2004-2007 David Irwin. All Rights Reserved.