diff options
| author | Keith Packard <keithp@keithp.com> | 2010-08-27 10:58:55 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-08-27 10:58:55 -0700 |
| commit | 63bd34cd1b5a411489e8c3ab377f0fe0eec11f67 (patch) | |
| tree | 8daae29a81a791c57fdd526a4820768757ff4f06 /ao-tools/altosui/AltosEepromRecord.java | |
| parent | 2923cf5057f9cef110dd547d8677ea5b60e00796 (diff) | |
altosui: add elevation and range information
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosEepromRecord.java')
| -rw-r--r-- | ao-tools/altosui/AltosEepromRecord.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ao-tools/altosui/AltosEepromRecord.java b/ao-tools/altosui/AltosEepromRecord.java index 86ac1fd2..4d0817ab 100644 --- a/ao-tools/altosui/AltosEepromRecord.java +++ b/ao-tools/altosui/AltosEepromRecord.java @@ -44,7 +44,7 @@ public class AltosEepromRecord { public int tick; public int a; public int b; - String data; + public String data; public boolean tick_valid; public AltosEepromRecord (String line) throws ParseException { @@ -107,4 +107,11 @@ public class AltosEepromRecord { } } + public AltosEepromRecord(int in_cmd, int in_tick, int in_a, int in_b) { + tick_valid = true; + cmd = in_cmd; + tick = in_tick; + a = in_a; + b = in_b; + } } |
