Skip to content

Commit

Permalink
Update modules/OCPP/conversions.cpp
Browse files Browse the repository at this point in the history
Signed-off-by: Piet Gömpel <37657534+Pietfried@users.noreply.github.com>
  • Loading branch information
Pietfried authored Oct 24, 2024
1 parent de5f5c0 commit f773937
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions modules/OCPP/conversions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,12 +389,12 @@ to_everest_authorization_status(const ocpp::v201::AuthorizationStatusEnum status

types::ocpp::ChargingSchedulePeriod
to_charging_schedule_period(const ocpp::v16::EnhancedChargingSchedulePeriod& period) {
types::ocpp::ChargingSchedulePeriod _period;
_period.start_period = period.startPeriod;
_period.limit = period.limit;
_period.number_phases = period.numberPhases;
_period.stack_level = period.stackLevel;
return _period;
types::ocpp::ChargingSchedulePeriod csp;
csp.start_period = period.startPeriod;
csp.limit = period.limit;
csp.number_phases = period.numberPhases;
csp.stack_level = period.stackLevel;
return csp;
}

types::ocpp::ChargingSchedule to_charging_schedule(const ocpp::v16::EnhancedChargingSchedule& schedule) {
Expand Down

0 comments on commit f773937

Please sign in to comment.