From: Jérôme Benoit Date: Wed, 9 Aug 2023 00:07:51 +0000 (+0200) Subject: docs: add code comment X-Git-Tag: v1.2.21~89 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b89fb74f6d61fb58fc6e7c3d5b1502c2ab04bbe8;p=e-mobility-charging-stations-simulator.git docs: add code comment Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 23c51265..6e5ca1de 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -2073,7 +2073,7 @@ export class ChargingStation { return this.stationInfo.autoReconnectMaxRetries ?? -1; } - // 0 for disabling + // -1 for unlimited, 0 for disabling private getRegistrationMaxRetries(): number | undefined { return this.stationInfo.registrationMaxRetries ?? -1; }