|
|
@ -239,7 +239,7 @@ public class SamplesPreProcessModuleCtrlService { |
|
|
|
/** |
|
|
|
* 取试管帽 |
|
|
|
*/ |
|
|
|
@HardwareServiceAction(name="取试管帽") |
|
|
|
@HardwareServiceAction(name="取试管帽", group="试管") |
|
|
|
public A8kEcode takeTubeCap( String tubeType ) throws HardwareException, InterruptedException { |
|
|
|
var params = this.samplesPreProcessModuleCtrlParamsService; |
|
|
|
this.a8kCanBusService.callblockcmd( |
|
|
@ -294,7 +294,7 @@ public class SamplesPreProcessModuleCtrlService { |
|
|
|
/** |
|
|
|
* 盖试管帽,并将试管移动回试管架中 |
|
|
|
*/ |
|
|
|
@HardwareServiceAction(name="盖试管帽并送回试管架") |
|
|
|
@HardwareServiceAction(name="盖试管帽并送回试管架", group="试管") |
|
|
|
public void pushBackTubeCapAndTakeBakTube(String tubeType) throws HardwareException, InterruptedException { |
|
|
|
var params = this.samplesPreProcessModuleCtrlParamsService; |
|
|
|
this.a8kCanBusService.callblockcmd( |
|
|
@ -356,7 +356,7 @@ public class SamplesPreProcessModuleCtrlService { |
|
|
|
* @param times 摇匀次数 |
|
|
|
* @param shakeDegree 摇匀角度 |
|
|
|
*/ |
|
|
|
@HardwareServiceAction(name="摇匀") |
|
|
|
@HardwareServiceAction(name="摇匀", group="试管") |
|
|
|
public void ShakeTube(A8kTubeType tubeType, Integer times, Integer shakeDegree) throws HardwareException, InterruptedException { |
|
|
|
var params = this.samplesPreProcessModuleCtrlParamsService; |
|
|
|
var standByPos = params.getShakeMotor_standbyPos(); |
|
|
@ -372,13 +372,13 @@ public class SamplesPreProcessModuleCtrlService { |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
@HardwareServiceAction(name="打开气溶胶风扇") |
|
|
|
@HardwareServiceAction(name="打开气溶胶风扇", group = "气溶胶风扇") |
|
|
|
public void openAerosolFan() throws HardwareException { |
|
|
|
var params = this.samplesPreProcessModuleCtrlParamsService; |
|
|
|
this.a8kCanBusService.callcmd(MId.WbTubeFanMod.toInt(), CmdId.fan_controler_set_speed.toInt(), params.getAerosolFanLevel()); |
|
|
|
} |
|
|
|
|
|
|
|
@HardwareServiceAction(name="关闭气溶胶风扇") |
|
|
|
@HardwareServiceAction(name="关闭气溶胶风扇", group = "气溶胶风扇") |
|
|
|
public void closeAerosolFan() throws HardwareException { |
|
|
|
this.a8kCanBusService.callcmd(MId.WbTubeFanMod.toInt(), CmdId.fan_controler_set_speed.toInt(), 0); |
|
|
|
} |
|
|
|