mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Planner: bring sanity to the SAC rate handling
The old implementation was... let's call it creative. This tries to actually get things right instead of using magic. Don't pretend that double values are ints. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
150676ce3d
commit
6ed189f32c
5 changed files with 61 additions and 48 deletions
|
@ -70,8 +70,8 @@ slots:
|
|||
void triggerGFLow();
|
||||
void setSurfacePressure(int pressure);
|
||||
int getSurfacePressure();
|
||||
void setBottomSac(int sac);
|
||||
void setDecoSac(int sac);
|
||||
void setBottomSac(double sac);
|
||||
void setDecoSac(double sac);
|
||||
void setStartTime(const QTime &t);
|
||||
void setStartDate(const QDate &date);
|
||||
void setLastStop6m(bool value);
|
||||
|
@ -160,8 +160,8 @@ public
|
|||
slots:
|
||||
void settingsChanged();
|
||||
void atmPressureChanged(const QString &pressure);
|
||||
void bottomSacChanged(const int bottomSac);
|
||||
void decoSacChanged(const int decosac);
|
||||
void bottomSacChanged(const double bottomSac);
|
||||
void decoSacChanged(const double decosac);
|
||||
void printDecoPlan();
|
||||
void setAscRate75(int rate);
|
||||
void setAscRate50(int rate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue