package com.whyc.controller; import com.whyc.dto.Response; import com.whyc.pojo.Fbs9149Setparam; import com.whyc.service.Fbs9149SetparamService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.List; @Api(tags = "作业管理-放电计划管理") @RestController @RequestMapping("fbs9149Setparam") public class Fbs9149SetparamController { @Autowired private Fbs9149SetparamService service; @ApiOperation(tags = "在线监测-实时监控", value = "在线监测-实时监控-读取并联电源9149放电参数") @GetMapping("searchParalleParam9149") public Response searchParalleParam9149(@RequestParam int opCmd, @RequestParam int paramtype, @RequestParam int devId) { return service.searchParalleParam9149(opCmd, paramtype, devId); } @ApiOperation(tags = "在线监测-实时监控", value = "在线监测-实时监控-控制并联电源9149充放电停止") @GetMapping("controllerParalle9149") public Response controllerParalle9149(@RequestParam int opCmd, @RequestParam int testCmd, @RequestParam String battGroupNums, @RequestParam int devId) { return service.controllerParalle9149(opCmd, testCmd, battGroupNums, devId); } @ApiOperation(tags = "在线监测-实时监控", value = "在线监测-实时监控-设置并联电源9149放电参数") @PostMapping("updateParalleParam9149") public Response updateParalleParam9149(@RequestBody List list) { return service.updateParalleParam9149(list); } }