| | |
| | | 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 |
| | | @RequestMapping("Li9130DCDCParamAction") |
| | | public class Li9130DcdcParamController { |
| | | public class Li9130DcdcParamController extends BaseController{ |
| | | @Autowired |
| | | private Li9130DcdcParamService service; |
| | | |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "设置DCDC工作参数",notes ="Li9130DCDCParamAction!updateParam" ) |
| | | @GetMapping("updateParam") |
| | | public Response updateParam(@RequestParam Li9130DcdcParam param){ |
| | | @PostMapping("updateParam") |
| | | public Response updateParam(@RequestBody Li9130DcdcParam param){ |
| | | return service.updateParam(param); |
| | | } |
| | | } |