Example #1
0
 public MroFilesImporter(ICellRepository cellRepository,
     ILteNeighborCellRepository neighborCellRepository)
 {
     RsrpTaStatList = new List<MroRsrpTa>();
     InterferenceStats = new List<PureInterferenceStat>();
     _neighborRepository
         = new NearestPciCellRepository(cellRepository.GetAllList());
     _neighborCellRepository = neighborCellRepository;
 }
Example #2
0
 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;
 }
Example #3
0
        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);
        }
Example #4
0
 private static void Update(this List<CdrRtdRecord> taRecordList,
     NearestPciCellRepository neighborRepository, MrRecordSet recordSet)
 {
     recordSet.ImportRecordSet(neighborRepository);
     taRecordList.AddRange(recordSet.RecordList.Select(x => new CdrRtdRecord(x)));
 }
Example #5
0
 private static void Update(this List <CdrRtdRecord> taRecordList,
                            NearestPciCellRepository neighborRepository, MrRecordSet recordSet)
 {
     recordSet.ImportRecordSet(neighborRepository);
     taRecordList.AddRange(recordSet.RecordList.Select(x => new CdrRtdRecord(x)));
 }