public RasterInfoService(IRasterInfoRepository repository,
                          IRasterTestInfoRepository testInfoRepository, IDtFileInfoRepository dtFileInfoRepository)
 {
     _repository           = repository;
     _testInfoRepository   = testInfoRepository;
     _dtFileInfoRepository = dtFileInfoRepository;
 }
Beispiel #2
0
 public KpiImportService(ICdmaRegionStatRepository regionStatRepository,
                         ITopDrop2GCellRepository top2GRepository, ITopConnection3GRepository top3GRepository,
                         ITopConnection2GRepository topConnection2GRepository, IVipDemandRepository vipDemandRepository,
                         IComplainItemRepository complainItemRepository, IBranchDemandRepository branchDemandRepository,
                         IOnlineSustainRepository onlineSustainRepository, IPlanningSiteRepository planningSiteRepository,
                         IComplainProcessRepository processRepository, ITownRepository townRepository,
                         IFileRecordRepository fileRecordRepository, IDtFileInfoRepository dtFileInfoRepository,
                         IRasterTestInfoRepository rasterTestInfoRepository, ILteProblemRepository lteProblemRepository)
 {
     _regionStatRepository      = regionStatRepository;
     _top2GRepository           = top2GRepository;
     _top3GRepository           = top3GRepository;
     _topConnection2GRepository = topConnection2GRepository;
     _vipDemandRepository       = vipDemandRepository;
     _complainItemRepository    = complainItemRepository;
     _branchDemandRepository    = branchDemandRepository;
     _onlineSustainRepository   = onlineSustainRepository;
     _planningSiteRepository    = planningSiteRepository;
     _processRepository         = processRepository;
     _fileRecordRepository      = fileRecordRepository;
     _dtFileInfoRepository      = dtFileInfoRepository;
     _rasterTestInfoRepository  = rasterTestInfoRepository;
     _lteProblemRepository      = lteProblemRepository;
     _towns = townRepository.GetAllList();
 }
 public TownTestInfoService(IFileRecordRepository repository, ITownBoundaryRepository boundaryRepository,
                            IDtFileInfoRepository fileInfoRepository, IAreaTestInfoRepository areaTestInfoRepository)
 {
     _repository             = repository;
     _boundaryRepository     = boundaryRepository;
     _fileInfoRepository     = fileInfoRepository;
     _areaTestInfoRepository = areaTestInfoRepository;
 }
Beispiel #4
0
 public TownTestInfoService(IFileRecordService service, ITownBoundaryRepository boundaryRepository,
                            IDtFileInfoRepository fileInfoRepository, IAreaTestInfoRepository areaTestInfoRepository,
                            ITownRepository townRepository)
 {
     _service                = service;
     _boundaryRepository     = boundaryRepository;
     _fileInfoRepository     = fileInfoRepository;
     _areaTestInfoRepository = areaTestInfoRepository;
     _townRepository         = townRepository;
 }
Beispiel #5
0
 public FileRecordService(IFileRecord2GRepository fileRecord2GRepository,
                          IFileRecord3GRepository fileRecord3GRepository, IFileRecord4GRepository fileRecord4GRepository,
                          IFileRecordVolteRepository fileRecordVolteRepository, IDtFileInfoRepository dtFileInfoRepository)
 {
     _fileRecord2GRepository    = fileRecord2GRepository;
     _fileRecord3GRepository    = fileRecord3GRepository;
     _fileRecord4GRepository    = fileRecord4GRepository;
     _fileRecordVolteRepository = fileRecordVolteRepository;
     _dtFileInfoRepository      = dtFileInfoRepository;
 }
Beispiel #6
0
 public RasterInfoService(IRasterInfoRepository repository,
                          IRasterTestInfoRepository testInfoRepository, IDtFileInfoRepository dtFileInfoRepository,
                          ITownRepository townRepository, IAreaTestInfoRepository areaTestInfoRepository)
 {
     _repository             = repository;
     _testInfoRepository     = testInfoRepository;
     _dtFileInfoRepository   = dtFileInfoRepository;
     _townRepository         = townRepository;
     _areaTestInfoRepository = areaTestInfoRepository;
 }
Beispiel #7
0
        public static void UpdateCsvFileInfo(this IDtFileInfoRepository dtFileInfoRepository,
                                             string tableName, DateTime testDate)
        {
            var csvFileInfo = dtFileInfoRepository.FirstOrDefault(x => x.CsvFileName == tableName + ".csv");

            if (csvFileInfo == null)
            {
                dtFileInfoRepository.Insert(new CsvFilesInfo
                {
                    CsvFileName = tableName + ".csv",
                    TestDate    = testDate
                });
                dtFileInfoRepository.SaveChanges();
            }
        }
Beispiel #8
0
 public CsvFileInfoService(IFileRecordService service, IDtFileInfoRepository dtFileInfoRepository)
 {
     _service = service;
     _dtFileInfoRepository = dtFileInfoRepository;
 }
 public CsvFileInfoService(IFileRecordRepository repository, IDtFileInfoRepository dtFileInfoRepository)
 {
     _repository           = repository;
     _dtFileInfoRepository = dtFileInfoRepository;
 }