Commit 0ae077cf authored by caotao's avatar caotao

工况区间划分、分析变量与工况变量相关性、中心值相关代码提交

parent 7545a034
...@@ -20,44 +20,29 @@ import java.util.List; ...@@ -20,44 +20,29 @@ import java.util.List;
* @date 2023-08-11 * @date 2023-08-11
*/ */
@RestController @RestController
@Api(tags = "工况测点测试") @Api(tags = "工况测点Controller")
@RequestMapping(value = "/test") @RequestMapping(value = "/test")
public class TestController extends BaseController { public class TestController extends BaseController {
@Autowired @Autowired
CommonServiceImpl commonServiceImpl; CommonServiceImpl commonServiceImpl;
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
@ApiOperation(httpMethod = "GET", value = "列表全部数据查询-风电", notes = "列表全部数据查询")
@GetMapping(value = "/listfan")
public ResponseModel<List<IdxBizC80c>> selectForListFan() {
return ResponseHelper.buildResponse(commonServiceImpl.getAllFanstationTestPoint().subList(0, 20));
}
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
@ApiOperation(httpMethod = "GET", value = "列表全部数据查询-光伏", notes = "列表全部数据查询") @ApiOperation(httpMethod = "GET", value = "工况测点区间划分", notes = "工况测点区间划分")
@GetMapping(value = "/listpv") @GetMapping(value = "/getConditionVariablesByTime")
public ResponseModel<List<IdxBizHjev>> selectForListPV() { public void getConditionVariablesByTime(@RequestParam String startTime, @RequestParam String endTime) {
return ResponseHelper.buildResponse(commonServiceImpl.getAllPVstationTestPoint().subList(0, 20)); commonServiceImpl.getConditionVariablesByTime(startTime, endTime);
} }
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
@ApiOperation(httpMethod = "GET", value = "test", notes = "列表全部数据查询") @ApiOperation(httpMethod = "GET", value = "相关性分析", notes = "相关性分析")
@GetMapping(value = "/test") @GetMapping(value = "/getConditionVariablesByTimeAnalyse")
public void selectForListTest() { public void getConditionVariablesByTimeAnalyse(@RequestParam String startTime, @RequestParam String endTime) {
commonServiceImpl.getIdxBizUxfvList(); commonServiceImpl.getConditionVariablesByTimeAnalyse(startTime, endTime);
} }
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false) @TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
@ApiOperation(httpMethod = "GET", value = "test", notes = "列表全部数据查询") @ApiOperation(httpMethod = "GET", value = "中心值计算", notes = "中心值计算")
@GetMapping(value = "/getDateByTime") @GetMapping(value = "/getConditionVariablesByTimeAnalyse1")
public void getDateByTime(@RequestParam String startTime, @RequestParam String endTime) { public void getConditionVariablesByTimeAnalyse1(@RequestParam String startTime, @RequestParam String endTime) {
commonServiceImpl.getConditionVariablesByTime(startTime, endTime); commonServiceImpl.getConditionVariablesByTimeAnalyse1(startTime, endTime);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment