(stationInfo.chargePointSerialNumber = existingStationInfo.chargePointSerialNumber);
existingStationInfo?.chargeBoxSerialNumber &&
(stationInfo.chargeBoxSerialNumber = existingStationInfo.chargeBoxSerialNumber);
+ existingStationInfo?.meterSerialNumber &&
+ (stationInfo.meterSerialNumber = existingStationInfo.meterSerialNumber);
} else {
const serialNumberSuffix = params?.randomSerialNumber
? this.getRandomSerialNumberSuffix({ upperCase: params.randomSerialNumberUpperCase })
stationInfo.chargeBoxSerialNumber =
stationInfo?.chargeBoxSerialNumberPrefix &&
stationInfo.chargeBoxSerialNumberPrefix + serialNumberSuffix;
+ stationInfo.meterSerialNumber =
+ stationInfo?.meterSerialNumberPrefix &&
+ stationInfo.meterSerialNumberPrefix + serialNumberSuffix;
}
}
}),
...(!Utils.isUndefined(stationInfo.iccid) && { iccid: stationInfo.iccid }),
...(!Utils.isUndefined(stationInfo.imsi) && { imsi: stationInfo.imsi }),
- ...(!Utils.isUndefined(stationInfo.meterSerialNumber) && {
- meterSerialNumber: stationInfo.meterSerialNumber,
+ ...(!Utils.isUndefined(stationInfo.meterSerialNumberPrefix) && {
+ meterSerialNumber: stationInfo.meterSerialNumberPrefix,
}),
...(!Utils.isUndefined(stationInfo.meterType) && {
meterType: stationInfo.meterType,
chargingStationId?: string;
chargeBoxSerialNumber?: string;
chargePointSerialNumber?: string;
+ meterSerialNumber?: string;
maximumPower?: number; // Always in Watt
powerDivider?: number;
maximumAmperage?: number; // Always in Ampere
firmwareVersion?: string;
iccid?: string;
imsi?: string;
- meterSerialNumber?: string;
+ meterSerialNumberPrefix?: string;
meterType?: string;
power: number | number[];
powerSharedByConnectors?: boolean;