| | |
| | | return service.getExperimentId(type); |
| | | } |
| | | |
| | | @PostMapping |
| | | @PostMapping("kz") |
| | | @ApiOperation(value = "新增试验-空载") |
| | | public Response addKZ(@RequestBody Experiment<ExperimentBaseDataKZ, ExperimentPoint> experiment){ |
| | | return service.addKZ(experiment); |
| | | } |
| | | |
| | | @GetMapping("checkPrecondition") |
| | | @ApiOperation(value = "检查前置条件",notes = "传入的type选择其一:" + |
| | | "绕组:rz,\n" + |
| | | "空载:kz,\n" + |
| | | "负载:fz,\n" + |
| | | "升温:sw,\n" + |
| | | "超速:cs,\n" + |
| | | "空载反电动势:kzfdds,\n" + |
| | | "振动:zd,\n" + |
| | | "耐压:ny,\n" + |
| | | "转动惯量:zdgl,\n") |
| | | public Response checkPrecondition(String type){ |
| | | return service.checkPrecondition(type); |
| | | } |
| | | |
| | | |
| | | |
| | | /*======History======*/ |