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

Public Attributes

float total
 DC / AC Sum value.
 
std::optional< float > L1
 AC L1 value only.
 
std::optional< float > L2
 AC L2 value only.
 
std::optional< float > L3
 AC L3 value only.
 

Friends

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

Friends And Related Function Documentation

◆ operator<<

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

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