diff options
author | 2020-08-27 12:22:31 +0800 | |
---|---|---|
committer | 2020-08-27 12:22:53 +0800 | |
commit | 3e5274bb7d0e5c9abf5aed9a6e6d82a28da5ec7e (patch) | |
tree | 08951e384a23980bd480e3a183124afbf18a5a05 /usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts | |
parent | e24d9ece44459166d1f77e0f582e2122512b6ff2 (diff) |
feat: Modify the parameters of an/cn 5Gslicing tast
Change-Id: I42b8457276e2f22269a8d044d63e6d3cd42619ba
Issue-ID: USECASEUI-442
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts')
-rw-r--r-- | usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts index 4c60cd9a..7868114d 100644 --- a/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts +++ b/usecaseui-portal/src/app/views/services/slicing-management/slicing-task-management/slicing-task-model/slicing-task-model.component.ts @@ -1,6 +1,6 @@ import { Component, OnInit, Input, Output, EventEmitter, ViewChild } from '@angular/core'; import { NzMessageService } from 'ng-zorro-antd'; -import { SlicingTaskServices } from '../../../../../core/services/slicingTaskServices'; +import { SlicingTaskServices } from '@src/app/core/services/slicingTaskServices'; @Component({ selector: 'app-slicing-task-model', @@ -143,11 +143,26 @@ export class SlicingTaskModelComponent implements OnInit { let subnetData = this.pick(nsi_nssi_info, ['an_suggest_nssi_id', 'an_suggest_nssi_name', 'tn_suggest_nssi_id', 'tn_suggest_nssi_name', 'cn_suggest_nssi_id', 'cn_suggest_nssi_name']); this.subnetDataFormatting(subnetData, 0); // 前端模拟数据 - let area = ["Beijing;Beijing;Haidian District", "Beijing;Beijing;Xicheng District", "Beijing;Beijing;Changping District"] - // this.slicingSubnet[0].params = { an_latency, an_5qi, an_coverage_area_ta_list } - // this.slicingSubnet[0].params = { an_latency, an_5qi, an_script_name, an_coverage_area_ta_list: area } + let area = ["Beijing;Beijing;Haidian District", "Beijing;Beijing;Xicheng District", "Beijing;Beijing;Changping District"]; + this.slicingSubnet[0].params = {...this.pick(nsi_nssi_info, [ + 'an_service_snssai', + 'an_resource_sharing_level', + 'an_ue_mobility_level', + 'an_latency', + 'an_max_number_of_ues', + 'an_activity_factor', + 'an_exp_data_rate_dl', + 'an_exp_data_rate_ul', + 'an_area_traffic_cap_dl', + 'an_area_traffic_cap_ul', + 'an_script_name', + 'an_overalluser_density', + // an_ip_address, + // an_logical_link, + // an_nexthop_info, + ]), an_coverage_area_ta_list: area}; this.slicingSubnet[1].params = this.pick(nsi_nssi_info, ['tn_latency', 'tn_bandwidth', 'tn_script_name', 'tn_jitter', 'tn_service_snssai']); - this.slicingSubnet[0].params = this.slicingSubnet[2].params = {...this.pick(nsi_nssi_info, [ + this.slicingSubnet[2].params = {...this.pick(nsi_nssi_info, [ 'cn_service_snssai', 'cn_resource_sharing_level', 'cn_ue_mobility_level', |