public MroFilesImporter(ICellRepository cellRepository, ILteNeighborCellRepository neighborCellRepository) { RsrpTaStatList = new List<MroRsrpTa>(); InterferenceStats = new List<PureInterferenceStat>(); _neighborRepository = new NearestPciCellRepository(cellRepository.GetAllList()); _neighborCellRepository = neighborCellRepository; }
public static MrRecordSet Generate(this List<CdrRtdRecord> taRecordList, ILteNeighborCellRepository repository, IEnumerable<Cell> cells, string path) { NearestPciCellRepository neighborRepository = new NearestPciCellRepository(cells); MrRecordSet recordSet; using (StreamReader stream = new StreamReader(path)) { recordSet = new MroRecordSet(stream); neighborRepository.AddNeighbors(repository, recordSet.ENodebId); taRecordList.Update(neighborRepository, recordSet); } return recordSet; }
public static MrRecordSet Generate(this List <CdrRtdRecord> taRecordList, ILteNeighborCellRepository repository, IEnumerable <Cell> cells, string path) { NearestPciCellRepository neighborRepository = new NearestPciCellRepository(cells); MrRecordSet recordSet; using (StreamReader stream = new StreamReader(path)) { recordSet = new MroRecordSet(stream); neighborRepository.AddNeighbors(repository, recordSet.ENodebId); taRecordList.Update(neighborRepository, recordSet); } return(recordSet); }
private static void Update(this List<CdrRtdRecord> taRecordList, NearestPciCellRepository neighborRepository, MrRecordSet recordSet) { recordSet.ImportRecordSet(neighborRepository); taRecordList.AddRange(recordSet.RecordList.Select(x => new CdrRtdRecord(x))); }
private static void Update(this List <CdrRtdRecord> taRecordList, NearestPciCellRepository neighborRepository, MrRecordSet recordSet) { recordSet.ImportRecordSet(neighborRepository); taRecordList.AddRange(recordSet.RecordList.Select(x => new CdrRtdRecord(x))); }