diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-06-01 07:33:08 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-01 07:55:28 -0700 |
commit | 81e3f774478f4b3e28ffb59fc95f15ed8e397702 (patch) | |
tree | a5aa4767a121564f675b02746aab6258783bab5f /divecomputer.cpp | |
parent | ac1168f1860a78fee0e6e576054a6e3d9b39d185 (diff) | |
download | subsurface-81e3f774478f4b3e28ffb59fc95f15ed8e397702.tar.gz |
Planner: add warning if the plan consumes more gas than provided
If we have size information including working pressure for a cylinder, we
already track the expected pressure at each way point - this way we can
also alert the user if more gas is consumed than is available in the
cylinder.
This does not include sound planning strategies like "rule of thirds". It
simply assumes that you won't be able to breathe down the cylinder past
about 10bar (using 0 as cutoff seemed silly).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divecomputer.cpp')
0 files changed, 0 insertions, 0 deletions