supla-device
Loading...
Searching...
No Matches
channel_correction.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_CHANNEL_CORRECTION_H_
5#define SRC_SUPLA_NETWORK_HTML_CHANNEL_CORRECTION_H_
6
7#include <supla/network/html_element.h>
8
9namespace Supla {
10
11namespace Html {
12
14 public:
15 explicit ChannelCorrection(int channelNumber, const char *displayName,
16 int subChannel = 0);
17 virtual ~ChannelCorrection();
18 void send(Supla::WebSender* sender) override;
19 bool handleResponse(const char* key, const char* value) override;
20
21 protected:
22 int channelNumber = -1;
23 int subChannel = -1;
24 char *displayName = nullptr;
25};
26
27}; // namespace Html
28}; // namespace Supla
29
30#endif // SRC_SUPLA_NETWORK_HTML_CHANNEL_CORRECTION_H_
Definition html_element.h:22
Definition channel_correction.h:13
Definition web_sender.h:160