X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2Focpp%2FOCPPConstants.ts;h=dbe7834b4e0e6fbdddab7d77501dc32a9470e85a;hb=1a6188b2fcd2bf644e6fea0c697a095228c1aed0;hp=9d3fc74b14b6775b94baf5091722ebba2536e999;hpb=022a231c76e227205b0124a7aef8e16ceb86a1d9;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ocpp/OCPPConstants.ts b/src/charging-station/ocpp/OCPPConstants.ts index 9d3fc74b..dbe7834b 100644 --- a/src/charging-station/ocpp/OCPPConstants.ts +++ b/src/charging-station/ocpp/OCPPConstants.ts @@ -24,8 +24,8 @@ export class OCPPConstants { MeterValueMeasurand.ENERGY_ACTIVE_IMPORT_REGISTER, ]); - static readonly OCPP_REQUEST_EMPTY = Constants.EMPTY_FREEZED_OBJECT; - static readonly OCPP_RESPONSE_EMPTY = Constants.EMPTY_FREEZED_OBJECT; + static readonly OCPP_REQUEST_EMPTY = Constants.EMPTY_FROZEN_OBJECT; + static readonly OCPP_RESPONSE_EMPTY = Constants.EMPTY_FROZEN_OBJECT; static readonly OCPP_RESPONSE_ACCEPTED = Object.freeze({ status: GenericStatus.Accepted }); static readonly OCPP_RESPONSE_REJECTED = Object.freeze({ status: GenericStatus.Rejected }); @@ -124,15 +124,15 @@ export class OCPPConstants { static readonly OCPP_RESERVATION_RESPONSE_REJECTED = Object.freeze({ status: ReservationStatus.REJECTED, - }); // Reservation has not been made, because CS is not configured to accept reservations + }); // Reservation has not been made, because charging station is not configured to accept reservations 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,