Exemple #1
0
 public HSUPA_BearerSelector(HSUPA_CommonParam commonParam)
 {
     m_BearerList = commonParam.ServiceProvider.TrafficMgr.HSUPABearerList;
     upaBearAss = TrafficAdaptorAssist.Instance; ;
     EcNtDic = upaBearAss.EcNtDic;
     ecnt0 = FindEcNtByBearIndex(m_BearerList[0]);
     ecnt12 = FindEcNtByBearIndex(m_BearerList[12]);
 }
Exemple #2
0
        /// <summary>
        /// 初始化数据
        /// </summary>
        /// <param name="appContext">应用上下文接口</param>
        public void Init(IApplicationContext appContext)
        {
            m_SmartAntGain = ServiceHelper.Lookup<ISmartAntCalcGain>(appContext);
            m_TrafficAssist = TrafficAdaptorAssist.Instance;
            m_ITrafficService = ServiceHelper.Lookup<ITrafficService>(appContext);
            HSDPABearerManagement tdHSDPAManagement =
              m_ITrafficService.LookupManager(typeof(HSDPABearerManagement)) as HSDPABearerManagement;
            m_TdHSDPABearList = tdHSDPAManagement.TdHsdpaBearerList;

            GetInterfCalcObject();
        }
Exemple #3
0
        public UMTSTrafficMgr(SnapshotContext context)
        {
            IApplicationContext appContext = context.Lookup<IApplicationContext>(ContextKeys.AppContext);
            ITrafficService trafficSvc = ServiceHelper.Lookup<ITrafficService>(appContext);
            m_R99Mgr = (UMTSR99BearerManagement)trafficSvc.LookupManager(typeof(UMTSR99BearerManagement));
            m_DpaMgr = (HSDPABearerManagement)trafficSvc.LookupManager(typeof(HSDPABearerManagement));
            trafficAdaptor = TrafficAdaptorAssist.Instance;
            m_UpaModelList = trafficAdaptor.UMTSHSUPABearerList;

            m_UpaMgr = (HSUPABearerManagement)trafficSvc.LookupManager(typeof(HSUPABearerManagement));
        }