summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/performanceHistoryApp/src/models
diff options
context:
space:
mode:
authorsai-neetha <sai-neetha.phulmali@highstreet-technologies.com>2019-08-12 18:17:46 +0200
committersai-neetha <sai-neetha.phulmali@highstreet-technologies.com>2019-08-12 18:18:11 +0200
commit45bf787f75acb67d4153be40480b07f48ded4d17 (patch)
tree177064cdbe495c0819db64a44d713d8e53d82f0a /sdnr/wt/odlux/apps/performanceHistoryApp/src/models
parentf6f34d5b2a197e57bab0db49cd8e7ad39df7b527 (diff)
Minor functional fixes in odlux apps
Minor functional fixes in odlux apps Issue-ID: SDNC-845 Signed-off-by: sai-neetha <sai-neetha.phulmali@highstreet-technologies.com> Change-Id: I8e64e7c67a21798832ad1a36441b08a070452034 Signed-off-by: sai-neetha <sai-neetha.phulmali@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/odlux/apps/performanceHistoryApp/src/models')
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts148
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts17
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts54
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts52
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts64
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts49
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts53
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts53
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts17
-rw-r--r--sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts52
10 files changed, 445 insertions, 114 deletions
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts
index 701d54a38..9c1d28986 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/adaptiveModulationDataType.ts
@@ -1,52 +1,118 @@
+/**
+ * ============LICENSE_START========================================================================
+ * ONAP : ccsdk feature sdnr wt odlux
+ * =================================================================================================
+ * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
+ * =================================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ * ============LICENSE_END==========================================================================
+ */
export { HitEntry, Result } from '../../../../framework/src/models';
/**
* Represents Adaptive Modulation data fields of the performance history table.
*/
-export type AdaptiveModulationDataType = {
- "_id": string;
+export type AdaptiveModulationDatabaseDataType = {
+ "time2-states-s": number;
+ "time2-states": number;
+ "time2-states-l": number;
+ "time4-states-s": number;
+ "time4-states": number;
+ "time4-states-l": number;
+ "time16-states-s": number;
+ "time16-states": number;
+ "time16-states-l": number;
+ "time32-states-s": number;
+ "time32-states": number;
+ "time32-states-l": number;
+ "time64-states-s": number;
+ "time64-states": number;
+ "time64-states-l": number;
+ "time128-states-s": number;
+ "time128-states": number;
+ "time128-states-l": number;
+ "time256-states-s": number;
+ "time256-states": number;
+ "time256-states-l": number;
+ "time512-states-s": number;
+ "time512-states": number;
+ "time512-states-l": number;
+ "time1024-states-s": number;
+ "time1024-states": number;
+ "time1024-states-l": number;
+ "time2048-states-s": number;
+ "time2048-states": number;
+ "time2048-states-l": number;
+ "time4096-states-s": number;
+ "time4096-states": number;
+ "time4096-states-l": number;
+ "time8192-states-s": number;
+ "time8192-states": number;
+ "time8192-states-l": number;
+};
+
+/**
+ * Represents Result type of database query
+ */
+export type AdaptiveModulationResult = {
+ "performance-data": AdaptiveModulationDatabaseDataType;
"radio-signal-id": string;
"scanner-id": string;
- "time-stamp": string;
"suspect-interval-flag": boolean;
- "time2-states-s": string;
- "time2-states": string;
- "time2-states-l": string;
- "time4-states-s": string;
- "time4-states": string;
- "time4-states-l": string;
- "time16-states-s": string;
- "time16-states": string;
- "time16-states-l": string;
- "time32-states-s": string;
- "time32-states": string;
- "time32-states-l": string;
- "time64-states-s": string;
- "time64-states": string;
- "time64-states-l": string;
- "time128-states-s": string;
- "time128-states": string;
- "time128-states-l": string;
- "time256-states-s": string;
- "time256-states": string;
- "time256-states-l": string;
- "time512-states-s": string;
- "time512-states": string;
- "time512-states-l": string;
- "time1024-states-s": string;
- "time1024-states": string;
- "time1024-states-l": string;
- "time2048-states-s": string;
- "time2048-states": string;
- "time2048-states-l": string;
- "time4096-states-s": string;
- "time4096-states": string;
- "time4096-states-l": string;
- "time8192-states-s": string;
- "time8192-states": string;
- "time8192-states-l": string;
+ "time-stamp": string;
};
-export type AdaptiveModulationResult = { "performance-data": AdaptiveModulationDataType };
-export type AdaptiveModulation = AdaptiveModulationDataType & { _id: string };
+/**
+ * Internally used type to provide table and chart data
+ */
+export type AdaptiveModulationDataType = {
+ radioSignalId: string;
+ scannerId: string;
+ utcTimeStamp: string;
+ suspectIntervalFlag: boolean;
+ "time2StatesS": number;
+ "time2States": number;
+ "time2StatesL": number;
+ "time4StatesS": number;
+ "time4States": number;
+ "time4StatesL": number;
+ "time16StatesS": number;
+ "time16States": number;
+ "time16StatesL": number;
+ "time32StatesS": number;
+ "time32States": number;
+ "time32StatesL": number;
+ "time64StatesS": number;
+ "time64States": number;
+ "time64StatesL": number;
+ "time128StatesS": number;
+ "time128States": number;
+ "time128StatesL": number;
+ "time256StatesS": number;
+ "time256States": number;
+ "time256StatesL": number;
+ "time512StatesS": number;
+ "time512States": number;
+ "time512StatesL": number;
+ "time1024StatesS": number;
+ "time1024States": number;
+ "time1024StatesL": number;
+ "time2048StatesS": number;
+ "time2048States": number;
+ "time2048StatesL": number;
+ "time4096StatesS": number;
+ "time4096States": number;
+ "time4096StatesL": number;
+ "time8192StatesS": number;
+ "time8192States": number;
+ "time8192StatesL": number;
+} & { _id: string }; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts
index d5a6c6888..fcf7ad5f6 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts
@@ -1,3 +1,20 @@
+/**
+ * ============LICENSE_START========================================================================
+ * ONAP : ccsdk feature sdnr wt odlux
+ * =================================================================================================
+ * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
+ * =================================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ * ============LICENSE_END==========================================================================
+ */
export type LtpIds = {
key: string
}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts
index 8ea59e2ec..487cf029d 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/chartTypes.ts
@@ -1,33 +1,49 @@
-export interface IData {
+/**
+ * ============LICENSE_START========================================================================
+ * ONAP : ccsdk feature sdnr wt odlux
+ * =================================================================================================
+ * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
+ * =================================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ * ============LICENSE_END==========================================================================
+ */
+export interface IData {
x: string;
y: string;
}
-
+
/**
* Structure of chartjs dataset with the chart properties.
*/
- export interface IDataSet {
- name: string,
- label: string,
- lineTension: 0,
- bezierCurve: boolean;
- fill: boolean,
- borderColor: string,
- data: IData[],
- columnLabel:string
- }
+export interface IDataSet {
+ name: string,
+ label: string,
+ lineTension: 0,
+ bezierCurve: boolean;
+ fill: boolean,
+ borderColor: string,
+ data: IData[],
+ columnLabel: string
+}
/**
* Structure of chartjs dataset which is sent to the chart.
*/
- export interface IDataSetsObject {
- datasets: IDataSet[]
- }
+export interface IDataSetsObject {
+ datasets: IDataSet[]
+}
/**
* Interface used by chart for sorting on time-stamp
*/
- export interface ITimeStamp {
- "time-stamp": string;
- }
- \ No newline at end of file
+export interface ITimeStamp {
+ "utcTimeStamp": string;
+}
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts
index 43e74eb3e..ef4415393 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/crossPolarDiscriminationDataType.ts
@@ -1,19 +1,53 @@
+/**
+ * ============LICENSE_START========================================================================
+ * ONAP : ccsdk feature sdnr wt odlux
+ * =================================================================================================
+ * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
+ * =================================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ * ============LICENSE_END==========================================================================
+ */
export { HitEntry, Result } from '../../../../framework/src/models';
+
/**
- * Represents CPD data fields of the performance history table.
+ * Represents Receive level data fields of the performance history table.
*/
-export type CrossPolarDiscriminationDataType = {
- "_id": string;
+export type CrossPolarDiscriminationDatabaseDataType = {
+ "xpd-min": number;
+ "xpd-avg": number;
+ "xpd-max": number;
+};
+
+/**
+ * Represents Result type of database query
+ */
+export type CrossPolarDiscriminationResult = {
+ "performance-data": CrossPolarDiscriminationDatabaseDataType
"radio-signal-id": string;
"scanner-id": string;
- "time-stamp": string;
"suspect-interval-flag": boolean;
- "xpd-min": string;
- "xpd-avg": string;
- "xpd-max": string;
+ "time-stamp": string;
};
-export type CrossPolarDiscriminationResult = { "performance-data": CrossPolarDiscriminationDataType };
+/**
+ * Internally used type to provide table and chart data
+ */
+export type CrossPolarDiscriminationDataType = {
+ radioSignalId: string;
+ scannerId: string;
+ utcTimeStamp: string;
+ suspectIntervalFlag: boolean;
+ xpdMin: number;
+ xpdAvg: number;
+ xpdMax: number;
+} & { _id: string };
-export type CrossPolarDiscrimination = CrossPolarDiscriminationDataType & { _id: string }; \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts
index 3c9b5cb21..6af29c4a8 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/performanceDataType.ts
@@ -1,19 +1,63 @@
-export { HitEntry, Result } from '../../../../framework/src/models';
+/**
+ * ============LICENSE_START========================================================================
+ * ONAP : ccsdk feature sdnr wt odlux
+ * =================================================================================================
+ * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
+ * =================================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ * ============LICENSE_END==========================================================================
+ */
+import { Moment } from "moment";
+
+//export { HitEntry, Result } from '../../../../framework/src/models';
/**
- * Represents performance data fields of the performance history table.
+ * Represents performance data fields of the performance history table as used in the database
*/
-export type PerformanceDataType = {
- "_id": string;
+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;
- "time-stamp": string;
"suspect-interval-flag": boolean;
- "es": string;
- "ses": string;
- "unavailability": string;
+ "time-stamp": string;
};
-export type PerformanceResult = { "performance-data": PerformanceDataType };
+/**
+ * Internally used type to provide table and chart data
+ */
+export type PerformanceDataType = {
+ radioSignalId: string;
+ scannerId: string;
+ utcTimeStamp: string;
+ suspectIntervalFlag: boolean;
+ es: number;
+ ses: number;
+ unavailability: number;
+} & { _id: string };
+
-export type Performance = PerformanceDataType & { _id: string }; \ No newline at end of file
+/**
+ * Represents performance data time interval.
+ */
+export const enum PmDataInterval {
+ pmInterval15Min,
+ pmInterval24Hours
+} \ No newline at end of file
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts
index 57ea48cce..836bf58d9 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/receiveLevelDataType.ts
@@ -1,19 +1,52 @@
+/**
+ * ============LICENSE_START========================================================================
+ * ONAP : ccsdk feature sdnr wt odlux
+ * =================================================================================================
+ * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
+ * =================================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ * ============LICENSE_END==========================================================================
+ */
export { HitEntry, Result } from '../../../../framework/src/models';
/**
* Represents Receive level data fields of the performance history table.
*/
-export type ReceiveLevelDataType = {
- "_id": string;
+export type ReceiveLevelDatabaseDataType = {
+ "rx-level-min": number;
+ "rx-level-avg": number;
+ "rx-level-max": number;
+};
+
+/**
+ * Represents Result type of database query
+ */
+export type ReceiveLevelResult = {
+ "performance-data": ReceiveLevelDatabaseDataType
"radio-signal-id": string;
"scanner-id": string;
- "time-stamp": string;
"suspect-interval-flag": boolean;
- "rx-level-min": string;
- "rx-level-avg": string;
- "rx-level-max": string;
+ "time-stamp": string;
};
-export type ReceiveLevelResult = { "performance-data": ReceiveLevelDataType };
+/**
+ * Internally used type to provide table and chart data
+ */
+export type ReceiveLevelDataType = {
+ radioSignalId: string;
+ scannerId: string;
+ utcTimeStamp: string;
+ suspectIntervalFlag: boolean;
+ rxLevelMin: number;
+ rxLevelAvg: number;
+ rxLevelMax: number;
+} & { _id: string };
-export type ReceiveLevel = ReceiveLevelDataType & { _id: string };
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts
index 51d43b455..deb1d8f18 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/signalToInteferenceDataType.ts
@@ -1,19 +1,54 @@
+/**
+ * ============LICENSE_START========================================================================
+ * ONAP : ccsdk feature sdnr wt odlux
+ * =================================================================================================
+ * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
+ * =================================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ * ============LICENSE_END==========================================================================
+ */
export { HitEntry, Result } from '../../../../framework/src/models';
+
/**
- * Represents Signal to interference data fields of the performance history table.
+ * Represents Receive level data fields of the performance history table.
*/
-export type SignalToInterferenceDataType = {
- "_id": string;
+export type SignalToInterferenceDatabaseDataType = {
+ "snir-min": number;
+ "snir-avg": number;
+ "snir-max": number;
+};
+
+/**
+ * Represents Result type of database query
+ */
+export type SignalToInterferenceResult = {
+ "performance-data": SignalToInterferenceDatabaseDataType
"radio-signal-id": string;
"scanner-id": string;
- "time-stamp": string;
"suspect-interval-flag": boolean;
- "snir-min": string;
- "snir-avg": string;
- "snir-max": string;
+ "time-stamp": string;
};
-export type SignalToInterferenceResult = { "performance-data": SignalToInterferenceDataType };
-export type SignalToInterference = SignalToInterferenceDataType & { _id: string };
+/**
+ * Internally used type to provide table and chart data
+ */
+export type SignalToInterferenceDataType = {
+ radioSignalId: string;
+ scannerId: string;
+ utcTimeStamp: string;
+ suspectIntervalFlag: boolean;
+ snirMin: number;
+ snirAvg: number;
+ snirMax: number;
+} & { _id: string };
+
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts
index 3179d7b6a..dd3ce5253 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/temperatureDataType.ts
@@ -1,19 +1,54 @@
+/**
+ * ============LICENSE_START========================================================================
+ * ONAP : ccsdk feature sdnr wt odlux
+ * =================================================================================================
+ * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
+ * =================================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ * ============LICENSE_END==========================================================================
+ */
export { HitEntry, Result } from '../../../../framework/src/models';
+
/**
- * Represents Temperature data fields of the performance history table.
+ * Represents Receive level data fields of the performance history table.
*/
-export type TemperatureDataType = {
- "_id": string;
+export type TemperatureDatabaseDataType = {
+ "rf-temp-min": number;
+ "rf-temp-avg": number;
+ "rf-temp-max": number;
+};
+
+/**
+ * Represents Result type of database query
+ */
+export type TemperatureResult = {
+ "performance-data": TemperatureDatabaseDataType
"radio-signal-id": string;
"scanner-id": string;
- "time-stamp": string;
"suspect-interval-flag": boolean;
- "rf-temp-min": string;
- "rf-temp-avg": string;
- "rf-temp-max": string;
+ "time-stamp": string;
};
-export type TemperatureResult = { "performance-data": TemperatureDataType };
+/**
+ * Internally used type to provide table and chart data
+ */
+export type TemperatureDataType = {
+ radioSignalId: string;
+ scannerId: string;
+ utcTimeStamp: string;
+ suspectIntervalFlag: boolean;
+ rfTempMin: number;
+ rfTempAvg: number;
+ rfTempMax: number;
+} & { _id: string };
+
-export type Temperature = TemperatureDataType & { _id: string };
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts
index 84548ce45..6bd89411d 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/topologyNetConf.ts
@@ -1,3 +1,20 @@
+/**
+ * ============LICENSE_START========================================================================
+ * ONAP : ccsdk feature sdnr wt odlux
+ * =================================================================================================
+ * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
+ * =================================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ * ============LICENSE_END==========================================================================
+ */
export interface TopologyNode {
"node-id": string;
"netconf-node-topology:connection-status": string;
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts
index af6f9892d..2c31f5378 100644
--- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts
+++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/transmissionPowerDataType.ts
@@ -1,19 +1,53 @@
+/**
+ * ============LICENSE_START========================================================================
+ * ONAP : ccsdk feature sdnr wt odlux
+ * =================================================================================================
+ * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
+ * =================================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+ * or implied. See the License for the specific language governing permissions and limitations under
+ * the License.
+ * ============LICENSE_END==========================================================================
+ */
export { HitEntry, Result } from '../../../../framework/src/models';
+
/**
- * Represents the TransmissionPower data fields of the performance history table.
+ * Represents Receive level data fields of the performance history table.
*/
-export type TransmissionPowerDataType = {
- "_id": string;
+export type TransmissionPowerDatabaseDataType = {
+ "tx-level-min": number;
+ "tx-level-avg": number;
+ "tx-level-max": number;
+};
+
+/**
+ * Represents Result type of database query
+ */
+export type TransmissionPowerResult = {
+ "performance-data": TransmissionPowerDatabaseDataType
"radio-signal-id": string;
"scanner-id": string;
- "time-stamp": string;
"suspect-interval-flag": boolean;
- "tx-level-min": string;
- "tx-level-avg": string;
- "tx-level-max": string;
+ "time-stamp": string;
};
-export type TransmissionPowerResult = { "performance-data": TransmissionPowerDataType };
+/**
+ * Internally used type to provide table and chart data
+ */
+export type TransmissionPowerDataType = {
+ radioSignalId: string;
+ scannerId: string;
+ utcTimeStamp: string;
+ suspectIntervalFlag: boolean;
+ txLevelMin: number;
+ txLevelAvg: number;
+ txLevelMax: number;
+} & { _id: string };
-export type TransmissionPower = TransmissionPowerDataType & { _id: string };