5#ifndef OCPP_V2_METERVALUES_HPP
6#define OCPP_V2_METERVALUES_HPP
8#include <nlohmann/json_fwd.hpp>
11#include <ocpp/common/types.hpp>
12#include <ocpp/v2/ocpp_enums.hpp>
13#include <ocpp/v2/ocpp_types.hpp>
21 std::vector<MeterValue> meterValue;
22 std::optional<CustomData> customData;
26 std::string
get_type()
const override;
41 std::optional<CustomData> customData;
45 std::string
get_type()
const override;
Parent structure for all OCPP messages supported by this implementation.
Definition: types.hpp:30
Contains a OCPP MeterValues message.
Definition: MeterValues.hpp:19
std::string get_type() const override
Provides the type of this MeterValues message as a human readable string.
Definition: MeterValues.cpp:16
Contains a OCPP MeterValuesResponse message.
Definition: MeterValues.hpp:40
std::string get_type() const override
Provides the type of this MeterValuesResponse message as a human readable string.
Definition: MeterValues.cpp:52