supla-device
Loading...
Searching...
No Matches
binary_sensor_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_BINARY_SENSOR_PARAMETERS_H_
5#define SRC_SUPLA_NETWORK_HTML_BINARY_SENSOR_PARAMETERS_H_
6
7#include <supla/network/html_element.h>
8
9namespace Supla {
10class WebSender;
11
12namespace Sensor {
13class BinaryBase;
14} // namespace Sensor
15
16namespace Html {
17
19 public:
22 void send(Supla::WebSender* sender) override;
23 bool handleResponse(const char* key, const char* value) override;
24 void onProcessingEnd() override;
25
26 private:
27 Supla::Sensor::BinaryBase *binary = nullptr;
28 bool checkboxFound = false;
29 bool configChanged = false;
30};
31
32} // namespace Html
33} // namespace Supla
34
35#endif // SRC_SUPLA_NETWORK_HTML_BINARY_SENSOR_PARAMETERS_H_
36
Definition html_element.h:22
Definition binary_sensor_parameters.h:18
Definition binary_base.h:35
Definition web_sender.h:160