<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 10 March 2015 at 12:08, Davide DB <span dir="ltr"><<a href="mailto:dbdavide@gmail.com" target="_blank">dbdavide@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If I recall it correctly, I remember that some developer told me that<br>
having at least a cylinder is compulsory.<br>
Why?<br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When I import dives from my Viper in gauge mode, the cylinder table is<br>
originally empty.<br>
When I import from my Xdeep I have a unkonwn cylinder (it's logged<br>
into the imported uddf file).<br></blockquote><div><br></div><div>Probably due to the reason that the UDDF format have a cylinder tag as default, but with no size and pressure information in it subsurface then treats it as unknown.<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I'll try to explain...<br>
If I do not care about tanks and gases I will not touch cylinder table<br>
<br>
If I care about gases and tanks I will edit its content: Once I have<br>
all my tanks into the table I should be able to freely arrange them<br>
without making any assumption on main/default cylinders.<br>
<br>
Right now the app tries to guide you deciding what is the starting<br>
tank so you cannot add a gas change to it.<br></blockquote><div><br></div><div>You can change back to the first gas later in the dive if you have done a switch to another gas.<br></div><div>If you have say 4 different gas mixes during a dive you can have a gas change series that does not follow the order of the gases in the table,<br></div><div>with the exception that you always start with the first gas.<br></div><div>So a switch series that look like this is fully valid. (1), 3, 1, 2, 4<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I should just be able to pinpoint, to choose the tank I entered the<br>
water (or you can call it default/main tank) in to the table. By<br>
default the cylinder table will have a main/default cylinder: if user<br>
doesn't have strange needs he will not touch it. This is better than<br>
having a forced gas change at 0@0.<br>
Then tanks are sorted via the gas change events: as I add/delete them<br>
on the profile graph, tanks are automatically sorted in the table. If<br>
a tank is used more than once, only the first gas change move it in<br>
the table.<br></blockquote><div><br></div><div>In order to be able to switch to a gas it first needs to exist in the cylinder table.<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
There is still a problem with the current index management: when I<br>
copy a tank set from a dive, their index are copied as well. They<br>
should not (must be an oprional parameter). They will added again when<br>
I will add gas changes.<br>
<br>
<br>
I'm sure i forgot something or I made some mistake because I don't<br>
know the inner algorithm used by the app to manage all that burden :)<br>
<div class="HOEnZb"><div class="h5"><br>
</div></div></blockquote></div><br>//<br></div><div class="gmail_extra">Jocke<br></div></div>