From: Jérôme Benoit Date: Sat, 20 May 2023 12:39:10 +0000 (+0200) Subject: build(simulator): use module imports for performance X-Git-Tag: v1.2.14~41 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b84bca85e73f1be0db5482aee6924922e9dc10c9;p=e-mobility-charging-stations-simulator.git build(simulator): use module imports for performance Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/AutomaticTransactionGenerator.ts b/src/charging-station/AutomaticTransactionGenerator.ts index 2eec1f22..011f1a15 100644 --- a/src/charging-station/AutomaticTransactionGenerator.ts +++ b/src/charging-station/AutomaticTransactionGenerator.ts @@ -6,8 +6,7 @@ import type { ChargingStation } from './ChargingStation'; import { ChargingStationUtils } from './ChargingStationUtils'; import { IdTagsCache } from './IdTagsCache'; import { BaseError } from '../exception'; -// import { PerformanceStatistics } from '../performance'; -import { PerformanceStatistics } from '../performance/PerformanceStatistics'; +import { PerformanceStatistics } from '../performance'; import { AuthorizationStatus, type AuthorizeRequest, diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index e1823893..bf6a183a 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -29,8 +29,7 @@ import { } from './ocpp'; import { SharedLRUCache } from './SharedLRUCache'; import { BaseError, OCPPError } from '../exception'; -// import { PerformanceStatistics } from '../performance'; -import { PerformanceStatistics } from '../performance/PerformanceStatistics'; +import { PerformanceStatistics } from '../performance'; import { type AutomaticTransactionGeneratorConfiguration, AvailabilityType, diff --git a/src/charging-station/ocpp/OCPPRequestService.ts b/src/charging-station/ocpp/OCPPRequestService.ts index 30e4a4a8..f6aa567f 100644 --- a/src/charging-station/ocpp/OCPPRequestService.ts +++ b/src/charging-station/ocpp/OCPPRequestService.ts @@ -6,8 +6,7 @@ import type { OCPPResponseService } from './OCPPResponseService'; import { OCPPServiceUtils } from './OCPPServiceUtils'; import type { ChargingStation } from '../../charging-station'; import { OCPPError } from '../../exception'; -// import { PerformanceStatistics } from '../../performance'; -import { PerformanceStatistics } from '../../performance/PerformanceStatistics'; +import { PerformanceStatistics } from '../../performance'; import { type EmptyObject, type ErrorCallback,