public CellStasticService(ICellStasticRepository repository, ICellStatMysqlRepository statRepository, ICellRepository cellRepository) { _repository = repository; _statRepository = statRepository; _cellRepository = cellRepository; }
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> >(); } }