|
|
@ -87,7 +87,7 @@ public class HbotLittleBSPosCalibration { |
|
|
|
|
|
|
|
|
|
|
|
@ExtApiFn(name = "开始标定", group = "标定小瓶XY坐标", order = 30) |
|
|
|
public void startCalibrateLittleBottleGroup(LittleBottleConsumableType type) throws AppException { |
|
|
|
public void startCalibrateLittleBottleGroup() throws AppException { |
|
|
|
refPoint = new java.util.ArrayList<>(); |
|
|
|
moveToZero(); |
|
|
|
disableModule(); |
|
|
@ -133,21 +133,23 @@ public class HbotLittleBSPosCalibration { |
|
|
|
// 标定Z轴 |
|
|
|
// |
|
|
|
|
|
|
|
public void setZPos(HbotLittleBSPos posName) throws AppException { |
|
|
|
public void setZPos(HbotLittleBSPos posName, Integer offset) throws AppException { |
|
|
|
enableModule(); |
|
|
|
pipetteCtrlDriver.zMotorMeasureDistance(); |
|
|
|
hbotLittleBSPosMgr.setParam(posName, pipetteCtrlDriver.zMotorReadMeasureDistanceResult()); |
|
|
|
hbotLittleBSPosMgr.setParam(posName, pipetteCtrlDriver.zMotorReadMeasureDistanceResult() + offset); |
|
|
|
disableModule(); |
|
|
|
} |
|
|
|
|
|
|
|
@ExtApiFn(name = "校准.小瓶穿孔Z轴位置", group = "标定Z轴", order = 101) |
|
|
|
public void setPierceZPos() throws AppException {setZPos(HbotLittleBSPos.LittleBSPierceZPos);} |
|
|
|
public void setPierceZPos() throws AppException {setZPos(HbotLittleBSPos.LittleBSPierceZPos, 0);} |
|
|
|
|
|
|
|
@ExtApiFn(name = "校准.小瓶取样Z轴位置", group = "标定Z轴", order = 102) |
|
|
|
public void setSampleZPos() throws AppException {setZPos(HbotLittleBSPos.LittleBSSampleZPos);} |
|
|
|
public void setSampleZPos() throws AppException {setZPos(HbotLittleBSPos.LittleBSSampleZPos, 0);} |
|
|
|
|
|
|
|
@ExtApiFn(name = "校准.小瓶缓冲液取样结束Z轴位置", group = "标定Z轴", order = 104) |
|
|
|
public void setSampleEndZPos() throws AppException {setZPos(HbotLittleBSPos.LittleBSSampleEndZPos);} |
|
|
|
public void setSampleEndZPos() throws AppException { |
|
|
|
//结束位置比设定位置高1mm的余量 |
|
|
|
setZPos(HbotLittleBSPos.LittleBSSampleEndZPos, -20);} |
|
|
|
|
|
|
|
// |
|
|
|
// 校验 |
|
|
@ -156,6 +158,8 @@ public class HbotLittleBSPosCalibration { |
|
|
|
public void testMoveToLittleBufferPos(ConsumableGroup group) throws AppException { |
|
|
|
resetStopFlag(); |
|
|
|
enableModule(); |
|
|
|
pipetteCtrlDriver.zMotorMoveZeroBlock(); |
|
|
|
|
|
|
|
for (int i = 0; i < AppConstant.CONSUMABLE_NUM; i++) { |
|
|
|
hbotCtrlService.moveToLittleBufferPiercePos(group, i); |
|
|
|
pipetteCtrlDriver.zMotorMoveToZeroPointQuickBlock(); |
|
|
@ -163,6 +167,7 @@ public class HbotLittleBSPosCalibration { |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ExtApiFn(name = "停止校验", group = "校验", order = 304) |
|
|
|
public void stopTest() throws AppException { |
|
|
|
setStopFlag(); |
|
|
|