From: Jérôme Benoit Date: Tue, 18 Jul 2023 18:57:18 +0000 (+0200) Subject: docs: improve code comments X-Git-Tag: v1.2.18~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=0fb4ae9273d097c85736accac13c2283ee49bbea;p=e-mobility-charging-stations-simulator.git docs: improve code comments Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ocpp/OCPPConstants.ts b/src/charging-station/ocpp/OCPPConstants.ts index f8a5fa35..b9363012 100644 --- a/src/charging-station/ocpp/OCPPConstants.ts +++ b/src/charging-station/ocpp/OCPPConstants.ts @@ -128,11 +128,11 @@ export class OCPPConstants { static readonly OCPP_RESERVATION_RESPONSE_UNAVAILABLE = Object.freeze({ status: ReservationStatus.UNAVAILABLE, - }); // Reservation has not been made, because connectors are spec. connector is in UNAVAILABLE state + }); // Reservation has not been made, because connector is in UNAVAILABLE state static readonly OCPP_CANCEL_RESERVATION_RESPONSE_ACCEPTED = Object.freeze({ status: GenericStatus.Accepted, - }); // Reservation for id has been cancelled has been made + }); // Reservation for id has been cancelled static readonly OCPP_CANCEL_RESERVATION_RESPONSE_REJECTED = Object.freeze({ status: GenericStatus.Rejected,