Skip to content

Commit

Permalink
E04:fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Soumya Subramanya <s.subramanya@alfen.com>
  • Loading branch information
SNSubramanya committed Sep 15, 2023
1 parent 206141e commit dcd2696
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/ocpp/v201/charge_point.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -804,8 +804,8 @@ void ChargePoint::update_aligned_data_interval() {
this->transaction_event_req(
TransactionEventEnum::Updated, DateTime(), enhanced_transaction->get_transaction(),
TriggerReasonEnum::MeterValueClock, enhanced_transaction->get_seq_no(), std::nullopt,
std::nullopt, std::nullopt, std::vector<MeterValue>(1, meter_value), std::nullopt,
offline, std::nullopt);
std::nullopt, std::nullopt, std::vector<MeterValue>(1, meter_value), std::nullopt, offline,
std::nullopt);
} else if (!evse->has_active_transaction() and
this->device_model
->get_optional_value<bool>(ControllerComponentVariables::AlignedDataSendDuringIdle)
Expand Down Expand Up @@ -1654,10 +1654,10 @@ void ChargePoint::handle_trigger_message(Call<TriggerMessageRequest> call) {
offline = true;
}

this->transaction_event_req(
TransactionEventEnum::Updated, DateTime(), enhanced_transaction->get_transaction(),
TriggerReasonEnum::Trigger, enhanced_transaction->get_seq_no(), std::nullopt, std::nullopt,
std::nullopt, std::vector<MeterValue>(1, meter_value), std::nullopt, offline, std::nullopt);
this->transaction_event_req(TransactionEventEnum::Updated, DateTime(),
enhanced_transaction->get_transaction(), TriggerReasonEnum::Trigger,
enhanced_transaction->get_seq_no(), std::nullopt, std::nullopt, std::nullopt,
std::vector<MeterValue>(1, meter_value), std::nullopt, offline, std::nullopt);
};
send_evse_message(send_transaction);
} break;
Expand Down

0 comments on commit dcd2696

Please sign in to comment.