From: Bdale Garbee Date: Thu, 11 May 2017 17:27:57 +0000 (-0600) Subject: allow Keith's new AltosPressure definition be used to get imperial units right X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=85e9b3bf305dbc6d2f8c1f0cdb4128bc2ae6fff9;p=fw%2Faltos allow Keith's new AltosPressure definition be used to get imperial units right --- diff --git a/teststand/TestStandGraph.java b/teststand/TestStandGraph.java index 636fd1e2..9a189e75 100644 --- a/teststand/TestStandGraph.java +++ b/teststand/TestStandGraph.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) {