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; }
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); }