|
|
@ -24,18 +24,25 @@ public class StartResetTaskThread extends Thread { |
|
|
|
device.setStatus("preparing"); |
|
|
|
this.setProgressMessage("设备初始化..."); |
|
|
|
|
|
|
|
UfCmdSnippetExecutor.execute("StartResetInitDevices"); |
|
|
|
// 加热盘初始化 |
|
|
|
UfCmdSnippetExecutor.execute("StartResetInitHeatingPlateMotor"); |
|
|
|
// 加液盘初始化 |
|
|
|
UfCmdSnippetExecutor.execute("StartResetInitLiquidPlateMotor"); |
|
|
|
// 加热位密封盖初始化 |
|
|
|
this.setupHeatingSlotCover(); |
|
|
|
// 蠕动泵初始化 |
|
|
|
this.setupPeristalticPump(); |
|
|
|
if ( this.isErrorTubeRackRequired ) { |
|
|
|
this.setupErrorTubeRack(); |
|
|
|
} |
|
|
|
do { |
|
|
|
try { |
|
|
|
UfCmdSnippetExecutor.execute("StartResetInitDevices"); |
|
|
|
// 加热盘初始化 |
|
|
|
UfCmdSnippetExecutor.execute("StartResetInitHeatingPlateMotor"); |
|
|
|
// 加液盘初始化 |
|
|
|
UfCmdSnippetExecutor.execute("StartResetInitLiquidPlateMotor"); |
|
|
|
// 加热位密封盖初始化 |
|
|
|
this.setupHeatingSlotCover(); |
|
|
|
// 蠕动泵初始化 |
|
|
|
this.setupPeristalticPump(); |
|
|
|
if ( this.isErrorTubeRackRequired ) { |
|
|
|
this.setupErrorTubeRack(); |
|
|
|
} |
|
|
|
break; |
|
|
|
} catch ( Exception e ) { |
|
|
|
UfMdbNotification.error(e.getMessage()); |
|
|
|
} |
|
|
|
} while ( true ); |
|
|
|
|
|
|
|
this.setProgressMessage("设备初始化 : 相机"); |
|
|
|
device.camera.enable(); |
|
|
|