Example #1
0
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="tdGroupMgr"></param>
        public TDSCDMAPropertyForm(IPredictionGroup group)
        {
            InitializeComponent();
            m_tdPredicGroup = (TDPredictionGroup)group;
            m_appContext = m_tdPredicGroup.appContext;
            m_TDUIParam = m_tdPredicGroup.tdUIParam;
            m_TranfficForApplication = ServiceHelper.Lookup<ITrafficForApplication>(m_appContext);
            m_GeoProvider = ServiceHelper.Lookup<IGeoProvider>(m_appContext);

            m_tdTerminalList = m_TranfficForApplication.FindTerminalList(NetWorkType.TDSCDMA);
            m_CsServiceList = m_TranfficForApplication.UnionCsServiceList;
            m_PsServiceList = m_TranfficForApplication.UnionPsServiceList;

            Init();
        }
Example #2
0
 private void InitViewValue()
 {
     m_AppContext = m_GsmPredicGroup.AppContext;
     m_TranfficForApplication = ServiceHelper.Lookup<ITrafficForApplication>((m_AppContext));
     m_GeoProvider = ServiceHelper.Lookup<IGeoProvider>((m_AppContext));
     m_GSMUIParam = m_GsmPredicGroup.CovUIParam;
     m_GsmTerminalList = m_TranfficForApplication.FindTerminalList(NetWorkType.GSM);
     m_CsService = m_TranfficForApplication.UnionCsServiceList;
     m_PsService = m_TranfficForApplication.UnionPsServiceList;
     m_GsmMobilityList = m_TranfficForApplication.MobilityList;
     txtName.Text = m_GsmPredicGroup.Name;
     txtName.ReadOnly = true;
     nudResolution.Value = Convert.ToDecimal(m_GsmPredicGroup.Resolution);
     btnApply.Enabled = false;
     ntxtRxSensitivity.Value = (decimal)m_GsmPredicGroup.RxSensitivity;
     ntxtMaxSensitivity.Value = (decimal)m_GsmPredicGroup.MaxSensitivity;
     propertyGrid.SelectedObject = m_GSMUIParam;
 }
Example #3
0
 public void InitStage1(IApplicationContext appContext)
 {
     if (!this.m_NetWorkTypeList.Contains(NetWorkType.CDMA))
     {
         TrafficServiceImpl impl = new TrafficServiceImpl(appContext, this.m_NetWorkType);
         this.m_Model = impl.TrafficColModel;
         this.m_TrafficService = appContext.Lookup(typeof(ITrafficService).FullName) as ITrafficService;
         this.m_TrafficInterface = new TrafficForNetEntity(appContext, this.m_Model);
         this.m_TrafficForMapInterface = new TrafficForMap(appContext, this.m_Model);
         this.m_TrafficForApp = new TrafficForApplication(appContext, this.m_Model);
         CalMcsEfficiency service = new CalMcsEfficiency(appContext, this.m_Model);
         appContext.RegisterService(this.m_TrafficInterface);
         appContext.RegisterService(this.m_TrafficForMapInterface);
         appContext.RegisterService(this.m_TrafficForApp);
         appContext.RegisterService(service);
         this.m_appContext = appContext;
         this.m_Antennas = ServiceHelper.Lookup<INetAntenna<AntennaEntity>>(appContext);
         this.m_SerializeHelper = new SerializedHelper(this.m_Model, this.m_TrafficSerializedData, this.m_NetWorkTypeList);
         this.InitManagement();
         this.InitExportExcelDic();
     }
 }
Example #4
0
 public LteGroupPropertyControl(IApplicationContext appContext)
 {
     this.m_GeoProvider = ServiceHelper.Lookup<IGeoProvider>(appContext);
     this.m_ITraffic = ServiceHelper.Lookup<ITrafficForApplication>(appContext);
 }