private string LoadFile(string filename) { FileAccesser fa = new FileAccesser(filename); fa.Load(); return fa.InputBuffer; }
public void InitStage2() { m_FileAccesser = new FileAccesser(applicationContext); m_PLCalcDataVstr.FileAccesser = m_FileAccesser; m_RelayFileAccess = new RelayFileAccesser(applicationContext); m_GetRelayUEPathLoss.RelayFileAccesser = m_RelayFileAccess; ((PLCalcDataMngr)m_PLCalcDataMngr).FileAccesser = m_FileAccesser; ((PLCalcDataMngr)m_PLCalcDataMngr).RelayFileAccesser = m_RelayFileAccess; ICalcGain gain = ServiceHelper.Lookup<ICalcGain>(applicationContext); m_PLCalcDataVstr.AntennaGainCalculator = gain; m_ModelsMngr.PropModelCategoryList = m_PropModelCollection.PropModelCategoryList; m_PropModelCategoryList = m_ModelsMngr.PropModelCategoryList; propModelTreeUserControl.PropModelCollection = m_PropModelCollection; m_ModelsMngr.PropModelTree.NEPropagation = ServiceHelper.Lookup<IPropagation>(applicationContext); m_PropModelCollection.GisClutterDictionary = m_GeoDataObserver.GisClutterDictionary; m_ModelsMngr.PropModelTree.GeoDataObserver = m_GeoDataObserver; ((PathLosCalcMethod) m_IPTPLossCalcMethod).PropationModelMng = m_PropMng; ((PathLosCalcMethod) m_IPTPLossCalcMethod).GeoDataProvider = m_GeoDataObserver; ((PathLosCalcMethod) m_IPTPLossCalcMethod).Init(); ((BackhaulPLCalc)m_BackhaulPLCalc).PropationModelMng = m_PropMng; ((BackhaulPLCalc)m_BackhaulPLCalc).GeoDataProvider = m_GeoDataObserver; ((BackhaulPLCalc)m_BackhaulPLCalc).Init(); InitCellNeList(); InitPropModels(); m_PLCalcDataVstr.PLCalcCollection = ((PathLosCalcMethod) m_IPTPLossCalcMethod).PLCalcCollection; }