|
|
@ -23,6 +23,10 @@ public class Feeder { |
|
|
|
UfCommon.delay(300); |
|
|
|
String result = UfActuatorCmdExecutor.execute("TubeRackScanner", "code_scanner_read_scanner_result"); |
|
|
|
UfActuatorCmdExecutor.execute("TubeRackScanner", "code_scanner_stop_scan"); |
|
|
|
if ("".equals(result)) { |
|
|
|
throw new RuntimeException("试管类型条码扫描失败"); |
|
|
|
} |
|
|
|
|
|
|
|
var codeBytes = Base64.getDecoder().decode(result); |
|
|
|
var code = new String(codeBytes); |
|
|
|
switch ( code.trim() ) { |
|
|
|