mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
8f0380fd05
Fix how gases are marked as 'used' and kept from being deleted in the equipment tab for CCR dives. It does not make sense to treat the (arbitrary) first gas in the list with a usage type of 'diluent' or 'oxygen' as 'used' and prevent the user from deleting it. Dive computers report the initial diluent and any other diluents used through a 'gaschange' event, so the actually used diluents are already picked up as part of gaschange event based logic. Also clarify the selection of the first diluent used as a default if no gaschange events exist. Also fixed the test data - gases that have a pressure change should be included in the profile if they do not have a gas change recorded against them by other dive computers, even if they are oxygen. A secondary problem shown by this is that the pressure change is not applied to the profile - the pressure is currently shown as constant on the start pressure. But this is for another pull request. Signed-off-by: Michael Keller <github@ike.ch> |
||
---|---|---|
.. | ||
images | ||
abitofeverything.ssrf | ||
Demo_SmartTrak.slg | ||
Dive_2013-02-02-1614.xml | ||
DL7.xml | ||
DL7.zxu | ||
Example.log | ||
exportprofilereference.csv | ||
exportprofilereferenceVPMB.csv | ||
gps-import.gpx | ||
gps-import.xml | ||
mergedVyperOstc.xml | ||
ostc.xml | ||
ostc_00087_04-05-2014_043m_032min.dive | ||
ostc_00173_17-08-2013_027m_043min.dive | ||
Poseidon_MkVILog.csv | ||
Poseidon_MkVILog.txt | ||
sac-test.xml | ||
SampleDivesV2.ssrf | ||
tank_pressure.xml | ||
Test.csv | ||
test0.xml | ||
test0b.xml | ||
test1.xml | ||
test2.xml | ||
test3.xml | ||
test4.xml | ||
test5.xml | ||
test6.xml | ||
test7.xml | ||
test8.xml | ||
test9.xml | ||
test9a.xml | ||
test10.xml | ||
test11.xml | ||
test12.xml | ||
test13.xml | ||
test14.xml | ||
test15.xml | ||
test16.xml | ||
test17.xml | ||
test18.xml | ||
test19.xml | ||
test20.xml | ||
test21.xml | ||
test22.xml | ||
test23.xml | ||
test24.xml | ||
test25.xml | ||
test26.xml | ||
test27.xml | ||
test28.xml | ||
test29.xml | ||
test30.xml | ||
test31.xml | ||
test32.xml | ||
test33.xml | ||
test34.xml | ||
test35.xml | ||
test36.xml | ||
test38.xml | ||
test40-42.xml | ||
test40.xml | ||
test41.csv | ||
test42.xml | ||
test43.xml | ||
test44.xml | ||
test47+48.xml | ||
test47.xml | ||
test47b.xml | ||
test47c.xml | ||
test48+47.xml | ||
test48.xml | ||
test50.xml | ||
test51.xml | ||
TestAPDLogViewer.csv | ||
TestAtmPress.xml | ||
TestComma.csv | ||
TestDiveDivelogsDE.DLD | ||
TestDiveDivelogsDE.udcf | ||
TestDiveDivelogsDE.xml | ||
TestDiveDivingLog5.08.udcf | ||
TestDiveDivingLog5.08.uddf | ||
TestDiveDivingLog5.08allimperial.xml | ||
TestDiveDivingLog5.08allmetric.xml | ||
TestDiveDivingLog5.08allmetric.zip | ||
TestDiveDM3.SDE | ||
TestDiveDM4.db | ||
TestDiveDM4.xml | ||
TestDiveDM5.db | ||
TestDiveDM5.xml | ||
TestDiveJDiveLog.jlb | ||
TestDiveSeabearH3_0002SBDT.CSV | ||
TestDiveSeabearH3_0003SBDT.CSV | ||
TestDiveSeabearH3_0004SBDT.CSV | ||
TestDiveSeabearH3_0005SBDT.CSV | ||
TestDiveSeabearHUDC.csv | ||
TestDiveSeabearHUDC.xml | ||
TestDiveSeabearNewFormat.xml | ||
TestDiveSeabearT1_0001SBDT.CSV | ||
TestDiveSeabearT1_0002SBDT.CSV | ||
TestDiveSeabearT1_0003SBDT.CSV | ||
TestDiveSeabearT1_0004SBDT.CSV | ||
TestDiveSeabearT1_0005SBDT.CSV | ||
TestDiveSeacSync.db | ||
TestDivingLog4.1.1.sql | ||
testsensormove.xml | ||
TestSensusSingle.csv | ||
TestXP5_de.csv | ||
TwoTimesTwo.ssrf | ||
vyper.xml |