| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.bts.BTS_ChargeData; |
| | | import com.whyc.bts.BTS_DisChargeData; |
| | | import com.whyc.fbo.FboData; |
| | | import com.whyc.fbo.FboDataHeadStart; |
| | | import com.whyc.fbo.FboDataHeadStop; |
| | |
| | | import com.whyc.mcp.TestDataInfo; |
| | | import com.whyc.pojo.Response; |
| | | import com.whyc.res.RESDataInfo; |
| | | import com.whyc.service.ExcelExportService; |
| | | import com.whyc.service.FboDataInfService; |
| | | import com.whyc.service.RESDataInfoService; |
| | | import com.whyc.service.TestDataInfoService; |
| | | import com.whyc.service.*; |
| | | import com.whyc.util.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | @Autowired |
| | | private TestDataInfoService testDataInfoService; |
| | | |
| | | @Autowired |
| | | private BtsDisChargeService disDataService; |
| | | |
| | | @Autowired |
| | | private BtsChargeDataService chargeDataService; |
| | | |
| | | @GetMapping("/hello") |
| | | public Response hello(){ |
| | | return new Response().set(1,"hello"); |
| | |
| | | case "mch":TestDataInfo testDataInfoMch=testDataInfoService.readFileData(filePath); |
| | | response.set(1,testDataInfoMch,filePath); |
| | | break; |
| | | case "bcp": BTS_DisChargeData disData=disDataService.getDisData(filePath); |
| | | response.set(1,disData,filePath); |
| | | break; |
| | | case "chr":BTS_ChargeData chargeData=chargeDataService.getChrData(filePath); |
| | | response.set(1,chargeData,filePath); |
| | | break; |
| | | default:response.set(1,false,filePath); |
| | | } |
| | | |