lxw
2022-12-19 21bc04df07d1f13f8043d5eb8cca3b4c6ebbd29c
src/main/java/com/whyc/controller/Fbs9100SetparamController.java
@@ -15,26 +15,33 @@
    @Autowired
    private Fbs9100SetparamService service;
    @ApiOperation(value = "查询设备的参数",notes = "等10s响应")
    @ApiOperation(value = "查询设备的参数", notes = "等10s响应")
    @GetMapping("/serchdevParam")
    public Response serchdevParam(@RequestParam int devId){
        return  service.serchdevParam(devId);
    public Response serchdevParam(@RequestParam int devId) {
        return service.serchdevParam(devId);
    }
    @ApiOperation(tags = "在线监测-实时监控",value = "在线监测-实时监控-BTS停止")
    @ApiOperation(tags = "在线监测-实时监控", value = "在线监测-实时监控-BTS停止")
    @GetMapping("serchbyDev_id")
    public Response serchbyDev_id(@RequestParam int num, Integer testCmd,@RequestParam int devId,@RequestParam int battGroupNum){
        return service.serchbyDev_id(num,testCmd,devId,battGroupNum);
    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 = "在线监测-实时监控-重启设备")
    @ApiOperation(tags = "在线监测-实时监控", value = "BTS停止基础上加上tb_li9130_setparam_plan表得is_statup设置为0")
    @GetMapping("serchbyDev_id_li9130")
    public Response serchbyDev_id_li9130(@RequestParam int num, Integer testCmd, @RequestParam int devId, @RequestParam int battGroupNum) {
        return service.serchbyDev_id_li9130(num, testCmd, devId, battGroupNum);
    }
    @ApiOperation(tags = "在线监测-实时监控", value = "在线监测-实时监控-重启设备")
    @PostMapping("updateMaintain")
    public Response updateMaintain(@RequestBody Fbs9100Setparam fbs9100Setparam){
    public Response updateMaintain(@RequestBody Fbs9100Setparam fbs9100Setparam) {
        return service.updateMaintain(fbs9100Setparam);
    }
    @ApiOperation(tags = "在线监测-实时监控",value = "在线监测-实时监控-BTS放电参数设置",notes = "Fbs9100_setparamAction_action_update")
    @ApiOperation(tags = "在线监测-实时监控", value = "在线监测-实时监控-BTS放电参数设置", notes = "Fbs9100_setparamAction_action_update")
    @PostMapping("update")
    public Response update(@RequestBody Fbs9100Setparam fbs9100Setparam){
    public Response update(@RequestBody Fbs9100Setparam fbs9100Setparam) {
        return service.update(fbs9100Setparam);
    }
@@ -44,7 +51,7 @@
        return service.update61850Param(fbs9100Setparam);
    }
    @ApiOperation(tags = "在线监测-实时监控", value = "在线监测-实时监控-A059发送指令", notes = "Fbs9100_setparamAction_action_updateA059Cmd")
    @ApiOperation(tags = "在线监测-实时监控", value = "在线监测-实时监控-A059发送指令", notes = "Fbs9100_setparamAction_action_updateA059Cmd(新需求A059检测到停电事件也用此接口发送停止命令)")
    @GetMapping("updateA059Cmd")
    public Response updateA059Cmd(@RequestParam int opCmd, @RequestParam int devId) {
        return service.updateA059Cmd(opCmd, devId);
@@ -86,4 +93,46 @@
    public Response SetNowBatt(@RequestParam int devId, @RequestParam int opCmd, @RequestParam int battGroupNum) {
        return service.SetNowBatt(devId, opCmd, battGroupNum);
    }
    @ApiOperation(tags = "电操开关遥调遥控点位",value = "设置参数")
    @PostMapping("updateEOperatingSwitchParam")
    public Response updateEOperatingSwitchParam(@RequestBody Fbs9100Setparam fbs9100Setparam){
        return service.updateEOperatingSwitch(fbs9100Setparam);
    }
    @ApiOperation(tags = "电操开关遥调遥控点位",value = "读取参数")
    @PostMapping("getEOperatingSwitchParam")
    public Response getEOperatingSwitchParam(@RequestParam int devId){
        return service.getEOperatingSwitch(devId);
    }
    @ApiOperation(tags = "电操开关遥调遥控点位",value = "启动测试")
    @PostMapping("updateEOperatingSwitchStart")
    public Response updateEOperatingSwitchStart(@RequestBody Fbs9100Setparam fbs9100Setparam){
        return service.updateEOperatingSwitchStart(fbs9100Setparam);
    }
    @ApiOperation(tags = "电操开关遥调遥控点位", value = "停止测试")
    @PostMapping("updateEOperatingSwitchStop")
    public Response updateEOperatingSwitchStop(@RequestBody Fbs9100Setparam fbs9100Setparam) {
        return service.updateEOperatingSwitchStop(fbs9100Setparam);
    }
    @ApiOperation(tags = "电操开关遥调遥控点位", value = "电操开关控制")
    @PostMapping("updateEOperatingSwitchControl")
    public Response updateEOperatingSwitchControl(@RequestBody Fbs9100Setparam fbs9100Setparam) {
        return service.updateEOperatingSwitchControl(fbs9100Setparam);
    }
    @ApiOperation(tags = "在线监测-实时监控", value = "在线监测-实时监控-读取FBO_4830放电参数")
    @GetMapping("searchFBO4830Param")
    public Response searchFBO4830Param(@RequestParam int opCmd, @RequestParam int devId) {
        return service.searchFBO4830Param(opCmd, devId);
    }
    @ApiOperation(tags = "在线监测-实时监控", value = "在线监测-实时监控-设置FBO_4830放电参数")
    @PostMapping("updateFBO4830Param")
    public Response updateFBO4830Param(@RequestBody Fbs9100Setparam a059setParam) {
        return service.updateFBO4830Param(a059setParam);
    }
}