mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Minimum gas calculation - Calculations and UI parameters
Add minimum gas calculation to planner output. Add the two UI parameters prefs.sacfactor and prefs.problemsolvingtime. Connect UI signals and slots for recalculation of diveplan. Disable minimum gas calculation if there was already a warning before. If minimum gas result is larger then cylinder start pressure give warning message instead of result. Add line break before pO2 warnings but only if warnings exist. Signed-off-by: Joachim Ritter <jritter@bitsenke.de> Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
b8e044dee3
commit
7f8c3592ce
10 changed files with 240 additions and 45 deletions
|
|
@ -78,6 +78,8 @@ slots:
|
|||
void setAscRateStops(int rate);
|
||||
void setAscRateLast6m(int rate);
|
||||
void setDescRate(int rate);
|
||||
void sacFactorChanged(const double factor);
|
||||
void problemSolvingTimeChanged(const int min);
|
||||
void setBottomPo2(double po2);
|
||||
void setDecoPo2(double po2);
|
||||
void setBestmixEND(int depth);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue