/// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="difLossCalcPara">扇形片路径损耗计算参数</param>
 /// <param name="geoDataObserver"></param>
 public DiffractionLossCalculator(SectionPathLossCalcParam difLossCalcPara, IPropaGeoDataObserver geoDataObserver)
 {
     this.m_DifLossCalcPara = difLossCalcPara;
     this.m_Spmodel = difLossCalcPara.PropagModel;
     this.m_CalcDifLossMethod = (DiffractionLossBase) difLossCalcPara.PropagModel.DifLossMethod;
     this.m_GeoDataProvider = geoDataObserver;
 }
Exemple #2
0
 public void Init(IBaseService serviceProviderTemp)
 {
     this.m_ServiceProvider = serviceProviderTemp;
     IDataProvider dataProvider = serviceProviderTemp.Lookup(typeof(IDataProvider).FullName) as IDataProvider;
     this.m_GeoDataProvider = new GeoDataObserver(dataProvider);
     DiffractionLossBase.InitialCalcMethods();
     ClutterLossBase.InitialCalcMethods();
     EffectTxHeightBase.InitialCalcMethods();
 }
 public void Initialize()
 {
     if (!m_Initialized)
     {
         m_Initialized = true;
         m_PropMng = new PropagationModelLoadManager();
         LoadModelManager();
         m_IPTPLossCalcMethod = new PathLosCalcMethod(applicationContext);
         m_BackhaulPLCalc = new BackhaulPLCalc(applicationContext);
         m_PLCalcDataMngr = new PLCalcDataMngr(applicationContext);
         m_GetRelayUEPathLoss = new GetRelayUEPathLoss(applicationContext);
         m_TreeNodeOpeList.Add(m_ModelsMngr);
         m_PLCalcDataVstr = new Huawei.UNet.Propa.DataManager.PLCalcDataVstr(applicationContext);
         m_PLCalcDataVstr.PropModelCollection = m_PropModelCollection;
         m_GisDataProvider = ServiceHelper.Lookup<IDataProvider>(applicationContext);
         m_GeoDataObserver = new GeoDataObserver(m_GisDataProvider);
     }
 }