From 892d1b259094a2dade09cb12040bd879d301e4bc Mon Sep 17 00:00:00 2001 From: zhaohe Date: Mon, 22 Jul 2024 11:32:36 +0800 Subject: [PATCH] add hbot in enable --- src/main/java/a8k/service/hardware/CommonHardwareOpeartion.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/a8k/service/hardware/CommonHardwareOpeartion.java b/src/main/java/a8k/service/hardware/CommonHardwareOpeartion.java index 5a03e6d..e42859b 100644 --- a/src/main/java/a8k/service/hardware/CommonHardwareOpeartion.java +++ b/src/main/java/a8k/service/hardware/CommonHardwareOpeartion.java @@ -57,7 +57,7 @@ public class CommonHardwareOpeartion { canBus.stepMotorEnable(MId.OptModScannerM, 1); //HBot初始化 -// canBus.stepMotorEnable(MId.HbotM, 1); + canBus.hbotEnable(MId.HbotM, 1); canBus.stepMotorEnable(MId.PipetteModZM, 1); //转盘归零 @@ -89,7 +89,7 @@ public class CommonHardwareOpeartion { canBus.stepMotorEnable(MId.OptModScannerM, 0); //HBot初始化 -// canBus.stepMotorEnable(MId.HbotM, 0); + canBus.hbotEnable(MId.HbotM, 0); canBus.stepMotorEnable(MId.PipetteModZM, 0); //转盘归零 @@ -118,7 +118,7 @@ public class CommonHardwareOpeartion { try {canBus.moduleStop(MId.OptModPullM);} catch (HardwareException ignored) {} try {canBus.moduleStop(MId.OptModScannerM);} catch (HardwareException ignored) {} //HBot初始化 -// try {canBus.moduleStop(MId.HbotM);} catch (HardwareException ignored) {} + try {canBus.moduleStop(MId.HbotM);} catch (HardwareException ignored) {} try {canBus.moduleStop(MId.PipetteModZM);} catch (HardwareException ignored) {} //转盘归零 try {canBus.moduleStop(MId.IncubatorRotateCtrlM);} catch (HardwareException ignored) {}