示例#1
0
 public ByENodebQuickSaveOneCdmaCellService(ICdmaCellRepository repository,
     CdmaCellBaseRepository baseRepository,
     CdmaCellExcel cellInfo, ENodebBaseRepository eNodebRepository)
     : base(repository, baseRepository, cellInfo)
 {
     _eNodeb = eNodebRepository.QueryENodeb(cellInfo.BtsId);
 }
 public QuickSaveCellInfoListService(ICellRepository repository,
     IENodebRepository eNodebRepository)
     : base(repository)
 {
     _baseRepository = new CellBaseRepository(repository);
     _baseENodebRepository = new ENodebBaseRepository(eNodebRepository);
 }
示例#3
0
 public TownIdAssignedSaveOneBtsService(IBtsRepository repository,
     ENodebBaseRepository baseRepository, int townId,
     List<ENodeb> eNodebList = null)
     : base(repository)
 {
     _baseRepository = baseRepository;
     _eNodebList = eNodebList;
     _townId = townId;
 }
示例#4
0
 public SaveENodebListService(IENodebRepository repository,
     ParametersDumpInfrastructure infrastructure, ITownRepository townRepository)
 {
     _repository = repository;
     _baseRepository = new ENodebBaseRepository(repository);
     _townList = townRepository.GetAllList();
     _infrastructure = infrastructure;
     _infrastructure.ENodebsUpdated = 0;
 }
示例#5
0
 public ByExcelInfoSaveBtsListService(IBtsRepository repository,
     ParametersDumpInfrastructure infrastructure, ITownRepository townRepository,
     IENodebRepository lteRepository = null)
 {
     _infrastructure = infrastructure;
     _townRepository = townRepository;
     _lteRepository = lteRepository;
     _repository = repository;
     _baseRepository = new ENodebBaseRepository(repository);
 }
示例#6
0
 public override void Save(ParametersDumpInfrastructure infrastructure)
 {
     using (var baseRepository = new ENodebBaseRepository(_repository))
     {
         foreach (var cdmaBts in from cdmaBts in _btsInfoList
                                 let bts = baseRepository.QueryENodeb(cdmaBts.BtsId)
                                 where bts == null select cdmaBts)
         {
             _repository.Insert(cdmaBts);
         }
     }
     infrastructure.CdmaBtsUpdated = 0;
 }
 public void SetUp()
 {
     Initialize();
     baseRepository = new ENodebBaseRepository(lteRepository.Object);
     towns = townRepository.Object.GetAllList();
 }
 public void SetUp()
 {
     Initialize();
     baseRepository = new ENodebBaseRepository(lteRepository.Object);
 }
 public BtsConsideredSaveCdmaListService(ICdmaCellRepository repository,
     IEnumerable<CdmaCell> cells, IBtsRepository btsRepository)
     : base(repository, cells)
 {
     _baseBtsRepository = new ENodebBaseRepository(btsRepository);
 }
 public SimpleSaveCdmaCellInfoListService(ICdmaCellRepository repository,
     IEnumerable<CdmaCellExcel> cellInfoList, IBtsRepository btsRepository)
     : base(repository, cellInfoList)
 {
     _btsBaseRepository = new ENodebBaseRepository(btsRepository);
 }
示例#11
0
 public ByENodebBaseQuickSaveOneCellService(ICellRepository repository, CellBaseRepository baseRepository,
     CellExcel cellInfo, ENodebBaseRepository eNodebRepository, bool updateExisted = false)
     : base(repository, cellInfo, baseRepository, updateExisted)
 {
     _eNodeb = eNodebRepository.QueryENodeb(cellInfo.ENodebId);
 }