summaryrefslogtreecommitdiffstats
path: root/src/hvac-service.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hvac-service.hpp')
-rw-r--r--src/hvac-service.hpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/hvac-service.hpp b/src/hvac-service.hpp
deleted file mode 100644
index 27bfe1a..0000000
--- a/src/hvac-service.hpp
+++ /dev/null
@@ -1,33 +0,0 @@
-// SPDX-License-Identifier: Apache-2.0
-
-#ifndef _HVAC_SERVICE_HPP
-#define _HVAC_SERVICE_HPP
-
-#include "vis-session.hpp"
-#include "hvac-can-helper.hpp"
-#include "hvac-led-helper.hpp"
-
-class HvacService : public VisSession
-{
-public:
- HvacService(const VisConfig &config, net::io_context& ioc, ssl::context& ctx);
-
-protected:
- virtual void handle_authorized_response(void) override;
-
- virtual void handle_get_response(std::string &path, std::string &value, std::string &timestamp) override;
-
- virtual void handle_notification(std::string &path, std::string &value, std::string &timestamp) override;
-
-private:
- HvacCanHelper m_can_helper;
- HvacLedHelper m_led_helper;
-
- void set_left_temperature(uint8_t temp);
-
- void set_right_temperature(uint8_t temp);
-
- void set_fan_speed(uint8_t temp);
-};
-
-#endif // _HVAC_SERVICE_HPP