Newer
Older
#ifndef HOTWATERCONTROL_H
#define HOTWATERCONTROL_H
#include "heatControl.h"
class HotwaterControl : public HeatControl
{
public:
HotwaterControl(SHactuator * swtch, QObject *parent = nullptr);
friend class TestSHserver;
SHsensor *m_consumer; // weil Tasmota
// bool m_usePresetDemand = true; // veranschlagten Wert setzen, bis ON
int currentDemand() const;
int relevantDemand() const;
virtual int demand() const override;
virtual bool maxReached() const override;
virtual bool minReached() const override;
virtual int suspensionTime() const override;
virtual QString output() const override;