Exemple #1
0
 public ILTELinkLossCalculator GetCalculator(float cellEdgeCoverageProbability)
 {
     CalLinkLossParam calParam = new CalLinkLossParam();
     calParam.iplCalDataVstr = ServiceHelper.Lookup<IPLCalcDataVstr>(this.m_AppContext).GeneratePLCalcDataVstr();
     calParam.clutterParams = this.m_GeoObserver.ClutterParams;
     calParam.geoInfo = this.m_GeoObserver.GeoInfo;
     calParam.antGainCal = ServiceHelper.Lookup<ICalcGain>(this.m_AppContext);
     calParam.IsBuildingLoaded = this.m_GeoObserver.IsBuildingLoaded;
     calParam.CellEdgeCoverageProbability = cellEdgeCoverageProbability;
     //GetRelayUEPathLoss getRelayUEPathLoss = new GetRelayUEPathLoss(m_AppContext);
     //calParam.iGetRelayUEPathLoss = getRelayUEPathLoss.GenerateGetRelayUEPathLoss();
     calParam.iGetRelayUEPathLoss = ServiceHelper.Lookup<IGetRelayUEPathLoss>(m_AppContext).GenerateGetRelayUEPathLoss();
     return new LinkLoss(calParam, this.m_AppContext);
 }
Exemple #2
0
 public LinkLoss(CalLinkLossParam calParam, IApplicationContext appContex)
 {
     this.m_clutterParams = calParam.clutterParams;
     this.m_GeoInfo = calParam.geoInfo;
     this.m_antGainCal = calParam.antGainCal;
     this.m_iplCalDataVstr = calParam.iplCalDataVstr;
     this.m_IsBuildingLoaded = calParam.IsBuildingLoaded;
     this.m_StructAntennaParam = new StructAntennaParam();
     this.m_DicOfParamsFromGIS = new Dictionary<short, ParamsFromGIS>();
     this.AddDictionary(calParam.CellEdgeCoverageProbability);
     LinkLossConfiguration configuration = new LinkLossConfiguration(appContex);
     this.m_Layers = configuration.ReaderLayers();
     this.m_MCL = configuration.GetMCL();
     //add by xujuan
     m_iGetRelayUEPathLoss = calParam.iGetRelayUEPathLoss;
 }