public CollegeCellsController(IInfrastructureRepository repository, ICellRepository cellRepository, IENodebRepository eNodebRepository) { _repository = repository; _cellRepository = cellRepository; _eNodebRepository = eNodebRepository; }
public CollegeStatService(ICollegeRepository repository, IInfrastructureRepository infrastructureRepository, ICollegeYearRepository yearRepository) { _repository = repository; _infrastructureRepository = infrastructureRepository; _yearRepository = yearRepository; }
public CollegeCdmaCellViewService(IInfrastructureRepository repository, ICdmaCellRepository cellRepository, IBtsRepository btsRepository) { _repository = repository; _cellRepository = cellRepository; _btsRepository = btsRepository; }
public CollegeCellsService(IInfrastructureRepository repository, ICellRepository cellRepository, IENodebRepository eNodebRepository) { _repository = repository; _cellRepository = cellRepository; _eNodebRepository = eNodebRepository; }
public CollegeCdmaCellsService(IInfrastructureRepository repository, ICdmaCellRepository cellRepository, IBtsRepository btsRepository) { _repository = repository; _cellRepository = cellRepository; _btsRepository = btsRepository; }
public CollegeENodebService(IInfrastructureRepository repository, IENodebRepository eNodebRepository, IAlarmRepository alarmRepository) { _repository = repository; _eNodebRepository = eNodebRepository; _alarmRepository = alarmRepository; }
public TownBoundaryService(ITownRepository repository, ITownBoundaryRepository boundaryRepository, IInfrastructureRepository infrastructureRepository) { _repository = repository; _boundaryRepository = boundaryRepository; _infrastructureRepository = infrastructureRepository; }
public CollegeCellViewService(IInfrastructureRepository repository, ICellRepository cellRepoistory, IENodebRepository eNodebRepository) { _repository = repository; _cellRepository = cellRepoistory; _eNodebRepository = eNodebRepository; }
public CoveragePointsController(IInfrastructureRepository repository, ICellRepository cellRepository, ICdmaCellRepository cdmaCellRepository) { _repository = repository; _cellRepository = cellRepository; _cdmaCellRepository = cdmaCellRepository; }
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 CollegeAlarmService(IInfrastructureRepository infrastructureRepository, IENodebRepository eNodebRepository, IAlarmRepository alarmRepository) { _infrastructureRepository = infrastructureRepository; _eNodebRepository = eNodebRepository; _alarmRepository = alarmRepository; }
public CollegePreciseService(IInfrastructureRepository repository, ICellRepository cellRepository, IENodebRepository eNodebRepository, IPreciseCoverage4GRepository kpiRepository) { _repository = repository; _cellRepository = cellRepository; _eNodebRepository = eNodebRepository; _kpiRepository = kpiRepository; }
public CollegeAlarmController(ICollegeRepository repository, IInfrastructureRepository infrastructureRepository, IAlarmRepository alarmRepository, IENodebRepository eNodebRepository) { _repository = repository; _infrastructureRepository = infrastructureRepository; _alarmRepository = alarmRepository; _eNodebRepository = eNodebRepository; }
public static IEnumerable <CdmaCell> QueryCollegeCdmaCells(this IInfrastructureRepository repository, ICdmaCellRepository cdmaCellRepository, CollegeInfo info) { IEnumerable <int> ids = repository.InfrastructureInfos.Where(x => x.HotspotName == info.Name && x.InfrastructureType == InfrastructureType.CdmaCell ).Select(x => x.InfrastructureId).ToList(); return(ids.Select(cdmaCellRepository.Get).Where(cell => cell != null).ToList()); }
private void UpdateStats(IInfrastructureRepository repository) { TotalLteIndoors = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.LteIndoor); TotalCdmaIndoors = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.CdmaIndoor); }
public static IEnumerable <CdmaBts> QueryCollegeBtss(this IInfrastructureRepository repository, IBtsRepository btsRepository, CollegeInfo info) { IEnumerable <int> ids = repository.InfrastructureInfos.Where(x => x.HotspotName == info.Name && x.InfrastructureType == InfrastructureType.CdmaBts ).Select(x => x.InfrastructureId).ToList(); return(ids.Select(btsRepository.Get).Where(bts => bts != null).ToList()); }
public static IEnumerable <ENodeb> QueryCollegeENodebs(this IInfrastructureRepository repository, IENodebRepository eNodebRepository, CollegeInfo info) { IEnumerable <int> ids = repository.InfrastructureInfos.Where(x => x.HotspotName == info.Name && x.InfrastructureType == InfrastructureType.ENodeb ).Select(x => x.InfrastructureId).ToList(); return(ids.Select(i => eNodebRepository.GetAll().FirstOrDefault(x => x.Id == i) ).Where(eNodeb => eNodeb != null).ToList()); }
public CollegeStat(ICollegeRepository repository, CollegeInfo info, CollegeYearInfo yearInfo, IInfrastructureRepository infrastructureRepository) { CollegeRegion region = repository.GetRegion(info.Id); Name = info.Name; ExpectedSubscribers = yearInfo?.ExpectedSubscribers ?? 0; Area = region?.Area??0; Id = info.Id; UpdateStats(infrastructureRepository); }
public CollegeStat(ICollegeRepository repository, CollegeInfo info, IInfrastructureRepository infrastructureRepository) { CollegeRegion region = repository.GetRegion(info.Id); Name = info.Name; ExpectedSubscribers = info.ExpectedSubscribers; Area = region.Area; Id = region.AreaId; UpdateStats(infrastructureRepository); }
public static IEnumerable <IndoorDistribution> QueryCollegeCdmaDistributions( this IInfrastructureRepository repository, IIndoorDistributioinRepository indoorRepository, CollegeInfo info) { IEnumerable <int> ids = repository.InfrastructureInfos.Where(x => x.HotspotName == info.Name && x.InfrastructureType == InfrastructureType.CdmaIndoor ).Select(x => x.InfrastructureId).ToList(); return(ids.Select(i => indoorRepository.IndoorDistributions.FirstOrDefault(x => x.Id == i) ).Where(distribution => distribution != null).ToList()); }
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 NearestPciCellService(INearestPciCellRepository repository, ICellRepository cellRepository, IENodebRepository eNodebRepository, IInfrastructureRepository infrastructureRepository) { _repository = repository; _cellRepository = cellRepository; _eNodebRepository = eNodebRepository; _infrastructureRepository = infrastructureRepository; if (NearestCells == null) { NearestCells = new Stack <NearestPciCell>(); } }
public CollegeController(ICollegeRepository repository, ITownRepository townRepository, IInfrastructureRepository infrastructureRepository, IIndoorDistributioinRepository indoorDistributioinRepository, IENodebRepository eNodebRepository, ICellRepository cellRepository, IBtsRepository btsRepository, ICdmaCellRepository cdmaCellRepository) { _repository = repository; _townRepository = townRepository; _infrastructureRepository = infrastructureRepository; _indoorDistributioinRepository = indoorDistributioinRepository; _eNodebRepository = eNodebRepository; _cellRepository = cellRepository; _btsRepository = btsRepository; _cdmaCellRepository = cdmaCellRepository; }
public InterferenceMatrixService(IInterferenceMatrixRepository repository, ICellRepository cellRepository, IInfrastructureRepository infrastructureRepository) { _repository = repository; if (InterferenceMatrixStats == null) InterferenceMatrixStats = new Stack<InterferenceMatrixStat>(); if (PciCellList == null) { var cells = from cell in cellRepository.GetAllList() join moinitor in infrastructureRepository.GetAllPreciseMonitor() on cell.Id equals moinitor.InfrastructureId select cell; PciCellList = cells.MapTo<List<PciCell>>(); } }
public CollegeController( IInfrastructureRepository infrastructureRepository, IIndoorDistributioinRepository indoorDistributioinRepository, IENodebRepository eNodebRepository, ICellRepository cellRepository, IBtsRepository btsRepository, ICdmaCellRepository cdmaCellRepository, IAlarmRepository alarmRepository) { _infrastructureRepository = infrastructureRepository; _indoorDistributioinRepository = indoorDistributioinRepository; _eNodebRepository = eNodebRepository; _cellRepository = cellRepository; _btsRepository = btsRepository; _cdmaCellRepository = cdmaCellRepository; _alarmRepository = alarmRepository; }
private void UpdateStats(IInfrastructureRepository repository) { TotalLteENodebs = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.ENodeb); TotalLteCells = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.Cell); TotalCdmaBts = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.CdmaBts); TotalCdmaCells = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.CdmaCell); TotalLteIndoors = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.LteIndoor); TotalCdmaIndoors = repository.Count(x => x.HotspotName == Name && x.HotspotType == HotspotType.College && x.InfrastructureType == InfrastructureType.CdmaIndoor); }
public InterferenceMatrixService(IInterferenceMatrixRepository repository, ICellRepository cellRepository, IInfrastructureRepository infrastructureRepository, IInterferenceMongoRepository mongoRepository, ICellStatMysqlRepository statRepository, ICellStasticRepository mongoStatRepository) { _repository = repository; _mongoRepository = mongoRepository; _statRepository = statRepository; _mongoStatRepository = mongoStatRepository; if (InterferenceMatrixStats == null) { InterferenceMatrixStats = new Stack <InterferenceMatrixStat>(); } if (PciCellList == null) { var cells = from cell in cellRepository.GetAllList() join moinitor in infrastructureRepository.GetAllPreciseMonitor() on cell.Id equals moinitor.InfrastructureId select cell; PciCellList = cells.MapTo <List <PciCell> >(); } }
public HotSpotService(IInfrastructureRepository repository) { _repository = repository; }
public CollegeCdmaCellsController(IInfrastructureRepository repository, ICdmaCellRepository cellRepository) { _repository = repository; _cellRepository = cellRepository; }
public NeighborMonitorService(IInfrastructureRepository repository, ICellRepository cellRepository) { _repository = repository; _cellRepository = cellRepository; }
public RebeldService(ILog logger, IInfrastructureRepository <Rebeld> rebeldRepository) { this.rebeldRepository = rebeldRepository; this.logger = logger; }
public CollegeBtssService(IInfrastructureRepository repository, IBtsRepository btsRepository, ITownRepository townRepository) { _repository = repository; _btsRepository = btsRepository; _townRepository = townRepository; }
public CollegeENodebController(IInfrastructureRepository repository, IENodebRepository eNodebRepository) { _repository = repository; _eNodebRepository = eNodebRepository; }
public CollegeCdmaDistributionsController(IInfrastructureRepository repository, IIndoorDistributioinRepository indoorRepository) { _repository = repository; _indoorRepository = indoorRepository; }
public CollegeBtssService(IInfrastructureRepository repository, IBtsRepository btsRepository) { _repository = repository; _btsRepository = btsRepository; }
public CollegeStatService(ICollegeRepository repository, IInfrastructureRepository infrastructureRepository) { _repository = repository; _infrastructureRepository = infrastructureRepository; }
public SaveCollegeInfrastructureService(IInfrastructureRepository repository) { _repository = repository; }
public CollegeBtssController(IInfrastructureRepository repository, IBtsRepository btsRepository) { _repository = repository; _btsRepository = btsRepository; }
public CollegeCdmaDistributionService(IInfrastructureRepository repository, IIndoorDistributionRepository indoorRepository) { _repository = repository; _indoorRepository = indoorRepository; }
public CollegeENodebService(IInfrastructureRepository repository, IENodebRepository eNodebRepository) { _repository = repository; _eNodebRepository = eNodebRepository; }
public HotSpotService(IInfrastructureRepository repository, ITownBoundaryRepository boundaryRepository) { _repository = repository; _boundaryRepository = boundaryRepository; }
public static DtRecordPoint UpdateCollegeCoverageList(IInfrastructureRepository repository, ICellRepository cellRepository, ICdmaCellRepository cdmaCellRepository, string name, double range) { FileRecords2GList = repository.GetCollege2GRecords(cdmaCellRepository, name, range); FileRecords3GList = repository.GetCollege3GRecords(cdmaCellRepository, name, range); FileRecords4GList = repository.GetCollege4GRecords(cellRepository, name, range); return new DtRecordPoint { Lon = FileRecords4GList.Average(x => x.BaiduLongtitute), Lat = FileRecords4GList.Average(x => x.BaiduLattitute) }; }
public InfrastructureService(IInfrastructureRepository repository) { this.repository = repository; }
public CollegeStatController(ICollegeRepository repository, IInfrastructureRepository infrastructureRepository) { _repository = repository; _infrastructureRepository = infrastructureRepository; }
public CustomErrorHandlerAttribute(IInfrastructureRepository repository) { _repository = repository; }