|
@@ -21,82 +21,82 @@ import java.util.Map;
|
|
|
|
|
|
@Slf4j
|
|
|
@RestController
|
|
|
-@RequestMapping("/commandmodule")
|
|
|
+@RequestMapping("/genreset")
|
|
|
@Api(value = "驾驶舱" ,tags = "驾驶舱")
|
|
|
public class GenreSetPushController {
|
|
|
|
|
|
@Resource
|
|
|
private GenreSetPushService genreSetPushService;
|
|
|
|
|
|
- @GetMapping("/queryAgcValues")
|
|
|
+ @GetMapping("/getAgcValues")
|
|
|
@ApiOperation(value = "获取AGC信息", notes = "获取AGC信息")
|
|
|
@ApiImplicitParams({})
|
|
|
- public AjaxResult queryAgcValuesNew() throws Exception {
|
|
|
+ public AjaxResult getAgcValues() throws Exception {
|
|
|
|
|
|
AjaxResult ajax=genreSetPushService.getAgcValues();
|
|
|
|
|
|
return ajax;
|
|
|
}
|
|
|
- @GetMapping("/queryPowerInfo")
|
|
|
+ @GetMapping("/findPowerInfo")
|
|
|
@ApiOperation(value = "获取驾驶舱功率曲线图和电量柱状图信息", notes = "获取驾驶舱功率曲线图和电量柱状图信息")
|
|
|
@ApiImplicitParams({ @ApiImplicitParam(name = "id", value = "对象编号", required = true, dataType = "string", paramType = "query")})
|
|
|
- public AjaxResult queryPowerInfo(@RequestParam("id") String id){
|
|
|
+ public AjaxResult findPowerInfo(@RequestParam("id") String id){
|
|
|
|
|
|
AjaxResult ajax=genreSetPushService.findPowerInfo(id);
|
|
|
|
|
|
return ajax;
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/queryBasicDataInfo")
|
|
|
+ @GetMapping("/findBasicDataInfo")
|
|
|
@ApiOperation(value = "获取驾驶舱基础信息", notes = "获取驾驶舱基础信息")
|
|
|
@ApiImplicitParams({ @ApiImplicitParam(name = "id", value = "对象编号", required = true, dataType = "string", paramType = "query")})
|
|
|
- public AjaxResult queryBasicDataInfo(@RequestParam("id") String id){
|
|
|
+ public AjaxResult findBasicDataInfo(@RequestParam("id") String id){
|
|
|
|
|
|
AjaxResult ajax=genreSetPushService.findBasicDataInfo(id);
|
|
|
|
|
|
return ajax;
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/queryDayInfo")
|
|
|
+ @GetMapping("/findDayInfo")
|
|
|
@ApiOperation(value = "获取钻取指标日信息", notes = "获取钻取指标日信息")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "id", value = "钻取对象编号", required = true, dataType = "string", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "targetName", value = "指标名称", required = true, dataType = "string", paramType = "query")})
|
|
|
|
|
|
- public AjaxResult queryDayInfo(@RequestParam("id")String id,@RequestParam("targetName")String targetName){
|
|
|
+ public AjaxResult findDayInfo(@RequestParam("id")String id,@RequestParam("targetName")String targetName){
|
|
|
|
|
|
AjaxResult ajax=genreSetPushService.findDayInfo(id,targetName);
|
|
|
|
|
|
return ajax;
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/queryMonthInfo")
|
|
|
+ @GetMapping("/findMonthInfo")
|
|
|
@ApiOperation(value = "获取钻取指标月信息", notes = "获取钻取指标月信息")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "id", value = "钻取对象编号", required = true, dataType = "string", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "targetName", value = "指标名称", required = true, dataType = "string", paramType = "query")})
|
|
|
|
|
|
- public AjaxResult queryMonthInfo(@RequestParam("id")String id,@RequestParam("targetName")String targetName){
|
|
|
+ public AjaxResult findMonthInfo(@RequestParam("id")String id,@RequestParam("targetName")String targetName){
|
|
|
|
|
|
AjaxResult ajax=genreSetPushService.findMonthInfo(id,targetName);
|
|
|
|
|
|
return ajax;
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/queryYearInfo")
|
|
|
+ @GetMapping("/findYearInfo")
|
|
|
@ApiOperation(value = "获取钻取指标年信息", notes = "获取钻取指标年信息")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "id", value = "钻取对象编号", required = true, dataType = "string", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "targetName", value = "指标名称", required = true, dataType = "string", paramType = "query")})
|
|
|
|
|
|
- public AjaxResult queryYearInfo(@RequestParam("id")String id,@RequestParam("targetName")String targetName){
|
|
|
+ public AjaxResult findYearInfo(@RequestParam("id")String id,@RequestParam("targetName")String targetName){
|
|
|
|
|
|
AjaxResult ajax=genreSetPushService.findYearInfo(id,targetName);
|
|
|
|
|
|
return ajax;
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/queryProjectPlanPower")
|
|
|
+ @GetMapping("/findProjectPlanPower")
|
|
|
@ApiOperation(value = "获取计划发电量钻取信息", notes = "获取计划发电量钻取信息")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "id", value = "钻取对象编号", required = true, dataType = "string", paramType = "query")})
|
|
@@ -108,37 +108,37 @@ public class GenreSetPushController {
|
|
|
return ajax;
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/queryGLDetail")
|
|
|
+ @GetMapping("/findGLDetail")
|
|
|
@ApiOperation(value = "获取功率曲线钻取信息", notes = "获取功率曲线钻取信息")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "id", value = "钻取对象编号", required = true, dataType = "string", paramType = "query"),
|
|
|
@ApiImplicitParam(name = "targetName", value = "指标名称", required = true, dataType = "string", paramType = "query")})
|
|
|
|
|
|
- public AjaxResult queryGLDetail(@RequestParam("id")String id,@RequestParam("targetName")String targetName){
|
|
|
+ public AjaxResult findGLDetail(@RequestParam("id")String id,@RequestParam("targetName")String targetName){
|
|
|
|
|
|
AjaxResult ajax=genreSetPushService.findGLDetail(id,targetName);
|
|
|
|
|
|
return ajax;
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/queryWeatherRealDay5Info")
|
|
|
+ @GetMapping("/getWeatherRealDay5Info")
|
|
|
@ApiOperation(value = "未来5天天气预报功能", notes = "未来5天天气预报功能")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "wpId", value = "场站编号", required = true, dataType = "string", paramType = "query")})
|
|
|
|
|
|
- public AjaxResult queryWeatherRealDay5Info(@RequestParam("wpId")String wpId){
|
|
|
+ public AjaxResult getWeatherRealDay5Info(@RequestParam("wpId")String wpId){
|
|
|
|
|
|
AjaxResult ajax=genreSetPushService.getWeatherRealDay5Info(wpId);
|
|
|
|
|
|
return ajax;
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/queryForecastwindspeedInfo")
|
|
|
+ @GetMapping("/getForecastwindspeedInfo")
|
|
|
@ApiOperation(value = "预测风速电量", notes = "预测风速电量功能")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "wpId", value = "场站编号", required = true, dataType = "string", paramType = "query")})
|
|
|
|
|
|
- public AjaxResult queryForecastwindspeedInfo(@RequestParam("wpId")String wpId){
|
|
|
+ public AjaxResult getForecastwindspeedInfo(@RequestParam("wpId") String wpId){
|
|
|
|
|
|
AjaxResult ajax=genreSetPushService.getForecastwindspeedInfo(wpId);
|
|
|
|