Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
this.getConnectorStatus(connectorId).transactionEnergyActiveImportRegisterValue = 0;
delete this.getConnectorStatus(connectorId).transactionBeginMeterValue;
this.stopMeterValues(connectorId);
+ parentPort.postMessage(MessageChannelUtils.buildUpdatedMessage(this));
}
public hasFeatureProfile(featureProfile: SupportedFeatureProfiles) {
true
),
idTag: this.chargingStation.getTransactionIdTag(requestPayload.transactionId),
- reason: requestPayload.reason ?? StopTransactionReason.NONE,
+ ...(requestPayload.reason && { reason: requestPayload.reason }),
});
case BroadcastChannelProcedureName.START_AUTOMATIC_TRANSACTION_GENERATOR:
this.chargingStation.startAutomaticTransactionGenerator(requestPayload.connectorIds);