| | |
| | | @Api(tags = "在线监测-实时监控") |
| | | @RestController |
| | | @RequestMapping("Fbs9100s_fod_paramAction") |
| | | public class Fbs9100sFodParamController { |
| | | public class Fbs9100sFodParamController extends BaseController{ |
| | | |
| | | @Autowired |
| | | private Fbs9100sFodParamService service; |
| | |
| | | @PostMapping("update") |
| | | public Response update(@RequestBody Fbs9100sFodParam fod){ |
| | | if(fod.getOpCmd()==FBS9100_ComBase.CMD_ReadFodParam){ |
| | | return service.startOrStopTest(fod); |
| | | return service.startOrStopTest(fod);//160没有GroupNum |
| | | }else if(fod.getOpCmd()==FBS9100_ComBase.CMD_WriteFodParam){ |
| | | return service.update(fod); |
| | | }else if(fod.getOpCmd()==FBS9100_ComBase.CMD_Start_FODCL_test){ |
| | |
| | | } |
| | | return new Response(); |
| | | } |
| | | |
| | | @ApiOperation("从数据库中读取除硫参数") |
| | | @GetMapping("serchByCondition") |
| | | public Response serchByCondition(@RequestParam int devId){ |
| | | return service.serchByCondition(devId); |
| | | } |
| | | |
| | | } |