projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9d05af2
)
have AltosGraph use new AltosPressure to get imperial_units working
author
Bdale Garbee
<bdale@gag.com>
Thu, 11 May 2017 17:27:30 +0000
(11:27 -0600)
committer
Bdale Garbee
<bdale@gag.com>
Thu, 11 May 2017 17:28:39 +0000
(11:28 -0600)
altosuilib/AltosGraph.java
patch
|
blob
|
history
diff --git
a/altosuilib/AltosGraph.java
b/altosuilib/AltosGraph.java
index 23fa1ffee999eee684bbc418f4b6f727c3bb321f..2dbd1612cad13ffd10959720605a6107e6be996a 100644
(file)
--- 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) {
class AltosDbm extends AltosUnits {
public double value(double d, boolean imperial_units) {