|
|
@ -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); |
|
|
|
} |
|
|
|