public interface Heater extends GenericDevice
Modifier and Type | Field and Description |
---|---|
static String |
HEATER_MAX_POWER_LEVEL
Service property indicating the max power level of the heater in Watts.
|
static String |
HEATER_POWER_LEVEL
Service property indicating the current power level of the heater.
|
static String |
HEATER_UPDATE_PERIOD |
DEFAULT_HEIGHT, DEFAULT_WIDTH, DEVICE_SERIAL_NUMBER, FAULT_NO, FAULT_PROPERTY_NAME, FAULT_UNKNOWN, FAULT_YES, LOCATION_PROPERTY_NAME, LOCATION_UNKNOWN, STATE_ACTIVATED, STATE_DEACTIVATED, STATE_PROPERTY_NAME, STATE_UNKNOWN
Modifier and Type | Method and Description |
---|---|
double |
getMaxPowerLevel()
Return the max power level of this heater
|
double |
getPowerLevel()
Return the current power level of this heater.
|
double |
setPowerLevel(double level)
Change the power level of this heater.
|
addListener, constainsProperty, enterInZones, getFault, getProperties, getPropertyValue, getSerialNumber, getState, hasPropertyValue, leavingZones, removeListener, removeProperty, setFault, setPropertyValue, setState
static final String HEATER_POWER_LEVEL
java.lang.Double
, between
0.0d
and 1.0d
0.0d
when the heater is
completely turned off, 1.0d
when completely turned on.static final String HEATER_MAX_POWER_LEVEL
java.lang.Double
fixed to 1000.0 Watts.
getMaxPowerLevel()
,
Constant Field Valuesstatic final String HEATER_UPDATE_PERIOD
double getPowerLevel()
setPowerLevel(double)
,
HEATER_POWER_LEVEL
double setPowerLevel(double level)
level
- the new power level of this heater.getPowerLevel()
,
HEATER_POWER_LEVEL
double getMaxPowerLevel()
HEATER_MAX_POWER_LEVEL
Copyright © 2012-2013 ADELE Research Group. All Rights Reserved.