public CollegeStat(ICollegeRepository repository, CollegeInfo info, CollegeYearInfo yearInfo, IInfrastructureRepository infrastructureRepository, IHotSpotENodebRepository eNodebRepository, IHotSpotCellRepository cellRepository, IHotSpotBtsRepository btsRepository, IHotSpotCdmaCellRepository cdmaCellRepository) { Name = info.Name; ExpectedSubscribers = yearInfo?.ExpectedSubscribers ?? 0; Area = repository.GetRegion(info.Id)?.Area ?? 0; Id = info.Id; UpdateStats(infrastructureRepository); TotalLteENodebs = eNodebRepository.Count( x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.ENodeb); TotalLteCells = cellRepository.Count( x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.Cell); TotalCdmaBts = btsRepository.Count( x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.CdmaBts); TotalCdmaCells = cdmaCellRepository.Count( x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.CdmaCell); }
public CollegeCellViewService(IHotSpotCellRepository repository, ICellRepository cellRepoistory, IENodebRepository eNodebRepository, ILteRruRepository rruRepository) { _repository = repository; _cellRepository = cellRepoistory; _eNodebRepository = eNodebRepository; _rruRepository = rruRepository; }
public BasicImportService(IENodebRepository eNodebRepository, ICellRepository cellRepository, IBtsRepository btsRepository, ICdmaCellRepository cdmaCellRepository, IHotSpotCellRepository hotSpotCellRepository) { _eNodebRepository = eNodebRepository; _cellRepository = cellRepository; _btsRepository = btsRepository; _cdmaCellRepository = cdmaCellRepository; _hotSpotCellRepository = hotSpotCellRepository; }
public CollegeStatService(ICollegeRepository repository, IInfrastructureRepository infrastructureRepository, ICollegeYearRepository yearRepository, IHotSpotENodebRepository eNodebRepository, IHotSpotCellRepository cellRepository, IHotSpotBtsRepository btsRepository, IHotSpotCdmaCellRepository cdmaCellRepository) { _repository = repository; _infrastructureRepository = infrastructureRepository; _yearRepository = yearRepository; _eNodebRepository = eNodebRepository; _cellRepository = cellRepository; _btsRepository = btsRepository; _cdmaCellRepository = cdmaCellRepository; }
public BasicImportService(IENodebRepository eNodebRepository, ICellRepository cellRepository, IBtsRepository btsRepository, ICdmaCellRepository cdmaCellRepository, IStationDictionaryRepository stationDictionary, IDistributionRepository distributionRepository, IHotSpotCellRepository hotSpotCellRepository) { _eNodebRepository = eNodebRepository; _cellRepository = cellRepository; _btsRepository = btsRepository; _cdmaCellRepository = cdmaCellRepository; _stationDictionary = stationDictionary; _distributionRepository = distributionRepository; _hotSpotCellRepository = hotSpotCellRepository; }