BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
FHEMDeviceInfo.h
1 #pragma once
2 
3 #include <string>
4 
5 #include <Poco/Timestamp.h>
6 
7 namespace BeeeOn {
8 
15 public:
17  const std::string& dev,
18  const uint32_t protRcv,
19  const uint32_t protSnd,
20  const Poco::Timestamp& lastRcv);
21 
22  std::string dev() const;
23 
24  uint32_t protRcv() const;
25  void setProtRcv(const uint32_t protRcv);
26 
27  uint32_t protSnd() const;
28  void setProtSnd(const uint32_t protSnd);
29 
30  Poco::Timestamp lastRcv() const;
31  void setLastRcv(const Poco::Timestamp& lastRcv);
32 
33 private:
34  std::string m_dev;
35  uint32_t m_protRcv;
36  uint32_t m_protSnd;
37  Poco::Timestamp m_lastRcv;
38 };
39 
40 }
The class stores a statistic information about device maintained by FHEM server. According to these i...
Definition: FHEMDeviceInfo.h:14