| | |
| | | @Autowired |
| | | private Dev6185AlmparamService service; |
| | | |
| | | @ApiOperation(value = "参数设置") |
| | | @ApiOperation(value = "6185参数设置") |
| | | @PostMapping("set6185Alarm") |
| | | public Response set6185Alarm(@RequestBody Dev6185Almparam par){ |
| | | return service.set6185Alarm(par); |
| | | } |
| | | |
| | | @ApiOperation(value = "参数读取") |
| | | @ApiOperation(value = "6185参数读取") |
| | | @GetMapping("get6185Alarm") |
| | | public Response get6185Alarm(@RequestParam int devId){ |
| | | return service.get6185Alarm(devId); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "6186/6286(485通讯)参数设置") |
| | | @PostMapping("set6186Alarm") |
| | | public Response set6186Alarm(@RequestBody Dev6185Almparam par){ |
| | | return service.set6186Alarm(par); |
| | | } |
| | | |
| | | @ApiOperation(value = "6186/6286(485通讯)参数读取") |
| | | @GetMapping("get6186Alarm") |
| | | public Response get6186Alarm(@RequestParam int devId,@RequestParam int battgroupnum){ |
| | | return service.get6186Alarm(devId,battgroupnum); |
| | | } |
| | | |
| | | |
| | | } |