Exemplo n.º 1
0
 public SimulationFrmControl(SimGroupManager groupManager, OtherSubSysInterface subSys, SimGroup simGroup, FormOpenType frmType)
 {
     if (frmType == FormOpenType.New)
     {
         simGroup.GroupName = this.GenerateNewName();
     }
     this.m_GroupManager = groupManager;
     this.m_FrmUIModel = new SimulationFrmUIModel(this.m_GroupManager, subSys, simGroup);
 }
Exemplo n.º 2
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;
 }
Exemplo n.º 3
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);
 }
Exemplo n.º 4
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();
 }
Exemplo n.º 5
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();
     }
 }
Exemplo n.º 6
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;
     }
 }
Exemplo n.º 7
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;
     }
 }
Exemplo n.º 8
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;
     }
 }
Exemplo n.º 9
0
 public ServiceUnionControl(TrafficCollectionModel model, FormOpenType formType, Service service) : base(model, formType, service)
 {
 }