示例#1
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();
            }
        }
示例#2
0
 public StationRruService(IStationRruRepository repository)
 {
     _repository = repository;
 }