public void fs() { var testDirectory = AppDomain.CurrentDomain.BaseDirectory; var excelFilesDirectory = Path.Combine(testDirectory, "ExcelFiles"); _excelFileName = Path.Combine(excelFilesDirectory, "佛山.xls"); _regionRepository.MockOperation(); _dropRepository.MockOperation(); _connectionRepository.MockOperation(); _service = new KpiImportService(_regionRepository.Object, _dropRepository.Object, _connectionRepository.Object); AutoMapperHelper.CreateMap(typeof(CdmaRegionStat)); StatMapperService.MapTopConnection3G(); StatMapperService.MapTopDrop2G(); }
protected override void Configure() { CoreMapperService.MapCell(); CoreMapperService.MapDtItems(); CoreMapperService.MapAlarms(); StatMapperService.MapPreciseCoverage(); StatMapperService.MapTopConnection3G(); StatMapperService.MapTopDrop2G(); StatMapperService.MapWorkItem(); StatMapperService.MapInterferenceMatrix(); ParametersDumpMapperService.MapFromENodebContainerService(); ParametersDumpMapperService.MapFromBtsContainerService(); ParametersDumpMapperService.MapENodebBtsIdService(); InfrastructureMapperService.MapCdmaCell(); InfrastructureMapperService.MapCell(); InfrastructureMapperService.MapHoParametersService(); KpiMapperService.MapCdmaRegionStat(); KpiMapperService.MapCellPrecise(); KpiMapperService.MapTownPrecise(); KpiMapperService.MapAlarmStat(); KpiMapperService.MapTopKpi(); KpiMapperService.MapTopKpiTrend(); KpiMapperService.MapPreciseStat(); KpiMapperService.MapWorkItem(); BaiduMapperService.MapCdmaCellView(); BaiduMapperService.MapCellView(); BaiduMapperService.MapDtViews(); MySqlMapperService.MapFlow(); AutoMapperHelper.CreateMap(typeof(ENodebView)); AutoMapperHelper.CreateMap(typeof(CdmaBtsView)); AutoMapperHelper.CreateMap(typeof(College3GTestView)); AutoMapperHelper.CreateMap(typeof(College4GTestView)); AutoMapperHelper.CreateMap(typeof(CollegeKpiView)); AutoMapperHelper.CreateMap(typeof(IndoorDistributionExcel)); AutoMapperHelper.CreateMap(typeof(BtsExcel)); AutoMapperHelper.CreateMap(typeof(CellSectorIdPair)); AutoMapperHelper.CreateMap(typeof(PciCellPair)); AutoMapperHelper.CreateMap(typeof(CdmaRegionStat)); AutoMapperHelper.CreateMap(typeof(InterferenceMatrixStat)); AutoMapperHelper.CreateMap(typeof(DistrictPreciseView)); AutoMapperHelper.CreateMap(typeof(WorkItemChartView)); }