Page 1 of 1

Broken double UDCF tank export

Posted: Tue Jan 01, 2013 12:20 am
by henrik
When exporting dives to UDCF, all double tanks are marked as single tanks. (e.g. a double 12L is exported as a single 12L)

I guess this is a followup bug to the broken double tank support that you haven't answered...

Re: Broken double UDCF tank export

Posted: Tue Jan 01, 2013 6:33 am
by nick
This was for compatibility with Dive Log, which includes Double as a separate value per dive.

Re: Broken double UDCF tank export

Posted: Sun Jan 13, 2013 1:59 am
by henrik
I don't get it. You show double twelves as single twelves in the UDCF export, because of compatability with dive log?

Here is the "gases" part of a dive with a double 12L tank:

Code: Select all

            <gases>
                <mix>
                    <mixname>EAN32</mixname>
                    <tank>
                        <tankvolume>12.00</tankvolume>
                        <pstart>230.92</pstart>
                        <pend>115.76</pend>
                    </tank>
                    <o2>0.32</o2>
                    <n2>0.68</n2>
                    <he>0.00</he>
                </mix>
            </gases>
Should there be a "doubles" tag there as well?

Re: Broken double UDCF tank export

Posted: Sun Jan 13, 2013 3:28 am
by nick
I guess I misread this - the field itself is there for compatibility. I can fix the export though, I'll have this in the next release. Sorry about that.

Re: Broken double UDCF tank export

Posted: Tue Jan 15, 2013 4:09 am
by henrik
nick wrote:I guess I misread this - the field itself is there for compatibility. I can fix the export though, I'll have this in the next release. Sorry about that.
Thanks!

A "doubles" checkbox is good, but it would be far more useful if ...

A) it followed the tank definition instead of the dive

or

B) the last state of the checkbox was remembered for new dives

(I prefer A over B, but either would be an improvement)