From 7b8af1d0eabd37f97a6a8a349a19cf1c2328d061 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 7 May 2022 20:41:39 +0200 Subject: [PATCH] Refine JSDoc MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ChargingStation.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 9393e164..fc2c5200 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -2238,8 +2238,11 @@ export default class ChargingStation { this.getConnectorStatus(connectorId).transactionEnergyActiveImportRegisterValue = 0; } - /* + /** * Charging profiles should already be sorted by connectorId and stack level (highest stack level has priority) + * + * @param {ChargingProfile[]} chargingProfiles + * @returns {{ limit, matchingChargingProfile }} */ private getLimitFromChargingProfiles(chargingProfiles: ChargingProfile[]): { limit: number; -- 2.34.1