Hiding puck detection errors from users.
This commit is contained in:
@@ -21,15 +21,17 @@ public class SampleInfo extends HashMap {
|
||||
}
|
||||
|
||||
Object[] getData() {
|
||||
return new Object[]{getStr("userName"), getStr("dewarName"),
|
||||
return new Object[]{
|
||||
//getStr("userName"), getStr("dewarName"),
|
||||
getStr("puckName"), getEnum("puckType", PuckType.class, PuckType.Unknown), getStr("puckBarcode"), getStr("puckAddress"),
|
||||
getStr("sampleName"), getInt("samplePosition"), getEnum("sampleStatus", SampleStatus.class, SampleStatus.Unknown), getInt("sampleMountCount")
|
||||
getStr("sampleName"), getInt("samplePosition"), getStr("sampleBarcode"), getEnum("sampleStatus", SampleStatus.class, SampleStatus.Unknown), getInt("sampleMountCount")
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
String getStr(String key) {
|
||||
return String.valueOf(get(key));
|
||||
Object value = get(key);
|
||||
return (value == null) ? "" : String.valueOf(get(key));
|
||||
}
|
||||
|
||||
int getInt(String key) {
|
||||
|
||||
Reference in New Issue
Block a user