BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions | Static Public Attributes | Protected Member Functions
BeeeOn::VPTValuesParser Class Reference
Inheritance diagram for BeeeOn::VPTValuesParser:
BeeeOn::Loggable

Public Member Functions

std::vector< SensorDataparse (const DeviceID &id, const std::string &content)
 

Static Public Attributes

static const std::map
< std::string, int > 
BOILER_OPERATION_TYPE
 
static const std::map
< std::string, int > 
BOILER_OPERATION_MODE
 
static const std::map
< std::string, int > 
BOILER_STATUS
 
static const std::map
< std::string, int > 
BOILER_MODE
 

Protected Member Functions

SensorData parseZone (const uint64_t zone, const DeviceID &id, const Poco::JSON::Object::Ptr json) const
 
SensorData parseBoiler (const DeviceID &id, const Poco::JSON::Object::Ptr json) const
 
- Protected Member Functions inherited from BeeeOn::Loggable
void setupLogger (Poco::Logger *logger=0) const
 
Poco::Logger & logger () const
 
 Loggable (const ClassInfo &info)
 
 Loggable (const std::type_info &info)
 

Additional Inherited Members

- Static Protected Member Functions inherited from BeeeOn::Loggable
static Poco::Logger & forMethod (const char *name)
 
static Poco::Logger & forClass (const ClassInfo &info)
 
static Poco::Logger & forClass (const std::type_info &info)
 
template<typename T >
static Poco::Logger & forInstance (const T *i)
 
static void configureSimple (Poco::Logger &logger, const std::string &level)
 
static void logException (Poco::Logger &logger, const Poco::Message::Priority priority, const Poco::Exception &e, const char *file, size_t line)
 

Field Documentation

const map< string, int > VPTValuesParser::BOILER_MODE
static
Initial value:
=
{{BOILER_MODE_UNDEFINED, 0},
{BOILER_MODE_ON, 1},
{BOILER_MODE_OFF, 2}}
const map< string, int > VPTValuesParser::BOILER_OPERATION_MODE
static
Initial value:
=
{{BOLER_OPERATION_MODE_AUTOMATIC, 0},
{BOLER_OPERATION_MODE_MANUAL, 1},
{BOLER_OPERATION_MODE_VACATION, 2}}
const map< string, int > VPTValuesParser::BOILER_OPERATION_TYPE
static
Initial value:
=
{{BOILER_OPERATION_TYPE_OFF, 0},
{BOILER_OPERATION_TYPE_ROOM_REGULATOR, 1},
{BOILER_OPERATION_TYPE_EQUITERM_REGULATOR, 2},
{BOILER_OPERATION_TYPE_CONSTANT_WATER_TEMPERATURE, 3},
{BOILER_OPERATION_TYPE_HOT_WATER, 4}}
const map< string, int > VPTValuesParser::BOILER_STATUS
static
Initial value:
=
{{BOILER_STATUS_UNDEFINED, 0},
{BOILER_STATUS_HEATING, 1},
{BOILER_STATUS_HOT_WATER, 2},
{BOILER_STATUS_FAILURE, 3},
{BOILER_STATUS_SHUTDOWN, 4}}

The documentation for this class was generated from the following files: