示例#1
0
 public MroFilesImporter(ICellRepository cellRepository,
     ILteNeighborCellRepository neighborCellRepository)
 {
     RsrpTaStatList = new List<MroRsrpTa>();
     InterferenceStats = new List<PureInterferenceStat>();
     _neighborRepository
         = new NearestPciCellRepository(cellRepository.GetAllList());
     _neighborCellRepository = neighborCellRepository;
 }
示例#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;
 }
示例#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);
        }
示例#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)));
 }
示例#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)));
 }