Exemple #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();
        }
Exemple #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;
 }