public CaculateMgr(ISimFactoryBuilder factoryBuilder, ISimGroupCollection groupCollection, IApplicationContext appContext) { this.m_FactoryBuilder = factoryBuilder; this.m_GroupCollection = groupCollection; this.m_AppContext = appContext; this.m_EventViewService = ServiceHelper.Lookup<IEventViewService>(this.m_AppContext); this.m_EngineDic = new Dictionary<int, ISimulationEngine>(); }
public CalculateEngine(IApplicationContext appContext) { this.m_AppContext = appContext; this.m_ProjectMgr = ServiceHelper.Lookup<IProjectManager>(appContext); this.m_EventViewService = ServiceHelper.Lookup<IEventViewService>(appContext); this.m_StyleCreater = new StyleOfSpecialStudyCreater(appContext); this.m_LockHandle = new object(); this.InitialStudyWeight(); }
public PredictionDataManager(LtePredictionGroup pg, IApplicationContext appContext, string savepath) { this.m_ProgressHandle = ServiceHelper.Lookup<IEventViewService>(appContext); this.m_ICellFilterBuilder = ServiceHelper.Lookup<ICellFilterBuilder>(appContext); this.m_ITrafficMCS = ServiceHelper.Lookup<ITrafficMCS>(appContext); this.m_CellFilter = new CellFilter(); IGeoProvider provider = ServiceHelper.Lookup<IGeoProvider>(appContext); this.m_LteCellFilter = new LteCellFilter(provider.GetGeoInfo); this.m_IPLCalcVstr = ServiceHelper.Lookup<IPLCalcDataVstr>(appContext); //add by xujuan m_IGetRelayUEPathLoss = ServiceHelper.Lookup<IGetRelayUEPathLoss>(appContext); this.m_Group = pg; UnionPsService trafficService = this.m_Group.TrafficService as UnionPsService; LTEService service2 = trafficService.PSServiceDic[NetWorkType.LTE] as LTEService; this.m_DLBLER = service2.DLBLER; this.m_ULBLER = service2.ULBLER; this.m_CaseDataManager = new CaseDataManager(this.m_Group, savepath); this.m_NeedCalActualRxIntf = false; this.m_NeedCalMaxRxIntf = false; this.m_NeedCalHandOverArea = false; this.m_NeedCalSymbolRSRP = false; this.m_NeedCalOverlapping = false; this.m_NeedCalRSRQ = false; //add by huna 3.28 this.m_NeedLTEBestServerID = false; this.NeedCreateActualRxPowerValueMatrix(); this.NeedCreateMaxRxPowerValueMartix(); //add by huna 3.28 this.IsNeedLTEBestServerID(); //2011.3.17 this.IsCalcRPDCCHLevel(); //add by huna 3.17 this.IsCalcRPDSCHLevel(); this.IsCalcRPUCCHLevel(); this.IsNeedCalHandOverArea(); this.NeedCalSymbol_RSRP(); this.NeedCalOverlapping(); this.NeedCalRsrq(); this.NeedCreatePenetrationLossValueMatrix(); this.NeedCalULStudy(); //add by huna 3.18 this.NeedCalRULStudy(); this.m_CaseDataManager.NeedCalRSRQ = this.m_NeedCalRSRQ; this.m_CaseDataManager.NeedCalSymbolRSRP = this.m_NeedCalSymbolRSRP; this.SetSavingPath(savepath); //add by huna 3.28 this.m_CaseDataManager.NeedLTEBestServerID = this.m_NeedLTEBestServerID; this.m_CaseDataManager.NeedULLinkloss = this.m_NeedCalRULStudy; //add by huna 4.2 this.m_CaseDataManager.NeedRPDCCHLevel = this.m_NeedCalRPDCCH; this.m_CaseDataManager.NeedRPDSCHLevel = this.m_NeedCalRPDSCH; this.m_CaseDataManager.NeedRPUCCHLevel = this.m_NeedCalRPUCCH; }
public AdjustForm(IBaseService iBaseService, IList<FileInfoBase> fileInfoList) { this.m_IBaseService = iBaseService; this.m_IEventViewService = ServiceHelper.Lookup<IEventViewService>(iBaseService); this.InitializeComponent(); this.m_Manage = new SetParamManage(iBaseService, this.m_DataForAdjust, fileInfoList); this.m_Manage.InitPropModel(this.cbPropModel); this.m_FileInfoList = fileInfoList; this.m_Manage.InitCheckBoxList(this.clbMeasureFile); this.InitTablelayoutpanel(); }
public PointAnalysisToolFrm(IApplicationContext appContext) { InitializeComponent(); //初始化显示类型为路损 m_ResultTypeComboBox.Text = PointAnalyseResource.POINTANALYSE_PATHLOSS; m_AppContext = appContext; m_ProfilePainter = new ProfilePainter(m_GraphicPanel); m_ReceptPwPainter = new ReceptPwPainter(ReceptionShowPanel); m_ASReceptPwPainter = new ReceptPwPainter(plASReceptionShow); m_PointAnalysisCalculator = new PointAnalysisCalculator(appContext); m_EventViewService = ServiceHelper.Lookup<IEventViewService>(m_AppContext); InitChannelListView(); }
public MapClutterHelper(GeoPolygonRegion poly, IGeoPolygonAssist polyAssist, Dictionary<short, ClutterData> clutterDataDict, IApplicationContext appContext, bool isFixure) { this.m_ClutterAreaPercentDict = new Dictionary<short, double>(); this.m_ClutterPtsCntDict = new Dictionary<short, int>(); this.m_CluttersId = new List<short>(); this.m_ClutterWeightFactorDict = new Dictionary<short, double>(); this.m_ClutterDataDict = clutterDataDict; this.EventViewService = appContext.Lookup(typeof(IEventViewService).FullName) as IEventViewService; this.EventViewService.SetProgressScope(TrafficMapResource.TRAFFICMAP_GENUSER, 0, 100); this.m_ClutterPtsCntDict = polyAssist.GetClutterCountDict(poly, new SimulationProgressHandle(this.ReportProgrss), 5, 0x55, TrafficMapResource.TRAFFICMAP_GENUSER, !isFixure); this.EventViewService.ResetProgress(TrafficMapResource.TRAFFICMAP_GENUSER); this.GetClutterIDs(); this.GetClutterAreaPercentDict(); this.GetClutterWeightFactorDict(); }
public CDFCompareForm(ControllerMgr controllerMgr, IApplicationContext subSysInterface, List<NetWorkType> predictionTypeList, Dictionary<NetWorkType, List<StudyTemplate>> studyTemplateConfigDic) { this.InitializeComponent(); this.cboNetType.SelectedIndexChanged += new EventHandler(this.cboNetTrpe_SelectedIndexChanged); this.m_ControllerMgr = controllerMgr; this.m_SubSysInterface = subSysInterface; this.m_PredictionTypeList = predictionTypeList; this.m_StudyTemplateConfigDic = studyTemplateConfigDic; this.m_EventViewService = ServiceHelper.Lookup<IEventViewService>(subSysInterface); this.Init(); this.cboNetType.SelectedIndex = 0; this.m_PredictionStatisticsManager = new PredictionStatisticsManager(this.m_SubSysInterface); this.DisplayGraphCDFForAllGroup(); this.cboStudy.SelectedIndexChanged += new EventHandler(this.cboStudy_SelectedIndexChanged); this.dgvGroup.CellContentClick += new DataGridViewCellEventHandler(this.dgvGroup_CellContentClick); this.cboStudy.SelectedIndex = 0; }
public PredictionReportForm(ControllerMgr pgm, IApplicationContext appContext, TreeNode rootNode) { this.m_AppContext = appContext; this.m_IGeoProvider = ServiceHelper.Lookup<IGeoProvider>(this.m_AppContext); this.m_IProjectManager = ServiceHelper.Lookup<IProjectManager>(this.m_AppContext); this.m_IAnalyDispEvent = ServiceHelper.Lookup<IAnalyDispEvent>(this.m_AppContext); this.m_EventViewService = ServiceHelper.Lookup<IEventViewService>(this.m_AppContext); this.m_ControllerMgr = pgm; this.psm = new PredictionStatisticsManager(this.m_AppContext); this.m_rootNode = rootNode; this.InitializeComponent(); this.GetClutter(); this.ExportDataDisplay(); this.dgvExpoertData.AllowUserToAddRows = false; this.dgvExpoertData.AllowUserToDeleteRows = false; this.dgvExpoertData.ServiceCustom.ServiceCustomDic[DgvServiceEnum.RecordProperties] = false; this.dgvExpoertData.ServiceCustom.ServiceCustomDic[DgvServiceEnum.Copy] = false; this.dgvExpoertData.ServiceCustom.ServiceCustomDic[DgvServiceEnum.Paste] = false; }
public LegendExportAndImport(IApplicationContext appContext) { this.m_EventViewService = ServiceHelper.Lookup<IEventViewService>(appContext); }
public XLSImportManage(IApplicationContext context, CollectionsModel model) { this.m_Model = model; this.m_IEventViewService = ServiceHelper.Lookup<IEventViewService>(context); }
private void PredictionTableToData(PredictionSystemData predictionData, XlsTable xTable, IEventViewService eventViewService) { PredictionConfig config = new PredictionConfig(); for (int i = 0; i < xTable.Data.Rows.Count; i++) { DataRow row = xTable.Data.Rows[i]; try { config.Resolution = float.Parse(row["Default Resolution(m)"].ToString()); config.UEHeight = float.Parse(row["Receiver Height(m)"].ToString()); } catch (Exception exception) { eventViewService.WriteLog(string.Format(LTEPredictionResource.PREDICTION_TABLE_CONVERT_FAIL, Convert.ToString((int) (i + 1))), Huawei.UNet.Frame.Interface.LogLevel.Warning); WriteLog.Logger.Error(exception.StackTrace); config = null; } } predictionData.PredictionConfig = config; }
public SimulationLegendMgr(IApplicationContext appContext) { this.m_EventViewSerivce = ServiceHelper.Lookup<IEventViewService>(appContext); }
public XLSManage(IApplicationContext applicationContext) { this.m_ApplicationContext = applicationContext; this.m_IEventViewService = ServiceHelper.Lookup<IEventViewService>(this.m_ApplicationContext); }