| | |
| | | @PostMapping("kzfz") |
| | | @ApiOperation(value = "新增试验-空载/负载") |
| | | public Response addKZFZ(@RequestBody Experiment<ExperimentBaseDataKZ, ExperimentPoint> experiment){ |
| | | return service.addKZ(experiment); |
| | | return service.addKZFZ(experiment); |
| | | } |
| | | |
| | | @GetMapping("checkPrecondition") |
| | |
| | | } |
| | | |
| | | @PostMapping("startExperimentPoint") |
| | | @ApiOperation(value = "启动测试点") |
| | | @ApiOperation(value = "启动测试点",notes = "传入id,duration") |
| | | public Response StartExperimentPoint(@RequestBody ExperimentPoint point){ |
| | | return service.startExperimentPoint(point); |
| | | } |