public class ThermostatEventProxy extends EventProxy<Thermostat> implements ThermostatEvent
Constructor and Description |
---|
ThermostatEventProxy() |
Modifier and Type | Method and Description |
---|---|
ThermostatMode |
getMode()
Gets the current mode.
|
double |
getValue(ThermostatMode mode)
Gets the value for a specific mode.
|
getDevice
public ThermostatMode getMode()
ThermostatEvent
getMode
in interface ThermostatEvent
public double getValue(ThermostatMode mode)
ThermostatEvent
getValue
in interface ThermostatEvent
mode
- The mode.