]> git.tdb.fi Git - ext/subsurface.git/commit
Correctly parse the braindamaged tank size information from uemis
authorDirk Hohndel <dirk@hohndel.org>
Fri, 30 Sep 2011 05:12:42 +0000 (22:12 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Fri, 30 Sep 2011 05:12:42 +0000 (22:12 -0700)
commit775a081769d2969e449feead164a82cbe53d9b7e
tree6bc1abe132695b466aa815aa07dfc90e307098ba
parent529412aa379ead5beaa9e66c19fbc127d24b9ed4
Correctly parse the braindamaged tank size information from uemis

Admittedly the cuft ratings are stupid, but still, it's not that hard.
In order to correctly describe a tank based on the cuft system you need to
know the cuft AND the working pressure. But the uemis Zurich always
assumes that the working pressure is 200bar. That's pretty close to
3000psi and therefore works "good enough" for Aluminum tanks - but in
general this will of course fail (e.g. for HP or LP tanks).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
uemis.c