|
@@ -2,7 +2,6 @@ package com.gyee.frame.controller.monitor;
|
|
|
|
|
|
import com.gyee.frame.common.conf.AjaxStatus;
|
|
import com.gyee.frame.common.conf.AjaxStatus;
|
|
import com.gyee.frame.common.domain.AjaxResult;
|
|
import com.gyee.frame.common.domain.AjaxResult;
|
|
-import com.gyee.frame.common.log.Log;
|
|
|
|
import com.gyee.frame.common.spring.InitialRunner;
|
|
import com.gyee.frame.common.spring.InitialRunner;
|
|
import com.gyee.frame.model.custom.DataVo;
|
|
import com.gyee.frame.model.custom.DataVo;
|
|
import com.gyee.frame.service.ForecastwindspeedService;
|
|
import com.gyee.frame.service.ForecastwindspeedService;
|
|
@@ -44,6 +43,7 @@ public class GenreSetPushController {
|
|
private AgcService agcService;
|
|
private AgcService agcService;
|
|
@Resource
|
|
@Resource
|
|
private ForecastwindspeedService forecastwindspeedService;
|
|
private ForecastwindspeedService forecastwindspeedService;
|
|
|
|
+
|
|
@GetMapping("/getAgcValues")
|
|
@GetMapping("/getAgcValues")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
@ApiOperation(value = "获取AGC信息", notes = "获取AGC信息")
|
|
@ApiOperation(value = "获取AGC信息", notes = "获取AGC信息")
|
|
@@ -64,7 +64,6 @@ public class GenreSetPushController {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- @Log(title = "获取驾驶舱基础信息")
|
|
|
|
@GetMapping("/findBasicDataInfo")
|
|
@GetMapping("/findBasicDataInfo")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
@ApiOperation(value = "获取驾驶舱基础信息", notes = "获取驾驶舱基础信息")
|
|
@ApiOperation(value = "获取驾驶舱基础信息", notes = "获取驾驶舱基础信息")
|
|
@@ -86,6 +85,138 @@ public class GenreSetPushController {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @GetMapping("/findBasicDataInfo_fcmap")
|
|
|
|
+ @ResponseBody
|
|
|
|
+ @ApiOperation(value = "获取驾驶舱基础信息", notes = "获取驾驶舱基础信息")
|
|
|
|
+ @ApiImplicitParams({ @ApiImplicitParam(name = "id", value = "对象编号", required = true, dataType = "string", paramType = "query")})
|
|
|
|
+ public AjaxResult findBasicDataInfo_fcmap(String id) throws Exception {
|
|
|
|
+
|
|
|
|
+ Map<String, Object> map = new HashMap<String, Object>();
|
|
|
|
+
|
|
|
|
+ if(StringUtils.notEmp(id))
|
|
|
|
+ {
|
|
|
|
+ map=genreSetPushService.findBasicDataInfo_fcmap(id);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (null!=map){
|
|
|
|
+ return AjaxResult.successData(AjaxStatus.success.code, map);
|
|
|
|
+ } else {
|
|
|
|
+ return AjaxResult.successData(AjaxStatus.error.code, map);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @GetMapping("/findBasicDataInfo_mxztmap")
|
|
|
|
+ @ResponseBody
|
|
|
|
+ @ApiOperation(value = "获取驾驶舱基础信息", notes = "获取驾驶舱基础信息")
|
|
|
|
+ @ApiImplicitParams({ @ApiImplicitParam(name = "id", value = "对象编号", required = true, dataType = "string", paramType = "query")})
|
|
|
|
+ public AjaxResult findBasicDataInfo_mxztmap(String id) throws Exception {
|
|
|
|
+
|
|
|
|
+ Map<String, Object> map = new HashMap<String, Object>();
|
|
|
|
+
|
|
|
|
+ if(StringUtils.notEmp(id))
|
|
|
|
+ {
|
|
|
|
+ map=genreSetPushService.findBasicDataInfo_mxztmap(id);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (null!=map){
|
|
|
|
+ return AjaxResult.successData(AjaxStatus.success.code, map);
|
|
|
|
+ } else {
|
|
|
|
+ return AjaxResult.successData(AjaxStatus.error.code, map);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @GetMapping("/findBasicDataInfo_jczbmap")
|
|
|
|
+ @ResponseBody
|
|
|
|
+ @ApiOperation(value = "获取驾驶舱基础信息", notes = "获取驾驶舱基础信息")
|
|
|
|
+ @ApiImplicitParams({ @ApiImplicitParam(name = "id", value = "对象编号", required = true, dataType = "string", paramType = "query")})
|
|
|
|
+ public AjaxResult findBasicDataInfo_jczbmap(String id) throws Exception {
|
|
|
|
+
|
|
|
|
+ Map<String, Object> map = new HashMap<String, Object>();
|
|
|
|
+
|
|
|
|
+ if(StringUtils.notEmp(id))
|
|
|
|
+ {
|
|
|
|
+ map=genreSetPushService.findBasicDataInfo_jczbmap(id);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (null!=map){
|
|
|
|
+ return AjaxResult.successData(AjaxStatus.success.code, map);
|
|
|
|
+ } else {
|
|
|
|
+ return AjaxResult.successData(AjaxStatus.error.code, map);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @GetMapping("/findBasicDataInfo_tqmap_xtmap")
|
|
|
|
+ @ResponseBody
|
|
|
|
+ @ApiOperation(value = "获取驾驶舱基础信息", notes = "获取驾驶舱基础信息")
|
|
|
|
+ @ApiImplicitParams({ @ApiImplicitParam(name = "id", value = "对象编号", required = true, dataType = "string", paramType = "query")})
|
|
|
|
+ public AjaxResult findBasicDataInfo_tqmap_xtmap(String id) throws Exception {
|
|
|
|
+
|
|
|
|
+ Map<String, Object> map = new HashMap<String, Object>();
|
|
|
|
+
|
|
|
|
+ if(StringUtils.notEmp(id))
|
|
|
|
+ {
|
|
|
|
+ map=genreSetPushService.findBasicDataInfo_tqmap_xtmap(id);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (null!=map){
|
|
|
|
+ return AjaxResult.successData(AjaxStatus.success.code, map);
|
|
|
|
+ } else {
|
|
|
|
+ return AjaxResult.successData(AjaxStatus.error.code, map);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @GetMapping("/findBasicDataInfo_wxssmap")
|
|
|
|
+ @ResponseBody
|
|
|
|
+ @ApiOperation(value = "获取驾驶舱基础信息", notes = "获取驾驶舱基础信息")
|
|
|
|
+ @ApiImplicitParams({ @ApiImplicitParam(name = "id", value = "对象编号", required = true, dataType = "string", paramType = "query")})
|
|
|
|
+ public AjaxResult findBasicDataInfo_wxssmap(String id) throws Exception {
|
|
|
|
+
|
|
|
|
+ Map<String, Object> map = new HashMap<String, Object>();
|
|
|
|
+
|
|
|
|
+ if(StringUtils.notEmp(id))
|
|
|
|
+ {
|
|
|
|
+ map=genreSetPushService.findBasicDataInfo_wxssmap(id);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (null!=map){
|
|
|
|
+ return AjaxResult.successData(AjaxStatus.success.code, map);
|
|
|
|
+ } else {
|
|
|
|
+ return AjaxResult.successData(AjaxStatus.error.code, map);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @GetMapping("/findBasicDataInfo_gxkmap")
|
|
|
|
+ @ResponseBody
|
|
|
|
+ @ApiOperation(value = "获取驾驶舱基础信息", notes = "获取驾驶舱基础信息")
|
|
|
|
+ @ApiImplicitParams({ @ApiImplicitParam(name = "id", value = "对象编号", required = true, dataType = "string", paramType = "query")})
|
|
|
|
+ public AjaxResult findBasicDataInfo_gxkmap(String id) throws Exception {
|
|
|
|
+
|
|
|
|
+ Map<String, Object> map = new HashMap<String, Object>();
|
|
|
|
+
|
|
|
|
+ if(StringUtils.notEmp(id))
|
|
|
|
+ {
|
|
|
|
+ map=genreSetPushService.findBasicDataInfo_gxkmap(id);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ if (null!=map){
|
|
|
|
+ return AjaxResult.successData(AjaxStatus.success.code, map);
|
|
|
|
+ } else {
|
|
|
|
+ return AjaxResult.successData(AjaxStatus.error.code, map);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
@GetMapping("/findPowerInfo")
|
|
@GetMapping("/findPowerInfo")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
@ApiOperation(value = "获取驾驶舱功率曲线图和电量柱状图信息", notes = "获取驾驶舱功率曲线图和电量柱状图信息")
|
|
@ApiOperation(value = "获取驾驶舱功率曲线图和电量柱状图信息", notes = "获取驾驶舱功率曲线图和电量柱状图信息")
|
|
@@ -264,8 +395,8 @@ public class GenreSetPushController {
|
|
public AjaxResult findGLDetail(String id, String targetName) throws Exception {
|
|
public AjaxResult findGLDetail(String id, String targetName) throws Exception {
|
|
|
|
|
|
|
|
|
|
- List<Object> vos = new ArrayList<Object>();
|
|
|
|
- // Map<String, List> vos = new HashMap<String, List>();
|
|
|
|
|
|
+ List<Object> vos = new ArrayList<Object>();
|
|
|
|
+ // Map<String, List> vos = new HashMap<String, List>();
|
|
|
|
|
|
if (StringUtils.notEmp(id) && StringUtils.notEmp(targetName) ) {
|
|
if (StringUtils.notEmp(id) && StringUtils.notEmp(targetName) ) {
|
|
vos = realPowerPushService.findGLDetail(id,targetName);
|
|
vos = realPowerPushService.findGLDetail(id,targetName);
|