<div dir="auto"><br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Jul 27, 2017 00:44, "Robert Helling" <<a href="mailto:helling@atdotde.de">helling@atdotde.de</a>> wrote:<blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><div class="quoted-text"><div><br></div></div><div>As I said, I haven’t looked at the code. But from what I would expect to see as the user would be that the TankItem for a given moment in time should report the gas whose pressure has most recently changed</div></div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">That doesn't work.</div><div dir="auto"><br></div><div dir="auto">Not only is it complicated due to just issues with cooling, sensor precision, inflation etc, is actually impossible for a very simple reason: the cylinder you're breathing from may not even have any pressures at all to begin with. </div><div dir="auto"><br></div><div dir="auto">Yes, we do the nice depth-aware pressure graph, but only if the cylinders had beginning and ending pressures. Which may not be set at all.</div><div dir="auto"><br></div><div dir="auto">The old code set the sensor number even if there were no pressures just based on the gas changes.</div><div dir="auto"><br></div><div dir="auto">The new code doesn't have any sensor numbers at all. It has the gas changes, but the silly TankItem code has thrown all of that away..</div><div dir="auto"><br></div><div dir="auto">      Linus</div><div class="gmail_extra" dir="auto"></div></div>