aboutsummaryrefslogtreecommitdiffstats
path: root/dives/test40-42.xml
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2020-05-14 09:48:09 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2020-05-14 13:27:07 -0700
commit62e95fdc8656a0c8fdb181c3fe0a48e043650a05 (patch)
tree0d55fe8d5ab4b93f389e7bb13e22a92aa2cdf3fc /dives/test40-42.xml
parent1f942ab556646fdfc7e5a5634cc6fd15518bc709 (diff)
downloadsubsurface-62e95fdc8656a0c8fdb181c3fe0a48e043650a05.tar.gz
Save SAC, OTU and CNS in the XML export
We do _not_ read them back, since they are calculated values, although I guess we could aim to do that too at some point in case we have an import from somewhere else that has these values but not the profile (or gas use) to actually calculate them. Fix test-cases that are checked by TestParse (but nothing else) to match. Requested-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'dives/test40-42.xml')
-rw-r--r--dives/test40-42.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/dives/test40-42.xml b/dives/test40-42.xml
index ef239fa3c..f591d8366 100644
--- a/dives/test40-42.xml
+++ b/dives/test40-42.xml
@@ -34,7 +34,7 @@
<depth max='24.9 m' mean='20.1 m' />
</divecomputer>
</dive>
-<dive number='417' divesiteid='deadbeef' date='2015-05-23' time='13:23:00' duration='100:00 min'>
+<dive number='417' otu='135' cns='54%' divesiteid='deadbeef' date='2015-05-23' time='13:23:00' duration='100:00 min'>
<notes>{\rtf1\ansi\ansicpg1252\deff0\deflang1035{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}}
\viewkind4\uc1\pard\f0\fs17\par
}</notes>
@@ -747,7 +747,7 @@
<sample time='114:40 min' depth='0.0 m' />
</divecomputer>
</dive>
-<dive number='1' date='2014-04-01' time='10:00:00' duration='77:54 min'>
+<dive number='1' sac='1.049 l/min' otu='95' cns='34%' date='2014-04-01' time='10:00:00' duration='77:54 min'>
<notes>CCR dive</notes>
<cylinder size='2.0 l' workpressure='232.0 bar' description='Oxy2' o2='100.0%' start='190.0 bar' end='130.0 bar' use='oxygen' />
<cylinder size='2.0 l' workpressure='232.0 bar' description='Dil2' start='185.0 bar' end='130.0 bar' use='diluent' />
@@ -3244,7 +3244,7 @@
<sample time='82:50 min' depth='0.235 m' ndl='0:00 min' stoptime='0:00 min' cns='0%' po2='0.0 bar' />
</divecomputer>
</dive>
-<dive number='1' date='2014-04-02' time='10:00:00' duration='77:54 min'>
+<dive number='1' sac='1.049 l/min' otu='95' cns='34%' date='2014-04-02' time='10:00:00' duration='77:54 min'>
<notes>CCR dive</notes>
<cylinder size='2.0 l' workpressure='232.0 bar' description='Oxy2' o2='100.0%' start='190.0 bar' end='130.0 bar' use='oxygen' />
<cylinder size='2.0 l' workpressure='232.0 bar' description='Dil2' start='185.0 bar' end='130.0 bar' use='diluent' />