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/TestDiveSeabearNewFormat.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/TestDiveSeabearNewFormat.xml')
-rw-r--r-- | dives/TestDiveSeabearNewFormat.xml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dives/TestDiveSeabearNewFormat.xml b/dives/TestDiveSeabearNewFormat.xml index 1647e609d..f5cea5026 100644 --- a/dives/TestDiveSeabearNewFormat.xml +++ b/dives/TestDiveSeabearNewFormat.xml @@ -211,7 +211,7 @@ <sample time='17:15 min' depth='0.0 m' /> </divecomputer> </dive> -<dive number='3' date='2012-10-01' time='06:49:00' duration='16:25 min'> +<dive number='3' otu='13' cns='7%' date='2012-10-01' time='06:49:00' duration='16:25 min'> <divecomputer model='Seabear H3' deviceid='ffffffff'> <depth max='69.9 m' mean='32.928 m' /> <temperature water='25.0 C' /> @@ -418,7 +418,7 @@ <sample time='17:15 min' depth='0.0 m' /> </divecomputer> </dive> -<dive number='4' date='2012-10-01' time='07:07:00' duration='16:17 min'> +<dive number='4' otu='13' cns='14%' date='2012-10-01' time='07:07:00' duration='16:17 min'> <divecomputer model='Seabear H3' deviceid='ffffffff' dctype='Freedive'> <depth max='70.1 m' mean='33.197 m' /> <temperature water='25.0 C' /> @@ -1351,7 +1351,7 @@ <sample time='16:24 min' depth='0.1 m' /> </divecomputer> </dive> -<dive number='5' date='2012-10-01' time='07:24:00' duration='16:25 min'> +<dive number='5' otu='13' cns='21%' date='2012-10-01' time='07:24:00' duration='16:25 min'> <divecomputer model='Seabear H3' deviceid='ffffffff'> <depth max='69.9 m' mean='32.928 m' /> <temperature water='25.0 C' /> @@ -1557,7 +1557,7 @@ <sample time='17:15 min' depth='0.0 m' /> </divecomputer> </dive> -<dive number='1' date='2012-10-01' time='06:02:00' duration='16:25 min'> +<dive number='1' otu='16' cns='5%' date='2012-10-01' time='06:02:00' duration='16:25 min'> <cylinder description='oxygen' o2='100.0%' use='oxygen' /> <cylinder description='diluent' use='diluent' /> <divecomputer model='Seabear T1' deviceid='ffffffff' dctype='CCR' no_o2sensors='3'> @@ -1766,7 +1766,7 @@ <sample time='17:15 min' depth='0.0 m' /> </divecomputer> </dive> -<dive number='2' date='2012-10-01' time='06:22:00' duration='16:25 min'> +<dive number='2' cns='5%' date='2012-10-01' time='06:22:00' duration='16:25 min'> <divecomputer model='Seabear T1' deviceid='ffffffff' dctype='CCR'> <depth max='69.9 m' mean='32.928 m' /> <temperature water='25.0 C' /> @@ -1973,7 +1973,7 @@ <sample time='17:15 min' depth='0.0 m' /> </divecomputer> </dive> -<dive number='3' date='2012-10-01' time='06:49:00' duration='16:25 min'> +<dive number='3' otu='13' cns='12%' date='2012-10-01' time='06:49:00' duration='16:25 min'> <divecomputer model='Seabear T1' deviceid='ffffffff'> <depth max='69.9 m' mean='32.928 m' /> <temperature water='25.0 C' /> @@ -2180,7 +2180,7 @@ <sample time='17:15 min' depth='0.0 m' /> </divecomputer> </dive> -<dive number='4' date='2012-10-01' time='07:07:00' duration='16:17 min'> +<dive number='4' otu='13' cns='19%' date='2012-10-01' time='07:07:00' duration='16:17 min'> <divecomputer model='Seabear T1' deviceid='ffffffff' dctype='Freedive'> <depth max='70.1 m' mean='33.197 m' /> <temperature water='24.0 C' /> @@ -3113,7 +3113,7 @@ <sample time='16:24 min' depth='0.1 m' /> </divecomputer> </dive> -<dive number='5' date='2012-10-01' time='07:24:00' duration='16:25 min'> +<dive number='5' otu='13' cns='26%' date='2012-10-01' time='07:24:00' duration='16:25 min'> <divecomputer model='Seabear T1' deviceid='ffffffff'> <depth max='69.9 m' mean='32.928 m' /> <temperature water='25.0 C' /> |