summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts')
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts23
1 files changed, 7 insertions, 16 deletions
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts
index 6af29c4a8..30f97fb54 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts
@@ -23,30 +23,21 @@ import { Moment } from "moment";
* Represents performance data fields of the performance history table as used in the database
*/
export type PerformanceDatabaseDataType = {
- "es": number;
- "ses": number;
- "unavailability": number;
-};
-
-
-/**
- * Represents Result type of database query
- */
-export type PerformanceResult = {
- "performance-data": PerformanceDatabaseDataType;
- "radio-signal-id": string;
- "scanner-id": string;
- "suspect-interval-flag": boolean;
- "time-stamp": string;
+ _id: string;
+ es: number;
+ ses: number;
+ unavailability: number;
};
/**
* Internally used type to provide table and chart data
*/
export type PerformanceDataType = {
+
+ performanceData: PerformanceDatabaseDataType;
radioSignalId: string;
scannerId: string;
- utcTimeStamp: string;
+ timeStamp: string;
suspectIntervalFlag: boolean;
es: number;
ses: number;