ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Attributes | Friends | List of all members
ocpp::Measurement Struct Reference

Public Attributes

Powermeter power_meter
 Powermeter data.
 
std::optional< StateOfChargesoc_Percent
 State of Charge in percent.
 
std::vector< Temperaturetemperature_C
 Temperature in degree Celsius.
 
std::optional< RPMrpm
 RPM.
 

Friends

void to_json (json &j, const Measurement &k)
 Conversion from a given Measurement k to a given json object j.
 
void from_json (const json &j, Measurement &k)
 Conversion from a given json object j to a given Measurement k.
 
std::ostream & operator<< (std::ostream &os, const Measurement &k)
 

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const Measurement k 
)
friend
Returns
an output stream with the Measurement written to

The documentation for this struct was generated from the following file: