This commit is contained in:
gac-S_Changer
2019-01-22 14:59:44 +01:00
parent a1249251a6
commit 378653e57e

View File

@@ -198,7 +198,7 @@ public class BasePlate extends DeviceBase {
try {
Puck p = getPuckByName(name.substring(0, 2));
if (p != null) {
return p.getSamples()[Integer.valueOf(name.substring(2, 3)) - 1];
return p.getSamples()[Integer.valueOf(name.substring(2, name.length())) - 1];
}
} catch (Exception ex) {
}