allow Keith's new AltosPressure definition be used to get imperial units right bdale-ui2
authorBdale Garbee <bdale@gag.com>
Thu, 11 May 2017 17:27:57 +0000 (11:27 -0600)
committerBdale Garbee <bdale@gag.com>
Thu, 11 May 2017 17:27:57 +0000 (11:27 -0600)
teststand/TestStandGraph.java

index 636fd1e2d68328c693a1e50e09fe5414cc7b441f..9a189e752812fc4bc99ef18ef113a464c2aad463 100644 (file)
@@ -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) {