Page 2 of 2
Re: Multiple tanks
Posted: Thu Dec 01, 2011 4:17 am
by nick
At the moment it just picks one tank and calculates SAC based on that. Which is effectively random, due to it using the first tank it finds.
Re: Multiple tanks
Posted: Thu Dec 01, 2011 5:16 am
by davef
that interesting, does it pick a tank and stick with that one or does it go looking for the tank volume, potentially picking a different one, each time you alter the in/out values and it needs to recalculate the SAC?
sorry bizarre question
Re: Multiple tanks
Posted: Thu Dec 01, 2011 5:19 am
by nick
It's nothing to do with the tank itself. It just looks through the gear associated with a dive, until it finds a piece of type Tank. Which order that is found in is undefined, as it relies on the database underneath.
As multiple gases are not actually supported at the moment, there is absolutely no logic at all there to do anything useful.