diff options
author | Bdale Garbee <bdale@gag.com> | 2017-05-11 11:27:30 -0600 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2017-05-11 11:28:39 -0600 |
commit | 0080e61e5f2e20ce45041e29dc039d042aa7f76e (patch) | |
tree | f5f0b05e11ba7cd2b84ed374e2e440043c905e51 | |
parent | 9d05af2147c0eb6dc63c4d4dc1d9a3c31f480aef (diff) |
have AltosGraph use new AltosPressure to get imperial_units working
-rw-r--r-- | altosuilib/AltosGraph.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/altosuilib/AltosGraph.java b/altosuilib/AltosGraph.java index 23fa1ffe..2dbd1612 100644 --- a/altosuilib/AltosGraph.java +++ b/altosuilib/AltosGraph.java @@ -81,29 +81,6 @@ class AltosNsat extends AltosUnits { } } -class AltosPressure extends AltosUnits { - - public double value(double p, boolean imperial_units) { - return p; - } - - public double inverse(double p, boolean imperial_units) { - return p; - } - - public String show_units(boolean imperial_units) { - return "Pa"; - } - - public String say_units(boolean imperial_units) { - return "pascals"; - } - - public int show_fraction(int width, boolean imperial_units) { - return 0; - } -} - class AltosDbm extends AltosUnits { public double value(double d, boolean imperial_units) { |