jhomenet.server.hw.sensor
Class RainSensor
java.lang.Object
ValueSensor
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
-
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.