sige 1 year ago
parent
commit
2ea60e8062
  1. 8
      src/main/java/a8k/service/hardware/CommonHardwareOpeartion.java

8
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.stepMotorEnable(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.stepMotorEnable(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) {}
@ -147,7 +147,7 @@ public class CommonHardwareOpeartion {
try {canBus.stepMotorEnable(MId.OptModScannerM, 0);} catch (HardwareException ignored) {}
//HBot初始化
try {canBus.stepMotorEnable(MId.HbotM, 0);} catch (HardwareException ignored) {}
// try {canBus.stepMotorEnable(MId.HbotM, 0);} catch (HardwareException ignored) {}
try {canBus.stepMotorEnable(MId.PipetteModZM, 0);} catch (HardwareException ignored) {}
//转盘归零

Loading…
Cancel
Save