whyclxw
2024-09-11 ad1fe8aaf1b5d87f9c9667ae7165caa8db3ad78b
src/main/java/com/whyc/controller/DevActmTestparamController.java
@@ -21,8 +21,8 @@
    @ApiOperation(value = "读取actm一体机参数")
    @GetMapping("getActmParam")
    public Object getActmParam(@RequestParam int devId){
        return service.getActmParam(devId);
    public Object getActmParam(@RequestParam int devId,@RequestParam int index){
        return service.getActmParam(devId,index);
    }
    @ApiOperation(value = "设置actm均衡仪参数")
@@ -30,10 +30,11 @@
    public Object setActmParam(@RequestBody ActmResDto param){
        return service.setActmParam(param);
    }
    @ApiOperation(value = "批量设置actm均衡仪参数")
    @PostMapping("setActmParamPl")
    public Object setActmParamPl(@RequestBody List<ActmResDto> params){
        return service.setActmParamPl(params);
    public Object setActmParamPl(@RequestBody ActmResDto param){
        return service.setActmParamPl(param);
    }
    @ApiOperation(value = "启动,暂停,继续,停止actm均衡仪")
@@ -43,9 +44,9 @@
    }
    @ApiOperation(value = "批量控制actm均衡仪")
    @GetMapping("controllActmParamPl")
    public Response controllActmParamPl(@RequestParam List<ActmPlContDto> actmPlContDtos){
        return service.controllActmParamPl(actmPlContDtos);
    @PostMapping("controllActmParamPl")
    public Response controllActmParamPl(@RequestBody List<Integer> devIds,@RequestParam int index,@RequestParam int type){
        return service.controllActmParamPl(devIds,index,type);
    }
}