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
Fix power unit in kW handling in charging station template
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
CommandStatistics.ts
diff --git
a/src/types/CommandStatistics.ts
b/src/types/CommandStatistics.ts
index b8740039cdfd2d193253580f2570fbbd37d8944e..2b84a5e4abca4e368deaf332ce31e18a85db059c 100644
(file)
--- a/
src/types/CommandStatistics.ts
+++ b/
src/types/CommandStatistics.ts
@@
-1,4
+1,4
@@
-import
CircularArray
from '../utils/CircularArray';
+import
{ CircularArray }
from '../utils/CircularArray';
import { EntryType } from 'perf_hooks';
export interface PerfEntry {
import { EntryType } from 'perf_hooks';
export interface PerfEntry {
@@
-20,8
+20,10
@@
export interface CommandStatisticsData {
totalTimeMeasurement: number;
avgTimeMeasurement: number;
medTimeMeasurement: number;
totalTimeMeasurement: number;
avgTimeMeasurement: number;
medTimeMeasurement: number;
+ stdDevTimeMeasurement: number;
}
export default interface CommandStatistics {
}
export default interface CommandStatistics {
- [command: string]: CommandStatisticsData;
+ id: string;
+ commandsStatisticsData: Record<string, CommandStatisticsData>;
}
}