lxw
2023-08-15 160e150009b51a39fa95d9462c3798ba28d51a09
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
package com.whyc.controller;
 
import com.whyc.dto.Response;
import com.whyc.dto.paramter.*;
import com.whyc.pojo.BattdischargePlan;
import com.whyc.pojo.PwrdevAlarm;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
@Api(tags = "websocket请求")
@RestController
@RequestMapping("websocket")
public class RealTimeController {
 
    @ApiOperation(value = "实时界面websocket",notes = "请求链接:ws://localhost:8090/fg/RealTime 传参:{\"battGroupId\":\"1000028\",\"devId\":\"618500012\",\"powerDeviceId\":\"100202\",\"pageType\":\"standard\"}")
    @GetMapping("getRealTime")
    public Response getRealTime(){
        return new Response();
    }
 
    @ApiOperation(value = "后台线程管理界面websocket",notes = "请求链接:ws://localhost:8089/fg/processSurvey")
    @GetMapping("getProcessSurvey")
    public Response getProcessSurveyList(){return new Response();}
 
    @ApiOperation(value = "设备工作状态",notes = "请求链接:ws://localhost:8089/fg/fbsState 传参:FbsStatePar实体类")
    @GetMapping("getFbsState")
    public Response getFbsState(@RequestBody FbsStatePar fbsStatePar){return new Response();}
 
    @ApiOperation(value = "报废电池信息管理",notes = "请求链接:ws://localhost:8089/fg/battScrap 传参:BattScrapPar实体类")
    @GetMapping("getBattScrap")
    public Response getBattScrap(@RequestBody BattScrapPar battScrapPar){return new Response();}
 
    @ApiOperation(value = "备件电池信息管理",notes = "请求链接:ws://localhost:8089/fg/battSpare 传参:BattSparePar实体类")
    @GetMapping("getBattSpare")
    public Response getBattSpare(@RequestBody BattSparePar battSparePar){return new Response();}
 
    @ApiOperation(value = "电池实时告警",notes = "请求链接:ws://localhost:8089/fg/battAlarmData 传参:AlarmPar实体类")
    @GetMapping("getBattAlarm")
    public Response getBattAlarm(@RequestBody AlarmPar alarmPar){return new Response();}
 
    @ApiOperation(value = "设备实时告警",notes = "请求链接:ws://localhost:8089/fg/devAlarmData 传参:DevAlarmPar实体类")
    @GetMapping("getDevAlarm")
    public Response getDevAlarm(@RequestBody DevAlarmPar devAlarmPar){return new Response();}
 
    @ApiOperation(value = "电源实时告警",notes = "请求链接:ws://localhost:8089/fg/powerAlarmRt 传参:PwrdevAlarm实体类")
    @GetMapping("getPowerAlarmRt")
    public Response getPowerAlarmRt(@RequestBody PwrdevAlarm pwrdevAlarm){return new Response();}
 
    @ApiOperation(value = "通信电源实时告警",notes = "请求链接:ws://localhost:8089/fg/pwrAlarm 传参:PwrdevAlarm实体类")
    @GetMapping("getTxPowerAlarm")
    public Response getTxPowerAlarm(@RequestBody PwrdevAlarm pwrdevAlarm){return new Response();}
 
    @ApiOperation(value = "通信电源超时告警",notes = "请求链接:ws://localhost:8089/fg/powerAlarmTimeout 传参:为空")
    @GetMapping("getPwrTimeoutAlarm")
    public Response getPwrTimeoutAlarm(){return new Response();}
 
    @ApiOperation(value = "放电计划管理",notes = "请求链接:ws://localhost:8089/fg/battDischargePlan 传参:BattdischargePlan实体类")
    @GetMapping("getBattDischargePlan")
    public Response getBattDischargePlan(@RequestBody BattdischargePlan battdischargePlan){return new Response();}
 
    @ApiOperation(value = "3D机房管理",notes = "请求链接:ws://localhost:8090/fg/Satation3D 传参:{\"stationId\":\"42010021\"}")
    @GetMapping("getStation3D")
    public Response getStation3D(){return new Response();}
 
    @ApiOperation(value = "首页头部告警数据",notes = "请求链接:ws://localhost:8090/fg/homePageSocket 传参:1002")
    @GetMapping("getHomePage")
    public Response getHomePage(){return new Response();}
 
    @ApiOperation(value = "底部滚动告警数据",notes = "请求链接:ws://localhost:8090/fg/battAlarmFoot 传参:1002")
    @GetMapping("getbattAlarmFoot")
    public Response getbattAlarmFoot(){return new Response();}
 
    @ApiOperation(value = "a059更新升级查询",notes = "请求链接:ws://localhost:8091/fg/aioUpdateSearch 传参:AIOUpdatePar实体类{pageNum,pageSize,stationName1,stationName2,stationName5,uId}")
    @GetMapping("aioUpdateSearch")
    public Response aioUpdateSearch(){return new Response();}
 
}