|
|
@ -42,4 +42,15 @@ public class DeviceController extends UfApiControllerBase { |
|
|
|
this.device.door.close(); |
|
|
|
return this.success(); |
|
|
|
} |
|
|
|
|
|
|
|
@ResponseBody |
|
|
|
@PostMapping("/api/device/trans-move-tube-rack-to-heat-plate") |
|
|
|
public UfApiResponse transMoveTubeRackToHeatPlate() throws InterruptedException { |
|
|
|
var slot = this.device.heatingTurntable.getSlotByLiquidPlateTubeRack(); |
|
|
|
if (null == slot) { |
|
|
|
return this.error("加液盘无试管架"); |
|
|
|
} |
|
|
|
this.device.transferArm.moveTubeRackToHeatingTurntable(slot.index); |
|
|
|
return this.success(); |
|
|
|
} |
|
|
|
} |