diff options
author | Rick Walsh <rickmwalsh@gmail.com> | 2016-07-06 22:40:32 +1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-07-09 12:08:10 -0700 |
commit | 6ed5e0d621dfaf481821bf8167e28fe61d4ba583 (patch) | |
tree | 84550bd9855c963af82cd3a715b85a8ff193765a /qt-models/weigthsysteminfomodel.cpp | |
parent | 9fbd11744f1bfffbc6973e0f9483ae1630dd8722 (diff) | |
download | subsurface-6ed5e0d621dfaf481821bf8167e28fe61d4ba583.tar.gz |
Add MOD and MND fields to cylindermodel
Adds fields to the planner cylinder model for maximum operating depth (MOD)
for a bottom mix gas, and maximum narcotic depth (MND). Fields are read/write,
so changing MOD changes %O2 and vice-versa. Changing MND changes %He and
vice-versa.
When setting MOD directly, the %O2 is truncated (rounded down) to an integer,
which re-calculates the MOD, which is sometimes a few metres greater than the
input depth. This is desireable behaviour, as the rounding is conservative.
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/weigthsysteminfomodel.cpp')
0 files changed, 0 insertions, 0 deletions