From 9f916051f8cd6ae549754457ce4bc916963e5123 Mon Sep 17 00:00:00 2001 From: sige Date: Mon, 8 Jan 2024 17:22:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=85=B6=E4=BB=96=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E8=AF=95=E7=AE=A1=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dreamworks/boditech/driver/consumable/CsmSampleTube.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/java/com/dreamworks/boditech/driver/consumable/CsmSampleTube.java b/src/main/java/com/dreamworks/boditech/driver/consumable/CsmSampleTube.java index 055cc91..b011ed3 100644 --- a/src/main/java/com/dreamworks/boditech/driver/consumable/CsmSampleTube.java +++ b/src/main/java/com/dreamworks/boditech/driver/consumable/CsmSampleTube.java @@ -3,6 +3,12 @@ import com.dreamworks.boditech.driver.Device; import java.util.Objects; public class CsmSampleTube { // tube type : Epp 1.5 + public static final String TYPE_MINI = "Mini"; + // tube type : Epp 1.5 + public static final String TYPE_C_TIP = "CTip"; + // tube type : Epp 1.5 + public static final String TYPE_IMPROVET01 = "ImproveT01"; + // 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"; @@ -59,6 +65,12 @@ public class CsmSampleTube { return this.device.getLocationByName("regularEpp0.5mlDepth"); } else if (CsmSampleTube.TYPE_EPP15.equals(this.type)) { return this.device.getLocationByName("regularEpp1.5mlDepth"); + } else if (CsmSampleTube.TYPE_IMPROVET01.equals(this.type)) { + return this.device.getLocationByName("regularImproveT01Depth"); + } else if ( CsmSampleTube.TYPE_C_TIP.equals(this.type) ) { + return this.device.getLocationByName("regularCTipDepth"); + } else if ( CsmSampleTube.TYPE_MINI.equals(this.type) ) { + return this.device.getLocationByName("regularMiniDepth"); } else { throw new RuntimeException("unknown tube type " + this.type); }