コード例 #1
0
ファイル: PredictionSubSys.cs プロジェクト: xiaoyj/Space
 private void InitializeSubSysInterface()
 {
     this.m_SubSysInterface.CellFilterBuilder = ServiceHelper.Lookup<ICellFilterBuilder>(this.m_AppContext);
     this.m_SubSysInterface.LossCalculatorBuilder = ServiceHelper.Lookup<ILTELinkLossCalculatorBuilder>(this.m_AppContext);
     this.m_SubSysInterface.EventViewService = ServiceHelper.Lookup<IEventViewService>(this.m_AppContext);
     this.m_SubSysInterface.StatusBarService = ServiceHelper.Lookup<IStatusBarService>(this.m_AppContext);
     this.m_SubSysInterface.ProjectManager = ServiceHelper.Lookup<IProjectManager>(this.m_AppContext);
     this.m_SubSysInterface.ProjectPrint = ServiceHelper.Lookup<IPrintProject>(this.m_AppContext);
     this.m_SubSysInterface.IAntenna = ServiceHelper.Lookup<ICalcGain>(this.m_AppContext);
     IDataProvider provider = ServiceHelper.Lookup<IDataProvider>(this.m_AppContext);
     this.m_IGisObServer = new PredictionGISObserver();
     provider.RegisterObserver(this.m_IGisObServer);
     this.m_SubSysInterface.IGis = this.m_IGisObServer;
     this.m_SubSysInterface.AnalyDispEvent = ServiceHelper.Lookup<IAnalyDispEvent>(this.m_AppContext);
     this.m_SubSysInterface.GisPrint = ServiceHelper.Lookup<IGisPrintLayer>(this.m_AppContext);
     this.m_SubSysInterface.INet = ServiceHelper.Lookup<IPrediction>(this.m_AppContext);
     this.m_SubSysInterface.IPropagationData = ServiceHelper.Lookup<IPLCalcDataVstr>(this.m_AppContext);
     this.m_SubSysInterface.IPropagationManager = ServiceHelper.Lookup<IPLCalcDataMngr>(this.m_AppContext);
     this.m_SubSysInterface.IPropagModelCollection = ServiceHelper.Lookup<IPropagModelCollection>(this.m_AppContext);
     this.m_SubSysInterface.TrafficForPrediction = ServiceHelper.Lookup<ITrafficForApplication>(this.m_AppContext);
     this.m_SubSysInterface.ITrafficMCS = ServiceHelper.Lookup<ITrafficMCS>(this.m_AppContext);
 }
コード例 #2
0
ファイル: PredictionSubSys.cs プロジェクト: xiaoyj/Space
 public void Dispose(bool disposing)
 {
     if (!this.m_Disposed)
     {
         if (disposing)
         {
             this.m_NodeOperations = null;
             this.m_PredictionResultManager = null;
             this.m_PredictionContextMenuView = null;
             this.m_IGisObServer = null;
             this.m_IPredicForTrafficMap = null;
         }
         if ((this.m_PredictionGroupsManager != null) && (this.m_PredictionGroupsManager.CalculateManager != null))
         {
             this.m_PredictionGroupsManager.CalculateManager.AbortCalculate();
         }
         this.m_PredictionGroupsManager = null;
     }
     this.m_Disposed = true;
 }
コード例 #3
0
ファイル: PredictionSubSys.cs プロジェクト: xiaoyj/Space
 private void Init()
 {
     this.InitNodeOperations();
     this.InitSubToolStrips();
     this.m_SubSysInterface = new OtherSubSysInterface();
     this.m_PredictionGroupsManager = new Huawei.UNet.LTEPrediction.PredictionManager.PredictionGroupsManager(this.m_SubSysInterface);
     this.m_PredictionResultManager = new PredictionResultManager(this.m_PredictionGroupsManager, this.m_SubSysInterface);
     this.m_PredictionGroupsManager.RootNode = this.m_NodeOperations[0].SubSysNode;
     this.m_PredictionContextMenuView = new PredictionContextMenuView(this.m_PredictionGroupsManager, this.m_SubSysInterface, this.m_PredictionResultManager, this.m_AppContext);
     this.m_NodeOperations[0].SubSysNode.ContextMenuStrip = this.m_PredictionContextMenuView.cmsPredictions;
     this.m_IGisObServer = new PredictionGISObserver();
     this.m_IPredicForTrafficMap = new LTETrafficMapCoveragePlugin(this.m_PredictionGroupsManager.PredictionGroups, this.m_AppContext);
     this.m_IPredictionForTrafficParameter = new ForTrafficParameter(this.m_PredictionGroupsManager.PredictionGroups);
     this.m_IExportCoverAntoPlan = new ExportCoverage(this.m_PredictionGroupsManager, this.m_SubSysInterface);
 }