diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-05-14 09:48:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-05-14 13:27:07 -0700 |
commit | 62e95fdc8656a0c8fdb181c3fe0a48e043650a05 (patch) | |
tree | 0d55fe8d5ab4b93f389e7bb13e22a92aa2cdf3fc /dives/TestDiveDM5.xml | |
parent | 1f942ab556646fdfc7e5a5634cc6fd15518bc709 (diff) | |
download | subsurface-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/TestDiveDM5.xml')
-rw-r--r-- | dives/TestDiveDM5.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dives/TestDiveDM5.xml b/dives/TestDiveDM5.xml index cee358bf2..c5eee2aaa 100644 --- a/dives/TestDiveDM5.xml +++ b/dives/TestDiveDM5.xml @@ -5,7 +5,7 @@ <divesites> </divesites> <dives> -<dive number='1' date='2013-02-02' time='16:14:08' duration='59:20 min'> +<dive number='1' sac='11.046 l/min' otu='45' cns='15%' date='2013-02-02' time='16:14:08' duration='59:20 min'> <notes>Notes are here</notes> <cylinder size='12.0 l' o2='33.0%' start='205.11 bar' /> <divecomputer model='Vyper Air' deviceid='013749e4'> @@ -194,7 +194,7 @@ <sample time='59:20 min' depth='1.88 m' pressure='53.87 bar' /> </divecomputer> </dive> -<dive number='2' tags='boat, photography, tag' date='2013-02-02' time='13:44:21' duration='61:00 min'> +<dive number='2' sac='11.298 l/min' otu='32' cns='11%' tags='boat, photography, tag' date='2013-02-02' time='13:44:21' duration='61:00 min'> <notes>Testing notes</notes> <cylinder size='12.0 l' o2='33.0%' start='209.04 bar' /> <divecomputer model='Vyper Air' deviceid='013749e4'> @@ -388,7 +388,7 @@ <sample time='61:00 min' depth='1.67 m' pressure='72.34 bar' /> </divecomputer> </dive> -<dive number='3' date='2013-02-02' time='10:53:54' duration='66:00 min'> +<dive number='3' sac='10.109 l/min' otu='41' cns='15%' date='2013-02-02' time='10:53:54' duration='66:00 min'> <notes>Dive notes</notes> <cylinder size='12.0 l' o2='33.0%' start='212.74 bar' /> <divecomputer model='Vyper Air' deviceid='013749e4'> @@ -597,7 +597,7 @@ <sample time='66:00 min' depth='2.43 m' /> </divecomputer> </dive> -<dive number='4' date='2013-02-02' time='08:21:50' duration='60:40 min'> +<dive number='4' sac='10.260 l/min' otu='48' cns='17%' date='2013-02-02' time='08:21:50' duration='60:40 min'> <notes>Notes test</notes> <cylinder size='12.0 l' o2='33.0%' start='194.74 bar' /> <divecomputer model='Vyper Air' deviceid='013749e4'> |