Planner: automate calculation of best mix for max depth

Add option to calculate the best mix portion of O2 and He for the dive's max
depth if the user enters * in the MOD and MND cylinder fields. Gas portions
are automatically recalculated if the max depth of the dive changes.

Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Rick Walsh 2016-07-06 22:40:35 +10:00 committed by Dirk Hohndel
parent ae9e147314
commit f08b0e0e3e
5 changed files with 88 additions and 13 deletions

View file

@ -44,6 +44,7 @@ public:
void rememberTanks();
bool tankInUse(int cylinderid);
void setupCylinders();
bool updateMaxDepth();
/**
* @return the row number.
*/