This commit is contained in:
rusefillc 2022-01-18 11:59:18 -05:00
parent 7e007cc534
commit 5a14b35799
3 changed files with 7 additions and 1 deletions

View File

@ -76,4 +76,8 @@ public enum FieldType {
throw new UnsupportedOperationException("storage size is unclear on " + this);
return storageSize;
}
public boolean isString() {
return this == STRING;
}
}

View File

@ -6,7 +6,7 @@ import java.net.URL;
import java.util.concurrent.atomic.AtomicReference;
public class rusEFIVersion {
public static final int CONSOLE_VERSION = 20220116;
public static final int CONSOLE_VERSION = 20220118;
public static AtomicReference<String> firmwareVersion = new AtomicReference<>("N/A");
public static long classBuildTimeMillis() {

View File

@ -67,6 +67,8 @@ public class LiveDataParserPanel {
Field field = Field.findFieldOrNull(Fields.VALUES, "", setting.getText());
if (field == null)
continue;
if (field.getType().isString())
continue;
Number value = field.getValue(ci);
Rectangle r;
try {