Browse Source

增加子弹头1.5ml支持

master
sige 2 years ago
parent
commit
f93aa17583
  1. 4
      src/main/java/com/dreamworks/boditech/driver/consumable/CsmSampleTube.java

4
src/main/java/com/dreamworks/boditech/driver/consumable/CsmSampleTube.java

@ -2,6 +2,8 @@ package com.dreamworks.boditech.driver.consumable;
import com.dreamworks.boditech.driver.Device;
import java.util.Objects;
public class CsmSampleTube {
// tube type : Epp 1.5
public static final String TYPE_EPP15 = "Epp1.5";
// tube type : Epp 0.5
public static final String TYPE_EPP05 = "Epp0.5";
// tube type : blood tube 3ml
@ -55,6 +57,8 @@ public class CsmSampleTube {
return this.device.getLocationByName("regularBloodTube3mlDepth");
} else if (CsmSampleTube.TYPE_EPP05.equals(this.type)) {
return this.device.getLocationByName("regularEpp0.5mlDepth");
} else if (CsmSampleTube.TYPE_EPP15.equals(this.type)) {
return this.device.getLocationByName("regularEpp1.5mlDepth");
} else {
throw new RuntimeException("unknown tube type " + this.type);
}

Loading…
Cancel
Save