Esempio n. 1
0
 public MobilityTreeNodeModel(TrafficCollectionModel trafficModel)
 {
     this.m_TrafficModel = trafficModel;
     trafficModel.MobilityManagement.AddEvent += new EventHandler<MobilityArgs>(this.MobilityManagement_AddEvent);
     trafficModel.MobilityManagement.ModifyEvent += new EventHandler<MobilityArgs>(this.MobilityManagement_ModifyEvent);
     trafficModel.MobilityManagement.DeleteEvent += new EventHandler<MobilityArgs>(this.MobilityManagement_DeleteEvent);
 }
Esempio n. 2
0
 public ReceiveCIManagement(TrafficCollectionModel model, NetWorkType netType)
 {
     this.m_Model = model;
     this.m_NetType = netType;
     this.InitDataBaseDic();
     this.GetDataFromNetType();
 }
Esempio n. 3
0
 public ServiceForm(TrafficCollectionModel model) : this()
 {
     this.m_Model = model;
     this.m_ServiceControl = new ServiceControl(new UnionPsService(), model, FormOpenType.New);
     this.Init();
     this.Text = NetWorkType.LTE.ToString() + " " + TrafficModelResource.TRAFFICMODEL_SERVICE + " " + TrafficModelResource.TRAFFICMODEL_PROPERTY;
 }
Esempio n. 4
0
 public ServiceValidator(TrafficCollectionModel model, NetWorkType netType)
 {
     this.m_CsServiceManagement = model.UnionCsServiceManagement;
     this.m_PsServiceManagement = model.UnionPsServiceManagement;
     this.m_NetType = netType;
     this.InitGenerateService();
 }
Esempio n. 5
0
 public UserProfileTreeNodeModel(TrafficCollectionModel trafficModel)
 {
     this.m_TrafficModel = trafficModel;
     trafficModel.UserProfileManagement.AddEvent += new EventHandler<UserProfileArgs>(this.UserProfileManagement_AddEvent);
     trafficModel.UserProfileManagement.ModifyEvent += new EventHandler<UserProfileArgs>(this.UserProfileManagement_ModifyEvent);
     trafficModel.UserProfileManagement.DeleteEvent += new EventHandler<UserProfileArgs>(this.UserProfileManagement_DeleteEvent);
 }
Esempio n. 6
0
 public SerializedHelper(TrafficCollectionModel model, TrafficSerializedData trafficSerializeData, List<NetWorkType> netTypeList)
 {
     this.m_TrafficColModel = model;
     this.m_TrafficSerializedData = trafficSerializeData;
     this.m_NetTypeList = netTypeList;
     this.InitDic();
 }
Esempio n. 7
0
 public ServiceUnionForm(TrafficCollectionModel model, Service service) : this()
 {
     this.m_Type = ProjectSingleton.CurrentProject.NetType;
     List<NetWorkType> netWorkTypes = ProjectSingleton.ParseNetworkType(this.m_Type);
     CommonServiceType serviceType = CommonServiceType.PSService;
     if (null == service)
     {
         this.m_Control = new ServiceUnionControl(model, FormOpenType.New, null);
         this.cmbType.SelectedIndex = 0;
         this.SetGroupEnable(this.gbCS, false);
         this.Text = TrafficModelResource.TRAFFICMODEL_UNIONSERVICE + " " + TrafficModelResource.TRAFFICMODEL_PROPERTY;
     }
     else
     {
         this.m_Control = new ServiceUnionControl(model, FormOpenType.Property, service);
         serviceType = service.CommonType;
         this.cmbType.Enabled = false;
         this.m_OldName = service.Name;
         this.m_OldServiceType = service.CommonType;
         this.Text = this.m_Control.ServiceName + " " + TrafficModelResource.TRAFFICMODEL_PROPERTY;
     }
     this.cmbType.SelectedIndex = (serviceType == CommonServiceType.PSService) ? 0 : 1;
     this.txbName.Text = this.m_Control.ServiceName;
     this.InitPSService();
     this.InitCSService();
     this.SwitchServiceType(serviceType);
     this.InitSingleEnable(netWorkTypes);
     this.buttonApply.Enabled = false;
 }
Esempio n. 8
0
 public HSUPAUECategoryDesc(TrafficCollectionModel trafficModel, UMTSHSUPAUECategory category)
 {
     this.m_exludeNames = new List<string>();
     this.m_TrafficModel = trafficModel;
     this.m_HSUPAUEcategoryManager = trafficModel.HsupaUeCategoryManagement;
     this.m_Entity = category;
 }
Esempio n. 9
0
 public ServiceTreeNodeControl(TrafficCollectionModel model)
 {
     this.m_TrafficColModel = model;
     this.m_PsServiceManagement = model.UnionPsServiceManagement;
     this.m_CsServiceManagement = model.UnionCsServiceManagement;
     this.m_ServiceTreeNodeModel = new ServiceTreeNodeModel(model);
 }
Esempio n. 10
0
 public EnvironmentForm(TrafficCollectionModel model, TrafficEnvironment environment) : this()
 {
     this.m_Model = model;
     this.m_IsNodeAdd = true;
     this.m_EnvControl = new EnvironmentControl(model, environment);
     this.GetPropertyAndSetForm();
 }
Esempio n. 11
0
 public TerminalUnionForm()
 {
     this.m_Model = null;
     this.m_OldTerminal = null;
     this.components = null;
     this.InitializeComponent();
 }
Esempio n. 12
0
 public EnvironmentTreeNodeModel(TrafficCollectionModel model)
 {
     this.m_TrafficModel = model;
     this.m_TrafficModel.EnvironemntMangement.AddEvent += new EventHandler<EnvironmentArgs>(this.EnvironemntMangement_AddEvent);
     this.m_TrafficModel.EnvironemntMangement.ModifyEvent += new EventHandler<EnvironmentArgs>(this.EnvironemntMangement_ModifyEvent);
     this.m_TrafficModel.EnvironemntMangement.DeleteEvent += new EventHandler<EnvironmentArgs>(this.EnvironemntMangement_DeleteEvent);
 }
Esempio n. 13
0
 public TrafficForApplication(IBaseService baseService, TrafficCollectionModel model)
 {
     this.m_BaseService = baseService;
     this.m_Model = model;
     this.m_Model.TerminalManagement.CanDeletingEvent += new EventHandler<CancellerEventArgs>(this.TerminalManagement_CanDeletingEvent);
     this.m_Model.MobilityManagement.CanDeletingEvent += new EventHandler<CancellerEventArgs>(this.MobilityManagement_CanDeletingEvent);
     this.m_Model.UnionPsServiceManagement.CanDeletingEvent += new EventHandler<CancellerEventArgs>(this.UnionPsServiceManagement_CanDeletingEvent);
     this.m_Model.UnionCsServiceManagement.CanDeletingEvent += new EventHandler<CancellerEventArgs>(this.UnionCsServiceManagement_CanDeletingEvent);
 }
Esempio n. 14
0
 public TrafficForNetEntity(IBaseService baseServcie, TrafficCollectionModel model)
 {
     this.m_BaseService = baseServcie;
     this.m_ReceptionEquipment = model.RecepEquipManagement;
     model.RecepEquipManagement.AddEvent += new EventHandler<ReceptionEquipmentArgs>(this.RecepEquipManagement_AddEvent);
     model.RecepEquipManagement.ModifyEvent += new EventHandler<ReceptionEquipmentArgs>(this.RecepEquipManagement_ModifyEvent);
     model.RecepEquipManagement.DeleteEvent += new EventHandler<ReceptionEquipmentArgs>(this.RecepEquipManagement_DeleteEvent);
     model.RecepEquipManagement.CanDeletingEvent += new EventHandler<CancellerEventArgs>(this.RecepEquipManagement_CanDeletingEvent);
 }
Esempio n. 15
0
 public UMTSR99BearerDesc(UMTSR99Bearer umtsR99Bearer, TrafficCollectionModel model, List<UMTSR99Bearer> excludeUMTSR99)
 {
     this.m_UMTSR99Bearer = umtsR99Bearer;
     this.m_Model = model;
     foreach (UMTSR99Bearer bearer in excludeUMTSR99)
     {
         this.m_ExistNames.Add(bearer.Name);
     }
 }
Esempio n. 16
0
 public TerminalUmtsPropertyModel(TrafficCollectionModel model, Terminal terminal)
 {
     this.m_ReceptionEquipment = model.RecepEquipManagement;
     this.m_HsupaUeCategoryMangement = model.HsupaUeCategoryManagement;
     this.m_HsdpaUeCategoryManagement = model.HsdpaUeCategoryManagement;
     this.m_Terminal = terminal;
     this.m_UmtsTerminal = (terminal.NetTerminalList[0] as UMTSTerminal).Clone() as UMTSTerminal;
     this.m_Terminal.NetTerminalList.Clear();
     this.m_Terminal.NetTerminalList.Add(this.m_UmtsTerminal);
 }
Esempio n. 17
0
 public EnvironmentCompareResult(string[] envSelected, string[] generalSelected, TrafficCollectionModel model) : this()
 {
     this.m_EnvSelectedDis = envSelected;
     this.m_GeneralSelectedDis = generalSelected;
     this.m_EvnManagement = model.EnvironemntMangement;
     this.m_UserProfileManagement = model.UserProfileManagement;
     this.m_MobilityManagemet = model.MobilityManagement;
     this.InitUserMobility();
     this.Init();
 }
Esempio n. 18
0
 public ServiceControl(Service service, TrafficCollectionModel model, FormOpenType formOpenType)
 {
     this.m_UnionPsService = service as Huawei.UNet.Traffic.Interface.UnionPsService;
     this.m_Model = model;
     this.InitManagement();
     if (formOpenType == FormOpenType.New)
     {
         this.InitService();
     }
     this.m_LTEService = this.m_UnionPsService.PSServiceDic[NetWorkType.LTE] as Huawei.UNet.Traffic.LTEModel.LTEService;
 }
Esempio n. 19
0
 public UserProfileCompareResult(string[] userSelected, TrafficCollectionModel model, List<NetWorkType> netTypeList) : this()
 {
     this.userProfileSelected = userSelected;
     this.m_netTypeList = netTypeList;
     this.m_UserProfileManagement = model.UserProfileManagement;
     this.m_TerminalManagement = model.TerminalManagement;
     this.m_UnionPsManagement = model.UnionPsServiceManagement;
     this.m_UnionCsManagement = model.UnionCsServiceManagement;
     this.getServiceTerminalFromNetWorkType();
     this.InitTerminalService();
     this.Init();
 }
Esempio n. 20
0
 public DemodulationForm(string p_strMCS, TrafficCollectionModel model, LinkType linkType, IApplicationContext appContext) : this()
 {
     this.dataGridView1.PasteHandle = new PasteHandle(this.CtrlVMethod);
     this.m_TrafficModel = model;
     this.SetDataGridMenu();
     this.m_MCSManagement = model.McsManagement;
     this.m_REManagement = model.RecepEquipManagement;
     this.m_DemodulationList = this.m_REManagement.GetDemodulationList(p_strMCS);
     this.m_tempList.AddRange(this.m_DemodulationList.ToArray());
     this.m_ReceptionEquipmentLinkType = linkType;
     this.AddComboBox();
     this.Init();
 }
Esempio n. 21
0
 public TerminalTdControl(TrafficCollectionModel model, Terminal terminal, FormOpenType property)
 {
     this.m_TerminalManagement = model.TerminalManagement;
     this.m_Terminal = terminal;
     if (property == FormOpenType.New)
     {
         this.InitTerminal();
     }
     else
     {
         this.m_OldTerminalName = terminal.Name;
     }
     this.m_TerminalPropertyModel = new TerminalTdPropertyModel(model, terminal.Clone() as Terminal);
 }
Esempio n. 22
0
 private ServiceUmtsForm(TrafficCollectionModel model, Service service, FormOpenType property)
 {
     this.m_ModServiceName = string.Empty;
     this.m_IsNodeAdd = false;
     this.ADDSTRING = "Add";
     this.MODIFYSTRING = "Modify";
     this.m_TypeCommitDic = new Dictionary<string, checkAndCommitService>();
     this.components = null;
     this.InitializeComponent();
     this.m_serviceUmtsControl = new ServiceUmtsControl(model, service, property);
     this.m_IsNodeAdd = property == FormOpenType.Property;
     this.m_ModServiceName = service.Name;
     this.Init();
 }
Esempio n. 23
0
 public ServiceGsmControl(TrafficCollectionModel model, Service service, FormOpenType formType)
 {
     this.m_AmrRateList = model.AMRRateList;
     this.m_UnionPsManagement = model.UnionPsServiceManagement;
     this.m_UnionCsManagement = model.UnionCsServiceManagement;
     if (formType == FormOpenType.New)
     {
         this.InitService();
     }
     else
     {
         this.InitServiceProperty(service);
         this.m_OldName = service.Name;
     }
 }
Esempio n. 24
0
 public UserProfileControl(Huawei.UNet.Traffic.Interface.UserProfile inUserProfile, TrafficCollectionModel model, List<NetWorkType> netTypeList, FormOpenType formOpenType)
 {
     this.m_Model = model;
     this.m_NewProfile = inUserProfile;
     this.m_NetWorkTypeList = netTypeList;
     this.m_UserProfileManagement = this.m_Model.UserProfileManagement;
     this.m_UnionCsManagement = this.m_Model.UnionCsServiceManagement;
     this.m_UnionPsManagement = this.m_Model.UnionPsServiceManagement;
     this.m_TerminalManager = this.m_Model.TerminalManagement;
     this.m_UserProfileManagement = this.m_Model.UserProfileManagement;
     if (formOpenType == FormOpenType.New)
     {
         this.m_NewProfile.Name = this.GenerateName();
     }
 }
Esempio n. 25
0
 public ServiceTDControl(TrafficCollectionModel model,Service service,FormOpenType formType)
 {
     m_TrafficCollecModel = model;
     m_AMRRateList = model.AMRRateList;
     m_UnionCsServiceManagement = model.UnionCsServiceManagement;
     m_UnionPsServiceManagement = model.UnionPsServiceManagement;
     m_TDR99BearerManagement = model.TDR99BearerManagement;
     if (formType == FormOpenType.New)
     {
         //新建service
         InitService();
     }
     else
     {
         InitServiceProperty(service);
         m_OldName = service.Name;
     }
 }
Esempio n. 26
0
 private TerminalGsmForm(TrafficCollectionModel model, Terminal terminal, bool isNodeAdd) : this()
 {
     this.m_IsNodeAdd = isNodeAdd;
     this.m_TerminalGsmControl = new TerminalGsmControl(model, terminal);
     this.InitCombox();
     this.Init(isNodeAdd);
     string text = string.Empty;
     if (terminal != null)
     {
         text = terminal.Name + " " + TrafficModelResource.TRAFFICMODEL_PROPERTY;
     }
     else
     {
         text = NetWorkType.GSM.ToString() + " " + TrafficModelResource.TRAFFICMODEL_TERMINAL + " " + TrafficModelResource.TRAFFICMODEL_PROPERTY;
     }
     this.Text = text;
     this.btnApply.Enabled = false;
 }
Esempio n. 27
0
 public TerminalUnionForm(TrafficCollectionModel model, Terminal modTerminal) : this()
 {
     this.m_Model = model;
     List<NetWorkType> typeList = ProjectSingleton.ParseNetworkType(ProjectSingleton.CurrentProject.NetType);
     this.SetCmbEnable(typeList);
     this.AddComboxItem(typeList);
     if (null != modTerminal)
     {
         this.cmbGsm.Text = this.GetNetTerminalName(modTerminal, NetWorkType.GSM);
         this.cmbUmts.Text = this.GetNetTerminalName(modTerminal, NetWorkType.UMTS);
         this.cmbTd.Text = this.GetNetTerminalName(modTerminal, NetWorkType.TDSCDMA);
         this.cmbLte.Text = this.GetNetTerminalName(modTerminal, NetWorkType.LTE);
         this.txbname.Text = modTerminal.Name;
         this.m_OldTerminal = modTerminal;
         this.Text = this.txbname.Text + " " + TrafficModelResource.TRAFFICMODEL_PROPERTY;
     }
     else
     {
         this.txbname.Text = this.GenerateName();
         this.Text = TrafficModelResource.TRAFFICMODEL_UNIONTERMINAL + " " + TrafficModelResource.TRAFFICMODEL_PROPERTY;
     }
     this.buttonApply.Enabled = false;
 }
Esempio n. 28
0
 public AServiceControl(TrafficCollectionModel model, FormOpenType formType, Service service)
 {
     this.m_Model = model;
     if (formType == FormOpenType.New)
     {
         this.m_CSService = this.GenAndInitCSService();
         this.m_PSService = this.GenAndInitPSService();
         this.m_ServiceName = this.GenerateName();
     }
     else
     {
         if (service.CommonType == CommonServiceType.CSService)
         {
             this.m_CSService = service;
             this.m_PSService = this.GenAndInitPSService();
         }
         else
         {
             this.m_PSService = service;
             this.m_CSService = this.GenAndInitCSService();
         }
         this.m_ServiceName = service.Name;
     }
 }
Esempio n. 29
0
 public MCSValidator(TrafficCollectionModel model, LinkType linkType)
 {
     this.m_Management = model.McsManagement;
     this.m_LinkType = linkType;
 }
Esempio n. 30
0
 public EnvironmentForm(TrafficCollectionModel model) : this()
 {
     this.m_Model = model;
     this.m_EnvControl = new EnvironmentControl(model);
     this.GetPropertyAndSetForm();
 }