[PATCH 2/2] Support for Imperial units on MacDive log import

Nick Shore support at mac-dive.com
Fri Feb 8 12:22:18 PST 2013


On 08/02/2013, at 8:03 PM, Henrik Brautaset Aronsen <subsurface at henrik.synth.no> wrote:

> Thanks for your help with this, Nick!
> 
> Just one small thing:  In the "Gas Management" tab in MacDive we have a Tank name.  Could you add that to the <gas> section?

Yep, I've added this as tankName.


> Also for clarification:  
> 
> - If I have a twin twelve, <double> will be 1, but will <tankSize> be 12 or 24?

double will be 1, tankSize will be 12.


> - There is a <duration> in <gas>, which I guess is the time spent with this gas.  Should there be a <startOffset> as well?  Or will this just create confusion if I switch back and forth between gases?

The first gas will start at 0. They are written in order, so the start offset is just the total durations of the previous gases. I can add it in if you like. If you switched back to a gas/tank you had already used, there would be a new entry. These are treated as the gas used at that time, not a unique gas taken on the dive, if that makes sense.

-nick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130209/371af176/attachment.html>


More information about the subsurface mailing list