repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update src/charging-station/ChargingStation.ts
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
Statistics.ts
diff --git
a/src/types/Statistics.ts
b/src/types/Statistics.ts
index 37460aee97cb0382cc322a4f8745d77204045d1e..59d13108d08e9425fc474e0aa4fd9b87c289e02f 100644
(file)
--- a/
src/types/Statistics.ts
+++ b/
src/types/Statistics.ts
@@
-1,13
+1,13
@@
-import type { CircularArray } from '../utils/CircularArray';
import type { IncomingRequestCommand, RequestCommand } from './ocpp/Requests';
import type { IncomingRequestCommand, RequestCommand } from './ocpp/Requests';
-import type { WorkerData } from './Worker';
+import type { CircularArray } from '../utils';
+import type { WorkerData } from '../worker';
export type TimeSeries = {
timestamp: number;
value: number;
};
export type TimeSeries = {
timestamp: number;
value: number;
};
-
export
type StatisticsData = {
+type StatisticsData = {
countRequest: number;
countResponse: number;
countError: number;
countRequest: number;
countResponse: number;
countError: number;
@@
-23,11
+23,11
@@
export type StatisticsData = {
stdDevTimeMeasurement: number;
};
stdDevTimeMeasurement: number;
};
-export type Statistics =
WorkerData &
{
+export type Statistics = {
id: string;
name: string;
uri: string;
createdAt: Date;
updatedAt?: Date;
id: string;
name: string;
uri: string;
createdAt: Date;
updatedAt?: Date;
- statisticsData: Map<string, Partial<StatisticsData>>;
-};
+ statisticsData: Map<string
| RequestCommand | IncomingRequestCommand
, Partial<StatisticsData>>;
+}
& WorkerData
;