Display user name
This commit is contained in:
@@ -353,6 +353,18 @@ public class Puck extends DeviceBase {
|
||||
}
|
||||
id = value;
|
||||
}
|
||||
|
||||
public static boolean isSameId(String id1, String id2){
|
||||
return id1.equals(id2) || BarcodeMatcher.matchBarcodes(id1,id2);
|
||||
}
|
||||
|
||||
public static boolean hasSameId(Puck p1, Puck p2){
|
||||
return isSameId(p1.getId(), p2.getId());
|
||||
}
|
||||
|
||||
public boolean hasSameId(Puck p){
|
||||
return isSameId(getId(), p.getId());
|
||||
}
|
||||
|
||||
public char getSegment() {
|
||||
return segment;
|
||||
|
||||
Reference in New Issue
Block a user