This commit is contained in:
rusefillc 2022-11-25 23:39:09 -05:00
parent f7c13a71ae
commit e3d4704e35
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,7 @@ public class Field {
private final int bitOffset;
private final String[] options;
private double scale = 1;
private int baseOffset;
public Field(String name, int offset, FieldType type) {
this(name, offset, type, NO_BIT_OFFSET);
@ -269,6 +270,11 @@ public class Field {
return this;
}
public Field setBaseOffset(int baseOffset) {
this.baseOffset = baseOffset;
return this;
}
public double getScale() {
return scale;
}