|
@@ -0,0 +1,556 @@
|
|
|
+package com.gyee.consumer.controller.goodness;
|
|
|
+
|
|
|
+import com.gyee.common.domain.AjaxResult;
|
|
|
+import com.gyee.common.model.StringUtils;
|
|
|
+import com.gyee.common.vo.benchmark.DataVo;
|
|
|
+import com.gyee.common.vo.benchmark.ValueVo;
|
|
|
+import com.gyee.consumer.model.Tablepar;
|
|
|
+import com.gyee.consumer.service.goodness.WindturbineGoodnessService;
|
|
|
+
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiImplicitParam;
|
|
|
+import io.swagger.annotations.ApiImplicitParams;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import org.springframework.stereotype.Controller;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
+
|
|
|
+import javax.annotation.Resource;
|
|
|
+import java.util.*;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 风机明细信息页面
|
|
|
+ */
|
|
|
+@Controller
|
|
|
+@RequestMapping("/goodness")
|
|
|
+@Api(value = "单机信息总览详细信息",tags = "单机信息总览详细信息")
|
|
|
+public class WindturbinegoodnessController {
|
|
|
+
|
|
|
+ @Resource
|
|
|
+ private WindturbineGoodnessService windturbineGoodnessService;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+/*****************************************************************************************************************/
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获得单机性能总览列表信息
|
|
|
+ *
|
|
|
+ * @param tablepar
|
|
|
+ * @param wpId
|
|
|
+ * @param recorddate
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/windturbinegoodness")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "获得单机性能总览列表信息", notes = "获得单机性能总览列表信息")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "tablepar", value = "分页排序对象", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "wpId", value = "风场编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult windturbinegoodness(@RequestParam("tablepar") Tablepar tablepar, @RequestParam("wpId") String wpId, @RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.windturbinegoodness(tablepar,wpId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获得单机性能总览历史列表信息
|
|
|
+ *
|
|
|
+ * @param tablepar
|
|
|
+ * @param wtId
|
|
|
+ * @param beginDate
|
|
|
+ * @param endDate
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/goodhistorylist")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "获得单机性能总览历史列表信息", notes = "获得单机性能总览历史列表信息")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "tablepar", value = "分页排序对象", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "beginDate", value = "开始日期", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "endDate", value = "结束日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult goodhistorylist(@RequestParam("tablepar") Tablepar tablepar,@RequestParam("wtId") String wtId, @RequestParam("beginDate") String beginDate, @RequestParam("endDate") String endDate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.goodhistorylist(tablepar,wtId,beginDate,endDate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+/*****************************************************************************************************************/
|
|
|
+ /**
|
|
|
+ * 获得功率曲线数据查询
|
|
|
+ *
|
|
|
+ * @param wtId
|
|
|
+ * @param recorddate
|
|
|
+ * @return
|
|
|
+ * @throws Exception
|
|
|
+ */
|
|
|
+ @GetMapping("/findWtRealPowerChar")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "查询功率曲线数据信息", notes = "查询功率曲线数据信息")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult findWtRealPowerChar(@RequestParam("wtId") String wtId, @RequestParam("recorddate") String recorddate) throws Exception {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.findWtRealPowerChar(wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * 获得曲线区间区分功能数据查询
|
|
|
+ *
|
|
|
+ * @param wtId
|
|
|
+ * @param recorddate
|
|
|
+ * @return
|
|
|
+ * @throws Exception
|
|
|
+ */
|
|
|
+ @GetMapping("/getplotBands")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "获得曲线区间区分功能数据", notes = "获得曲线区间区分功能数据")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult getplotBands(@RequestParam("wtId") String wtId, @RequestParam("recorddate") String recorddate) throws Exception {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.getplotBands(wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取切入风速
|
|
|
+ *
|
|
|
+ * @param wtId
|
|
|
+ * @param recorddate
|
|
|
+ * @return
|
|
|
+ * @throws Exception
|
|
|
+ */
|
|
|
+ @GetMapping("/getInputSmall")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "获取切入风速", notes = "获取切入风速")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult getInputSmall(@RequestParam("wtId") String wtId, @RequestParam("recorddate") String recorddate) throws Exception {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.getInputSmall(wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取24小时功率曲线
|
|
|
+ *
|
|
|
+ * @param wtId
|
|
|
+ * @param recorddate
|
|
|
+ * @return
|
|
|
+ * @throws Exception
|
|
|
+ */
|
|
|
+ @GetMapping("/findRealPowerCharBy24")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "获取24小时功率曲线", notes = "获取24小时功率曲线")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult findRealPowerCharBy24(@RequestParam("wtId") String wtId, @RequestParam("recorddate") String recorddate) throws Exception {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.findRealPowerCharBy24(wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 单台风机当日报警记录
|
|
|
+ */
|
|
|
+ @GetMapping("/bjjllist")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "单台风机当日报警记录", notes = "单台风机当日报警记录")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "tablepar", value = "分页排序对象", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult bjjllist(@RequestParam("tablepar") Tablepar tablepar, @RequestParam("wtId") String wtId,@RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.bjjllist(tablepar, wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 单台风机当日停机记录
|
|
|
+ */
|
|
|
+ @GetMapping("/gzjllist")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "单台风机当日停机记录", notes = "单台风机当日停机记录")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "tablepar", value = "分页排序对象", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult gzjllist(@RequestParam("tablepar") Tablepar tablepar, @RequestParam("wtId") String wtId, @RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.gzjllist(tablepar,wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 单台风机当日限电记录
|
|
|
+ */
|
|
|
+ @GetMapping("/xdjllist")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "单台风机当日限电记录", notes = "单台风机当日限电记录")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "tablepar", value = "分页排序对象", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult xdjllist(@RequestParam("tablepar") Tablepar tablepar, @RequestParam("wtId") String wtId, @RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.xdjllist(tablepar,wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取区域弹出列表信息
|
|
|
+ *
|
|
|
+
|
|
|
+ */
|
|
|
+ @GetMapping("/plotBandAjax")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "获取区域弹出列表信息", notes = "获取区域弹出列表信息")
|
|
|
+ @ApiImplicitParams({
|
|
|
+
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "beginDate", value = "开始时间", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "endDate", value = "结束时间", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult plotBandAjax(@RequestParam("wtId") String wtId,@RequestParam("beginDate") String beginDate,@RequestParam("endDate") String endDate) throws Exception {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.plotBandAjax(wtId,beginDate,endDate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+/*****************************************************************************************************************/
|
|
|
+/*
|
|
|
+ * 风场日最大风速
|
|
|
+ */
|
|
|
+@GetMapping("/wprzdfs")
|
|
|
+@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 wprzdfs(@RequestParam("wpId") String wpId,@RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.wprzdfs(wpId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+}
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 风场月最大风速
|
|
|
+ */
|
|
|
+ @GetMapping("/wpyzdfs")
|
|
|
+ @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 wpyzdfs(@RequestParam("wpId") String wpId,@RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.wpyzdfs(wpId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 风场年最大风速
|
|
|
+ */
|
|
|
+ @GetMapping("/wpnzdfs")
|
|
|
+ @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 wpnzdfs(@RequestParam("wpId") String wpId,@RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.wpnzdfs(wpId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 风场日风向频率
|
|
|
+ */
|
|
|
+ @GetMapping("/wprfxpl")
|
|
|
+ @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 wprfxpl(@RequestParam("wpId") String wpId,@RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.wprfxpl(wpId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 风场月风向频率
|
|
|
+ */
|
|
|
+ @GetMapping("/wpyfxpl")
|
|
|
+ @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 wpyfxpl(@RequestParam("wpId") String wpId,@RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.wpyfxpl(wpId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 风场年风向频率
|
|
|
+ */
|
|
|
+ @GetMapping("/wpnfxpl")
|
|
|
+ @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 wpnfxpl(@RequestParam("wpId") String wpId,@RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.wpnfxpl(wpId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+/*****************************************************************************************************************/
|
|
|
+
|
|
|
+/*
|
|
|
+ * 风机日最大风速
|
|
|
+ */
|
|
|
+@GetMapping("/wtrzdfs")
|
|
|
+@ResponseBody
|
|
|
+@ApiOperation(value = "风机日最大风速", notes = "风机日最大风速")
|
|
|
+@ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+public AjaxResult wtrzdfs(@RequestParam("wtId") String wtId,@RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.wtrzdfs(wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 风机月最大风速
|
|
|
+ */
|
|
|
+ @GetMapping("/wtyzdfs")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "风机月最大风速", notes= "风机月最大风速")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult wtyzdfs(@RequestParam("wtId") String wtId,@RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.wtyzdfs(wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 风机年最大风速
|
|
|
+ */
|
|
|
+ @GetMapping("/wtnzdfs")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "风机年最大风速", notes = "风机年最大风速")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult wtnzdfs(@RequestParam("wtId") String wtId,@RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.wtnzdfs(wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 风机日风向频率
|
|
|
+ */
|
|
|
+ @GetMapping("/wtrfxpl")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "风机日风向频率", notes = "风机日风向频率")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult wtrfxpl(@RequestParam("wtId") String wtId, @RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.wtrfxpl(wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 风机月风向频率
|
|
|
+ */
|
|
|
+ @GetMapping("/wtyfxpl")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "风机月风向频率", notes = "风机月风向频率")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult wtyfxpl(@RequestParam("wtId") String wtId,@RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.wtyfxpl(wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 风机年风向频率
|
|
|
+ */
|
|
|
+ @GetMapping("/wtnfxpl")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "风机年风向频率", notes = "风机年风向频率")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult wtnfxpl(@RequestParam("wtId") String wtId, @RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.wtnfxpl(wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+/*****************************************************************************************************************/
|
|
|
+ /**
|
|
|
+ * 获得明细页面显示信息
|
|
|
+ *
|
|
|
+ * @param wtId
|
|
|
+ * @param recorddate
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/wadAjax")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "查询明细页面显示信息", notes = "查询明细页面显示信息")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult wadAjax(@RequestParam("wtId") String wtId,@RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.wadAjax(wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 单台风机当月报警排行
|
|
|
+ */
|
|
|
+ @GetMapping("/bjphlist")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "单台风机当月报警排行", notes = "单台风机当月报警排行")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "tablepar", value = "分页排序对象", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult bjphlist(@RequestParam("tablepar") Tablepar tablepar, @RequestParam("wtId") String wtId, @RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.bjphlist(tablepar,wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 获取明细页面功率曲线
|
|
|
+ */
|
|
|
+ @GetMapping("/glchat")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "获取明细页面功率曲线", notes = "获取明细页面功率曲线")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult glchat(@RequestParam("wtId") String wtId,@RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.glchat(wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 获取风机风资源
|
|
|
+ */
|
|
|
+ @GetMapping("/fjfzy")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "获取风机风资源", notes = "获取风机风资源")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult fjfzy(@RequestParam("wtId") String wtId,@RequestParam("recorddate") String recorddate) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.fjfzy(wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+/*****************************************************************************************************************/
|
|
|
+ /**
|
|
|
+ * 饼图图表
|
|
|
+ *
|
|
|
+ * @param wtId
|
|
|
+ * @param recorddate
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("/pieChart")
|
|
|
+ @ResponseBody
|
|
|
+ @ApiOperation(value = "查询等级评估日所有信息", notes = "查询等级评估日所有信息")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "wtId", value = "风机编号", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "recorddate", value = "日期", required = true, dataType = "string", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "type", value = "类型 1:日小风切入,2:月小风切入,3:月小风切入,4:日小风停机,5:月小风停机,6:年小风停机", required = true, dataType = "string", paramType = "query")})
|
|
|
+
|
|
|
+ public AjaxResult pieChart( String wtId, String recorddate,String type) {
|
|
|
+
|
|
|
+ AjaxResult ajax=windturbineGoodnessService.fjfzy(wtId,recorddate);
|
|
|
+
|
|
|
+ return ajax;
|
|
|
+ }
|
|
|
+/*****************************************************************************************************************/
|
|
|
+}
|