コード例 #1
0
 public IndoorDistributionService(IIndoorDistributionRepository repository,
                                  IENodebBaseRepository eNodebBaseRepository, IConstructionInformationRepository cellRepository)
 {
     _repository           = repository;
     _eNodebBaseRepository = eNodebBaseRepository;
     _cellRepository       = cellRepository;
 }
コード例 #2
0
        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();
            }
        }
コード例 #3
0
 public BtsConstructionService(IConstructionInformationRepository constructionRepository,
                               IEnodebBaseRepository enodebBaseRepository)
 {
     _constructionRepository = constructionRepository;
     _enodebBaseRepository   = enodebBaseRepository;
 }
コード例 #4
0
 public ConstructionInformationService(IConstructionInformationRepository repository,
                                       IENodebBaseRepository baseRepository)
 {
     _repository     = repository;
     _baseRepository = baseRepository;
 }