Refine JSDoc
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 7 May 2022 18:41:39 +0000 (20:41 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 7 May 2022 18:41:39 +0000 (20:41 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/charging-station/ChargingStation.ts

index 9393e164393aefc14a5ee4162975fa1bccbc3d29..fc2c5200ac35e9c5510b859921624815aa6f8ea3 100644 (file)
@@ -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;