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

Public Attributes

std::optional< float > DC
 DC voltage.
 
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 Voltage &k)
 Conversion from a given Voltage k to a given json object j.
 
void from_json (const json &j, Voltage &k)
 Conversion from a given json object j to a given Voltage k.
 
std::ostream & operator<< (std::ostream &os, const Voltage &k)
 

Friends And Related Function Documentation

◆ operator<<

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

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