| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.Fbs9100Setparam; |
| | | import com.whyc.service.Fbs9100SetparamService; |
| | | 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.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | @Api(tags = "作业管理-放电计划管理") |
| | | @RestController |
| | |
| | | |
| | | @ApiOperation(value = "查询设备的参数",notes = "等10s响应") |
| | | @GetMapping("/serchdevParam") |
| | | private Response serchdevParam(@RequestParam int devId){ |
| | | public Response serchdevParam(@RequestParam int devId){ |
| | | return service.serchdevParam(devId); |
| | | } |
| | | |
| | | @ApiOperation("在线监测-实时监控-BTS停止") |
| | | @ApiOperation(tags = "在线监测-实时监控",value = "在线监测-实时监控-BTS停止") |
| | | @GetMapping("serchbyDev_id") |
| | | private Response serchbyDev_id(@RequestParam int num,@RequestParam int testCmd,@RequestParam int devId){ |
| | | return service.serchbyDev_id(num,testCmd,devId); |
| | | public Response serchbyDev_id(@RequestParam int num, Integer testCmd,@RequestParam int devId,@RequestParam int battGroupNum){ |
| | | return service.serchbyDev_id(num,testCmd,devId,battGroupNum); |
| | | } |
| | | |
| | | @ApiOperation(tags = "在线监测-实时监控",value = "在线监测-实时监控-重启设备") |
| | | @PostMapping("updateMaintain") |
| | | public Response updateMaintain(@RequestBody Fbs9100Setparam fbs9100Setparam){ |
| | | return service.updateMaintain(fbs9100Setparam); |
| | | } |
| | | @ApiOperation(tags = "在线监测-实时监控",value = "在线监测-实时监控-BTS放电参数设置",notes = "Fbs9100_setparamAction_action_update") |
| | | @PostMapping("update") |
| | | public Response update(@RequestBody Fbs9100Setparam fbs9100Setparam){ |
| | | return service.update(fbs9100Setparam); |
| | | } |
| | | |
| | | @ApiOperation(tags = "在线监测-实时监控",value = "在线监测-实时监控-61850放电参数设置",notes = "Fbs9100_setparamAction_action_update61850Param") |
| | | @PostMapping("update61850Param") |
| | | public Response update61850Param(@RequestBody Fbs9100Setparam fbs9100Setparam){ |
| | | return service.update61850Param(fbs9100Setparam); |
| | | } |
| | | |
| | | @ApiOperation(tags = "在线监测-实时监控",value = "在线监测-实时监控-A059发送指令",notes = "Fbs9100_setparamAction_action_updateA059Cmd") |
| | | @GetMapping("updateA059Cmd") |
| | | public Response updateA059Cmd(@RequestParam int opCmd,@RequestParam int devId){ |
| | | return service.updateA059Cmd(opCmd,devId); |
| | | } |
| | | @ApiOperation(tags = "在线监测-实时监控",value = "在线监测-实时监控-读取FGCD_A059放电参数",notes = "Fbs9100_setparamAction_action_searchA059Param") |
| | | @GetMapping("searchA059Param") |
| | | public Response searchA059Param(@RequestParam int opCmd,@RequestParam int devId){ |
| | | return service.searchA059Param(opCmd,devId); |
| | | } |
| | | @ApiOperation(tags = "在线监测-实时监控",value = "在线监测-实时监控-设置FGCD_A059放电参数",notes = "Fbs9100_setparamAction_action_updateA059Param") |
| | | @PostMapping("updateA059Param") |
| | | public Response updateA059Param(@RequestBody Fbs9100Setparam a059setParam){ |
| | | return service.updateA059Param(a059setParam); |
| | | } |
| | | @ApiOperation(tags = "在线监测-实时监控",value = "在线监测-实时监控-一体机拓扑图界面添加一个温度报警的设置值",notes = "Fbs9100_setparamAction_action_serchCharHighTmp") |
| | | @GetMapping("serchCharHighTmp") |
| | | public Response serchCharHighTmp(@RequestParam int devId){ |
| | | return service.serchCharHighTmp(devId); |
| | | } |
| | | |
| | | @ApiOperation(tags = "在线监测-实时监控",value = "在线监测-实时监控-开始/停止显示FGCD_A059图片",notes = "Fbs9100_setparamAction_action_StartOrStopShowPic") |
| | | @GetMapping("StartOrStopShowPic") |
| | | public Response StartOrStopShowPic(@RequestParam int devId,@RequestParam int opCmd){ |
| | | return service.StartOrStopShowPic(devId,opCmd); |
| | | } |
| | | @ApiOperation(tags = "在线监测-实时监控",value = "在线监测-实时监控-设置FGCD_A059当前电池组",notes = "Fbs9100_setparamAction_action_SetNowBatt") |
| | | @GetMapping("SetNowBatt") |
| | | public Response SetNowBatt(@RequestParam int devId,@RequestParam int opCmd,@RequestParam int battGroupNum){ |
| | | return service.SetNowBatt(devId,opCmd,battGroupNum); |
| | | } |
| | | } |