| | |
| | | import com.whyc.dto.paramter.*; |
| | | import com.whyc.pojo.BattdischargePlan; |
| | | import com.whyc.pojo.PwrdevAlarm; |
| | | import com.whyc.service.BatttestdataInfService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | @RestController |
| | | @RequestMapping("websocket") |
| | | public class RealTimeController extends BaseController{ |
| | | |
| | | @Autowired |
| | | private BatttestdataInfService infService; |
| | | |
| | | @ApiOperation(value = "实时界面websocket",notes = "请求链接:ws://localhost:8090/fg/RealTime 传参:{\"battGroupId\":\"1000028\",\"devId\":\"618500012\",\"powerDeviceId\":\"100202\",\"pageType\":\"standard\"}") |
| | | @GetMapping("getRealTime") |
| | |
| | | @GetMapping("aioUpdateSearch") |
| | | public Response aioUpdateSearch(){return new Response();} |
| | | |
| | | @ApiOperation(value = "领导层",notes = "请求链接:ws://localhost:8091/fg/homeAdmin") |
| | | @GetMapping("getGroupAnalysis2") |
| | | public Response getGroupAnalysis2(){ |
| | | return infService.getGroupAnalysis2(1087); |
| | | } |
| | | |
| | | |
| | | } |