Example #1
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;
 }
Example #2
0
 public SPMAdjustDT(IBaseService iBaseService, DataForAdjust dataForAdjust, IList<FileInfoBase> dtFileList)
 {
     base.m_IBaseService = iBaseService;
     this.m_antennaGain = ServiceHelper.Lookup<ICalcGain>(iBaseService);
     base.m_GeoDataObserver = ServiceHelper.Lookup<IPropaGeoDataObserver>(iBaseService);
     this.m_StatusBarService = ServiceHelper.Lookup<IStatusBarService>(iBaseService);
     this.m_SectionPathLossCalcParam = new SectionPathLossCalcParam();
     base.modelBeforeAdjust = dataForAdjust.PropModel as SpmPropagationModel;
     base.modelAfterAdjust = (SpmPropagationModel) base.modelBeforeAdjust.Clone();
     this.m_SectionPathLossCalcParam.PropagModel = base.modelAfterAdjust;
     this.m_ClutterLossMethod = base.modelAfterAdjust.ClutLossCalcuMethod as ClutterLossBase;
     this.m_EffTxHeightMethod = base.modelAfterAdjust.EffTxHeightCalcuMethod as EffectTxHeightBase;
     base.endCondition = dataForAdjust.EndCondition;
     base.isCoeNeedAdjust = dataForAdjust.IsCoeNeedAdjust;
     this.m_DTFileList = dtFileList;
     this.m_DataForAdjust = dataForAdjust;
     base.m_ClutterTypeNum = base.m_GeoDataObserver.GisInfo.GetAllClutter().Count;
     base.lossesperClutterMatrix = new float[base.m_ClutterTypeNum];
     base.modelCoeValue = new float[] { base.modelBeforeAdjust.K1, base.modelBeforeAdjust.K2, base.modelBeforeAdjust.K3, base.modelBeforeAdjust.K4, base.modelBeforeAdjust.K5, base.modelBeforeAdjust.K6, base.modelBeforeAdjust.K7 };
     base.modelCoeNum = base.isCoeNeedAdjust.Length;
 }