public class ThermostatModeProxy extends Proxy<ThermostatMode> implements ThermostatMode
AUTO, AUTO_CHANGEOVER, AUXILIARY, AWAY, COOL, DRY, ENERGY_COOL, ENERGY_HEAT, FAN, FULL_POWER, FURNACE, HEAT, MOIST, OFF, RESUME
Constructor and Description |
---|
ThermostatModeProxy() |
Modifier and Type | Method and Description |
---|---|
double |
getLastKnownValue()
Gets the last known value.
|
int |
getType()
Gets the name of the mode.
|
void |
requestUpdate()
Requests the update of the value.
|
void |
setValue(double value)
Sets the value.
|
getReference, invoke, invokeBoolean, invokeByte, invokeChar, invokeDouble, invokeFloat, invokeInt, invokeLong, invokeRef, invokeShort
public double getLastKnownValue()
ThermostatMode
getLastKnownValue
in interface ThermostatMode
MultilevelValue.UNKNOWN
if unknown.public int getType()
ThermostatMode
getType
in interface ThermostatMode
public void requestUpdate()
ThermostatMode
requestUpdate
in interface ThermostatMode
public void setValue(double value)
ThermostatMode
setValue
in interface ThermostatMode
value
- the value.