|
ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
|
Returns elements from a specific ChargingProfile and ChargingSchedulePeriod for use in the calculation of the CompositeSchedule within a specific slice of time. These are aggregated by Profile. More...
#include <profile.hpp>
Public Member Functions | |
| void | init (const ocpp::DateTime &in_start, int in_duration, const ChargingSchedulePeriod &in_period, const ChargingProfile &in_profile) |
| populate a schedule period More... | |
| bool | validate (const ChargingProfile &profile, const ocpp::DateTime &now) |
| bool | equals (const period_entry_t &other) const |
Public Attributes | |
| ocpp::DateTime | start |
| ocpp::DateTime | end |
| float | limit |
| std::optional< std::int32_t > | number_phases |
| std::optional< std::int32_t > | phase_to_use |
| std::int32_t | stack_level |
| ChargingRateUnitEnum | charging_rate_unit |
| std::optional< float > | min_charging_rate |
Returns elements from a specific ChargingProfile and ChargingSchedulePeriod for use in the calculation of the CompositeSchedule within a specific slice of time. These are aggregated by Profile.
| in_start | The starting time |
| in_duration | The duration for the specific slice of time |
| in_period | the details of this period |
| in_profile | the charging profile |
| void ocpp::v2::period_entry_t::init | ( | const ocpp::DateTime & | in_start, |
| int | in_duration, | ||
| const ChargingSchedulePeriod & | in_period, | ||
| const ChargingProfile & | in_profile | ||
| ) |
populate a schedule period
| in_start | the start time of the profile |
| in_duration | the time in seconds from the start of the profile to the end of this period |
| in_period | the details of this period |