supla-device
Loading...
Searching...
No Matches
hvac_parameters.h
1// SPDX-FileCopyrightText: AC SOFTWARE SP. Z O.O.
2// SPDX-License-Identifier: GPL-2.0-or-later
3
4#ifndef SRC_SUPLA_NETWORK_HTML_HVAC_PARAMETERS_H_
5#define SRC_SUPLA_NETWORK_HTML_HVAC_PARAMETERS_H_
6
7#include <supla/network/html_element.h>
8#include <supla/control/hvac_base.h>
9
10namespace Supla {
11
12namespace Html {
13
15 public:
16 explicit HvacParameters(Supla::Control::HvacBase *hvac = nullptr);
17 virtual ~HvacParameters();
18
19 void send(Supla::WebSender* sender) override;
20 bool handleResponse(const char* key, const char* value) override;
21 void onProcessingEnd() override;
22
23 void setHvacPtr(Supla::Control::HvacBase *hvac);
24
25 protected:
26 Supla::Control::HvacBase *hvac = nullptr;
27 TSD_SuplaChannelNewValue *newValue = nullptr;
28 THVACValue *hvacValue = nullptr;
29 TSD_ChannelConfig *config = nullptr;
30 TChannelConfig_HVAC *hvacConfig = nullptr;
31};
32
33}; // namespace Html
34}; // namespace Supla
35
36
37#endif // SRC_SUPLA_NETWORK_HTML_HVAC_PARAMETERS_H_
Definition hvac_base.h:37
Definition html_element.h:22
Definition hvac_parameters.h:14
Definition web_sender.h:160
Definition proto.h:3490
Definition proto.h:916
Definition proto.h:3159
Definition proto.h:1228