Class OutsideBlindsOffState
- java.lang.Object
-
- cz.cvut.fel.omo.SmartHome.devices.AbstractState
-
- cz.cvut.fel.omo.SmartHome.devices.weather.AbstractWeatherDeviceState
-
- cz.cvut.fel.omo.SmartHome.devices.weather.wind.outsideBlinds.states.OutsideBlindsOffState
-
public class OutsideBlindsOffState extends AbstractWeatherDeviceState
-
-
Constructor Summary
Constructors Constructor Description OutsideBlindsOffState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consume(AbstractDevice abstractDevice)
Method calculating consuming of device.void
processChanges(AbstractWeatherDevice abstractWeatherDevice)
The method, depending on the temperature of the house and the state of the device, implements a different logic of the device's behavior.
-
-
-
Method Detail
-
consume
public void consume(AbstractDevice abstractDevice)
Description copied from class:AbstractState
Method calculating consuming of device.- Specified by:
consume
in classAbstractState
-
processChanges
public void processChanges(AbstractWeatherDevice abstractWeatherDevice)
Description copied from class:AbstractWeatherDeviceState
The method, depending on the temperature of the house and the state of the device, implements a different logic of the device's behavior.- Specified by:
processChanges
in classAbstractWeatherDeviceState
- Parameters:
abstractWeatherDevice
- dto
-
-