| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.BattGroupStationInfoWithFileParam; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.BattgroupData; |
| | | import com.whyc.service.BattGroupDataService; |
| | |
| | | @ApiOperation("单数据分析-单体数据列表") |
| | | @GetMapping("list") |
| | | public Response getListWithTestTime(@RequestParam String fileId){ |
| | | List<BattgroupData> monList = service.getListWithTestTime(fileId); |
| | | Map<String,String> map = service.getStandardDeviation(monList); |
| | | return new Response().setII(1,monList,map,null); |
| | | //List<BattgroupData> monList = service.getListWithTestTime(fileId); |
| | | BattGroupStationInfoWithFileParam info = service.getListWithTestTime(fileId); |
| | | Map<String,String> map = service.getStandardDeviation(info.getDataList()); |
| | | return new Response().setII(1,info,map,null); |
| | | } |
| | | |
| | | @ApiOperation(value = "对比分析-两组数据列表",notes = "data:第一行的基础数据,data2:第二行的基础数据," + |
| | | "data3:key-value键值对,其中resChangeRate:内阻变化率,volChangeRate:电压变化率,resBalanceRate:内阻均一性,volBalanceRate:电压均一性") |
| | | "data3:key-value键值对,其中resChangeRate:内阻变化率,volChangeRate:电压变化率,resBalanceRate:内阻均一性,volBalanceRate:电压均一性,fileParamBase:参考文件的参数") |
| | | @GetMapping("comparedList") |
| | | public Response getComparedList(@RequestParam String baseFileId,@RequestParam String fileId){ |
| | | return service.getComparedList(baseFileId,fileId); |