From: Jérôme Benoit Date: Thu, 16 Nov 2023 15:37:31 +0000 (+0100) Subject: docs: remove wrong comment X-Git-Tag: v1.2.25~21 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c6dcc3311af6547a0d2d618b8c27a84424c27b4b;p=e-mobility-charging-stations-simulator.git docs: remove wrong comment Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ocpp/1.6/OCPP16ServiceUtils.ts b/src/charging-station/ocpp/1.6/OCPP16ServiceUtils.ts index 391f2f0a..734bfcd2 100644 --- a/src/charging-station/ocpp/1.6/OCPP16ServiceUtils.ts +++ b/src/charging-station/ocpp/1.6/OCPP16ServiceUtils.ts @@ -769,8 +769,7 @@ export class OCPP16ServiceUtils extends OCPPServiceUtils { 2, ); const energyValueRounded = isNotEmptyString(energySampledValueTemplate.value) - ? // Cumulate the fluctuated value around the static one - getRandomFloatFluctuatedRounded( + ? getRandomFloatFluctuatedRounded( OCPP16ServiceUtils.getLimitFromSampledValueTemplateCustomValue( energySampledValueTemplate.value, connectorMaximumEnergyRounded,