|
@@ -920,4 +920,79 @@ public class HealthController {
|
|
|
return ajax;
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 通过线路ID获取风机下拉接口
|
|
|
+ *
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/getParttemperaturesubListByWpId")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "按部件获取温度列表", notes = "按部件获取温度列表")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wpId", value = "风场编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "partId", value = "部件(发电机 fdj,齿轮箱 clx,变桨 bj,主控 zk)", required = true, dataType = "string", paramType = "query")})
|
|
|
+ public AjaxResult getParttemperaturesubListByWpId(@RequestParam("wpId") String wpId, @RequestParam("recorddate") String recorddate,@RequestParam("partId") String partId) throws Exception {
|
|
|
+ AjaxResult ajax = healthMainService.getParttemperaturesubListByWpId(wpId,recorddate,partId);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 通过线路ID获取风机下拉接口
|
|
|
+ *
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/getProEconPartPowerStatticsSubListByWpId")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "按部件获取功率列表", notes = "按部件获取功率列表")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wpId", value = "风场编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "partId", value = "部件(发电机 fdj,齿轮箱 clx,变桨 bj,主控 zk)", required = true, dataType = "string", paramType = "query")})
|
|
|
+ public AjaxResult getProEconPartPowerStatticsSubListByWpId(@RequestParam("wpId") String wpId, @RequestParam("recorddate") String recorddate,@RequestParam("partId") String partId) throws Exception {
|
|
|
+ AjaxResult ajax = healthMainService.getProEconPartPowerStatticsSubListByWpId(wpId,recorddate,partId);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 故障评判列表
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/getFailureStatisticMainListByWpId")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "故障评判列表", notes = "故障评判列表")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wpId", value = "风场编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+ public AjaxResult getFailureStatisticMainListByWpId(String wpId, String recorddate) throws Exception {
|
|
|
+
|
|
|
+ AjaxResult ajax = healthMainService.getFailureStatisticMainListByWpId(wpId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 预警评判列表
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/getEarlyWarningMainListByWpId")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "预警评判列表", notes = "预警评判列表")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wpId", value = "风场编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+ public AjaxResult getEarlyWarningMainListByWpId(String wpId, String recorddate) throws Exception {
|
|
|
+
|
|
|
+ AjaxResult ajax = healthMainService.getEarlyWarningMainListByWpId(wpId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+
|
|
|
+ }
|
|
|
}
|