Exemple #1
0
        public void DumpMmlData(ParametersDumpInfrastructure infrastructure,
                                IParametersDumpController controller)
        {
            if (infrastructure.MmlListIsEmpty)
            {
                return;
            }
            IMmlDumpRepository <CdmaBts, CdmaCell, BtsExcel, CdmaCellExcel> dumpRepository
                = MmlDumpGenerator(controller, infrastructure);

            foreach (IMmlImportRepository <CdmaBts, CdmaCell, BtsExcel, CdmaCellExcel> repository
                     in infrastructure.MmlRepositoryList)
            {
                dumpRepository.InvokeAction(repository);
            }
        }
        public void DumpMmlData(ParametersDumpInfrastructure infrastructure,
            IParametersDumpController controller)
        {
            if (infrastructure.MmlListIsEmpty)
            {
                return;
            }
            IMmlDumpRepository<CdmaBts, CdmaCell, BtsExcel, CdmaCellExcel> dumpRepository
                = MmlDumpGenerator(controller, infrastructure);

            foreach (IMmlImportRepository<CdmaBts, CdmaCell, BtsExcel, CdmaCellExcel> repository
                in infrastructure.MmlRepositoryList)
            {
                dumpRepository.InvokeAction(repository);
            }
        }
        public void DumpCdmaData(ParametersDumpInfrastructure infrastructure,
            IParametersDumpController controller,
            IParametersDumpConfig config)
        {
            IBtsDumpRepository<BtsExcel> dumpBtsRepository
                = CdmaBtsDumpGenerator(controller, infrastructure);
            dumpBtsRepository.ImportBts = config.ImportBts;
            dumpBtsRepository.UpdateBts = config.UpdateBts;
            dumpBtsRepository.InvokeAction(infrastructure.CdmaBtsRepository);

            ICellDumpRepository<CdmaCellExcel> dumpCellRepository
                = CdmaCellDumpGenerator(controller, infrastructure);
            dumpCellRepository.ImportCell = config.ImportCdmaCell;
            dumpCellRepository.UpdateCell = config.UpdateCdmaCell;
            dumpCellRepository.InvokeAction(infrastructure.CdmaCellRepository);
        }
Exemple #4
0
        public void DumpCdmaData(ParametersDumpInfrastructure infrastructure,
                                 IParametersDumpController controller,
                                 IParametersDumpConfig config)
        {
            IBtsDumpRepository <BtsExcel> dumpBtsRepository
                = CdmaBtsDumpGenerator(controller, infrastructure);

            dumpBtsRepository.ImportBts = config.ImportBts;
            dumpBtsRepository.UpdateBts = config.UpdateBts;
            dumpBtsRepository.InvokeAction(infrastructure.CdmaBtsRepository);

            ICellDumpRepository <CdmaCellExcel> dumpCellRepository
                = CdmaCellDumpGenerator(controller, infrastructure);

            dumpCellRepository.ImportCell = config.ImportCdmaCell;
            dumpCellRepository.UpdateCell = config.UpdateCdmaCell;
            dumpCellRepository.InvokeAction(infrastructure.CdmaCellRepository);
        }
        public void DumpLteData(ParametersDumpInfrastructure infrastructure,
            IParametersDumpController controller,
            IParametersDumpConfig config)
        {
            IBtsDumpRepository<ENodebExcel> btsDumpRepository
                = LteENodebDumpGenerator(controller, infrastructure);
            btsDumpRepository.ImportBts = config.ImportENodeb;
            btsDumpRepository.UpdateBts = config.UpdateENodeb;
            btsDumpRepository.InvokeAction(infrastructure.LteENodebRepository);

            ICellDumpRepository<CellExcel> cellDumpRepository
                = LteCellDumpGenerator(controller, infrastructure);
            cellDumpRepository.ImportCell = config.ImportLteCell;
            cellDumpRepository.UpdateCell = config.UpdateLteCell;
            LteCellDumpRepository repository = cellDumpRepository as LteCellDumpRepository;
            if (repository != null)
                repository.UpdatePci = config.UpdatePci;
            cellDumpRepository.InvokeAction(infrastructure.LteCellRepository);
        }
Exemple #6
0
        public void DumpLteData(ParametersDumpInfrastructure infrastructure,
                                IParametersDumpController controller,
                                IParametersDumpConfig config)
        {
            IBtsDumpRepository <ENodebExcel> btsDumpRepository
                = LteENodebDumpGenerator(controller, infrastructure);

            btsDumpRepository.ImportBts = config.ImportENodeb;
            btsDumpRepository.UpdateBts = config.UpdateENodeb;
            btsDumpRepository.InvokeAction(infrastructure.LteENodebRepository);

            ICellDumpRepository <CellExcel> cellDumpRepository
                = LteCellDumpGenerator(controller, infrastructure);

            cellDumpRepository.ImportCell = config.ImportLteCell;
            cellDumpRepository.UpdateCell = config.UpdateLteCell;
            LteCellDumpRepository repository = cellDumpRepository as LteCellDumpRepository;

            if (repository != null)
            {
                repository.UpdatePci = config.UpdatePci;
            }
            cellDumpRepository.InvokeAction(infrastructure.LteCellRepository);
        }