public final class IndoorClimateServiceImpl extends Object implements IndoorClimateService, ValueChangeListener<Double>, org.osgi.service.event.EventHandler
| Constructor and Description |
|---|
IndoorClimateServiceImpl() |
public void init()
public void destroy()
public void setDataAccess(at.ac.ait.hbs.homer.core.common.DataAccess dataAccess)
public final void setHumidityService(HumidityService humidityService)
public final void setTemperatureInsideService(TemperatureInsideService temperatureInsideService)
public void handleEvent(org.osgi.service.event.Event event)
handleEvent in interface org.osgi.service.event.EventHandlerpublic final void addListenerForLastValue(ValueChangeListener<IndoorClimateType> listener, AverageCalculationMode mode, int flatId)
addListenerForLastValue in interface ListenerForLastValueHandler<IndoorClimateType>public final void removeListenerForLastValue(ValueChangeListener<IndoorClimateType> listener)
removeListenerForLastValue in interface ListenerForLastValueHandler<IndoorClimateType>public final void removeListener(ValueChangeListener<IndoorClimateType> listener)
removeListener in interface ListenerForLastValueHandler<IndoorClimateType>public final IndoorClimateType getIndoorClimateType(int flatId)
getIndoorClimateType in interface IndoorClimateServicepublic final IndoorClimateType getIndoorClimateType(int flatId, AverageCalculationMode mode)
getIndoorClimateType in interface IndoorClimateServicepublic final IndoorClimateType getIndoorClimateType(int flatId, long calculationPeriod, TimeUnit timeUnit)
getIndoorClimateType in interface IndoorClimateServicepublic final IndoorClimateType getIndoorClimateType(int flatId, AverageCalculationMode mode, long calculationPeriod, TimeUnit timeUnit)
getIndoorClimateType in interface IndoorClimateServicepublic void onValueChanged(Double value, Double previousValue, CalculationMode mode, Integer flatId)
onValueChanged in interface ValueChangeListener<Double>Copyright © 2017. All rights reserved.