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