summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveplotdatamodel.h
diff options
context:
space:
mode:
authorGravatar willem ferguson <willemferguson@zoology.up.ac.za>2015-01-20 20:13:53 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-21 17:00:18 +1200
commita700be32076225e68bfaa4b6c418cff015e2ceec (patch)
tree57c7d8b94e66279d301470b53101d2b5c05deec5 /qt-ui/profile/diveplotdatamodel.h
parent2923329e8e47f64667c34b33eb1de64657cb6774 (diff)
downloadsubsurface-a700be32076225e68bfaa4b6c418cff015e2ceec.tar.gz
CCR option: display o2 sensor data
This patch creates the possibility of viewing the individual sensor values when the po2 button on the profile toolbar is activated. This follows exactly the procedure for optionally displaying the setpoint values while viewing po2. A checkbox in the preferences panel determines whether sensor information is shown. By default it is set to OFF. When checked, and the po2 button is activated, sensor1 values are shown in grey, sensor2 in blue and sensor3 in brown. Signed-off-by: willem ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveplotdatamodel.h')
-rw-r--r--qt-ui/profile/diveplotdatamodel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/profile/diveplotdatamodel.h b/qt-ui/profile/diveplotdatamodel.h
index 6fdb5fcdd..6a1f9bd16 100644
--- a/qt-ui/profile/diveplotdatamodel.h
+++ b/qt-ui/profile/diveplotdatamodel.h
@@ -60,6 +60,9 @@ public:
PHE,
PO2,
O2SETPOINT,
+ CCRSENSOR1,
+ CCRSENSOR2,
+ CCRSENSOR3,
HEARTBEAT,
AMBPRESSURE,
GFLINE,
@@ -78,6 +81,7 @@ public:
double pheMax();
double pn2Max();
double po2Max();
+ double CCRMax();
void emitDataChanged();
void calculateDecompression();