BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
GWLastValueResponse.h
1 #pragma once
2 
3 #include <Poco/SharedPtr.h>
4 #include <Poco/JSON/Object.h>
5 
6 #include "gwmessage/GWResponse.h"
7 
8 namespace BeeeOn {
9 
17 public:
18  typedef Poco::SharedPtr<GWLastValueResponse> Ptr;
19 
21  GWLastValueResponse(const Poco::JSON::Object::Ptr object);
22 
23  void setValue(const double value);
24  double value() const;
25 
26  void setValid(const bool valid);
27  bool valid() const;
28 };
29 
30 }
Deprecated. Represents a message sent by the server to the gateway as a response to the GWLastValueRe...
Definition: GWLastValueResponse.h:16
Represents a response to a request message (subclass of a GWRequest). The GWResponse can be used alon...
Definition: GWResponse.h:55