diff options
author | Rick Walsh <rickmwalsh@gmail.com> | 2016-05-22 11:00:22 +1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-05-28 14:24:10 -0700 |
commit | 8acbeed55584c21931238f9b4738e337919029b9 (patch) | |
tree | 69249c7bb4b1c68422a8d229b09782f9f7ba5f33 /qt-models/diveplannermodel.cpp | |
parent | 47a2e8b1d9bdd71b1b45036c533ba108d35b1eab (diff) | |
download | subsurface-8acbeed55584c21931238f9b4738e337919029b9.tar.gz |
Add some gas mix validation to the planner
A few basic rules for gas validation:
We can't have <0%, or >100% of either O2 or He
O2 + He must not be >100%
Switch depth can't be <0%
This places limits on user-input values
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/diveplannermodel.cpp')
0 files changed, 0 insertions, 0 deletions