summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/dataInterface.ts
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-10-23 11:32:03 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-10-23 11:32:05 +0800
commitde9d2e95b43991fccee342ebed03b006f6fed844 (patch)
tree0667c51a30fd3fed71fec797136d8adefc7d7baf /usecaseui-portal/src/app/dataInterface.ts
parent101e5e37f4ece60af8d08020c7e4bd8f473adce7 (diff)
Build AngularJs component for usecase-ui
Change-Id: I393f4837fc5f9cbd71448dbf20e1f1781f0656d3 Issue-ID: USECASEUI-154 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/dataInterface.ts')
-rw-r--r--usecaseui-portal/src/app/dataInterface.ts38
1 files changed, 38 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/dataInterface.ts b/usecaseui-portal/src/app/dataInterface.ts
new file mode 100644
index 00000000..fe42594e
--- /dev/null
+++ b/usecaseui-portal/src/app/dataInterface.ts
@@ -0,0 +1,38 @@
+
+interface homeData {
+ services:{
+ number:number,
+ chartdata:Object[]
+ },
+ performance:{
+ per_Vnf:number,
+ per_VmPm:number
+ },
+ alarm:{
+ chartdata:Object[]
+ },
+ Vm_performance:{
+ names:string[]
+ }
+};
+
+interface homeVmLineData {
+ CPU:number[],
+ Memory:number[]
+}
+
+interface servicesSelectData {
+ customer:string[],
+ serviceType:string[]
+}
+
+interface servicesTableData {
+ total:number,
+ tableList:string[]
+}
+
+interface onboardTableData {
+ total:number,
+ tableList:string[]
+}
+export {homeData, homeVmLineData, servicesSelectData, servicesTableData, onboardTableData}