From: Jérôme Benoit Date: Sat, 7 May 2022 18:41:39 +0000 (+0200) Subject: Refine JSDoc X-Git-Tag: v1.1.59~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=7b8af1d0eabd37f97a6a8a349a19cf1c2328d061;p=e-mobility-charging-stations-simulator.git Refine JSDoc Signed-off-by: Jérôme Benoit --- 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;