return this.stationInfo.mustAuthorizeAtRemoteStart ?? true;
}
- public getPayloadSchemaValidation(): boolean {
- return this.stationInfo.payloadSchemaValidation ?? true;
- }
-
public getNumberOfPhases(stationInfo?: ChargingStationInfo): number | undefined {
const localStationInfo: ChargingStationInfo = stationInfo ?? this.stationInfo;
switch (this.getCurrentOutType(stationInfo)) {
}
public getOcppStrictCompliance(): boolean {
- return this.stationInfo?.ocppStrictCompliance ?? false;
+ return this.stationInfo?.ocppStrictCompliance ?? true;
}
public getVoltageOut(stationInfo?: ChargingStationInfo): number | undefined {
} file have changed, reload`
);
this.sharedLRUCache.deleteChargingStationTemplate(this.templateFileHash);
- // FIXME: cleanup idtags cache if idtags file has changed
// Initialize
this.initialize();
+ this.idTagsCache.deleteIdTags(getIdTagsFile(this.stationInfo));
// Restart the ATG
this.stopAutomaticTransactionGenerator();
if (this.getAutomaticTransactionGeneratorConfiguration()?.enable === true) {
case ReservationTerminationReason.TRANSACTION_STARTED:
delete connector.reservation;
break;
- case ReservationTerminationReason.RESERVATION_CANCELED ||
- ReservationTerminationReason.REPLACE_EXISTING ||
- ReservationTerminationReason.EXPIRED:
+ case ReservationTerminationReason.RESERVATION_CANCELED:
+ case ReservationTerminationReason.REPLACE_EXISTING:
+ case ReservationTerminationReason.EXPIRED:
await OCPPServiceUtils.sendAndSetConnectorStatus(
this,
reservation.connectorId,