public CellService(ICellRepository repository, IENodebRepository eNodebRepository, ILteRruRepository rruRepository, IStationDictionaryRepository stationDictionaryRepository) { _repository = repository; _eNodebRepository = eNodebRepository; _rruRepository = rruRepository; _stationDictionaryRepository = stationDictionaryRepository; }
public CollegeCellViewService(IHotSpotCellRepository repository, ICellRepository cellRepoistory, IENodebRepository eNodebRepository, ILteRruRepository rruRepository) { _repository = repository; _cellRepository = cellRepoistory; _eNodebRepository = eNodebRepository; _rruRepository = rruRepository; }
public StationImportService(IDistributionRepository distributionRepository, IENodebBaseRepository eNodebBaseRepository, IENodebRepository eNodebRepository, IConstructionInformationRepository constructionInformation, IStationRruRepository stationRruRepository, IStationAntennaRepository stationAntennaRepository, IStationDictionaryRepository stationDictionary, ITownRepository townRepository, ICellRepository cellRepository, ILteRruRepository rruRepository) { _distributionRepository = distributionRepository; _constructionInformation = constructionInformation; _stationRruRepository = stationRruRepository; _stationAntennaRepository = stationAntennaRepository; _eNodebBaseRepository = eNodebBaseRepository; _eNodebRepository = eNodebRepository; _stationDictionary = stationDictionary; _townRepository = townRepository; _cellRepository = cellRepository; _rruRepository = rruRepository; if (Stations == null) { Stations = new Stack <StationDictionaryExcel>(); } if (ENodebBases == null) { ENodebBases = new Stack <ENodebBaseExcel>(); } if (StationCells == null) { StationCells = new Stack <ConstructionExcel>(); } if (StationRrus == null) { StationRrus = new Stack <StationRruExcel>(); } if (StationAntennas == null) { StationAntennas = new Stack <StationAntennaExcel>(); } if (StationDistributions == null) { StationDistributions = new Stack <IndoorDistributionExcel>(); } if (Towns == null) { Towns = _townRepository.GetAllList(); } }
public static CellRruView ConstructCellRruView(this Cell cell, IENodebRepository repository, ILteRruRepository rruRepository) { var view = Mapper.Map <Cell, CellRruView>(cell); var eNodeb = repository.FirstOrDefault(x => x.ENodebId == cell.ENodebId); view.ENodebName = eNodeb?.Name; var rru = rruRepository.FirstOrDefault(x => x.ENodebId == cell.ENodebId && x.LocalSectorId == cell.LocalSectorId); rru?.MapTo(view); return(view); }
public CellDumpService(IBtsRepository btsRepository, ICellRepository cellRepository, ILteRruRepository rruRepository) { _btsRepository = btsRepository; _cellRepository = cellRepository; _rruRepository = rruRepository; }
public CellService(ICellRepository repository, IENodebRepository eNodebRepository, ILteRruRepository rruRepository) { _repository = repository; _eNodebRepository = eNodebRepository; _rruRepository = rruRepository; }