| | |
| | | "振动:zd,\n" + |
| | | "耐压:ny,\n" + |
| | | "转动惯量:zdgl,\n") |
| | | public Response checkPrecondition(String type){ |
| | | public Response checkPrecondition(@RequestParam String type){ |
| | | return service.checkPrecondition(type); |
| | | } |
| | | |
| | | @PutMapping("precondition") |
| | | @ApiOperation(value = "设置前置条件",notes = "id:进线屏开关状态-1,大功率整流电源-2,..." + |
| | | "value:开关信号:关-0,开-1,数值信号:电源-开-500-关-400,A排-开-500-关-400,B排-开-0-关-100") |
| | | public Response setPrecondition(@RequestParam Integer id,@RequestParam Integer value){ |
| | | return service.setPrecondition(id,value); |
| | | } |
| | | |
| | | /** |
| | |
| | | return service.finishExperiment(experimentId); |
| | | } |
| | | |
| | | @PostMapping("finishExperimentPoint") |
| | | @ApiOperation(value = "结束测试点") |
| | | public Response finishExperimentPoint(@RequestParam Integer id){ |
| | | return service.finishExperimentPoint(id); |
| | | } |
| | | |
| | | @PostMapping("restartExperimentPoint") |
| | | @ApiOperation(value = "重做测试点") |
| | | public Response restartExperimentPoint(@RequestParam Integer id){ |
| | | return service.restartExperimentPoint(id); |
| | | } |
| | | |
| | | /*======History======*/ |
| | | |
| | | @PostMapping("page") |