Multiple tanks

Suggestions? Comments? Features you'd like to see?
User avatar
nick
Site Admin
Posts: 4363
Joined: Sat Apr 12, 2008 8:33 am
Dive Computer: Shearwater Teric
Contact:

Re: Multiple tanks

Post 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.
User avatar
davef
Posts: 36
Joined: Mon May 24, 2010 5:02 am
Dive Computer: OSTC 2C

Re: Multiple tanks

Post 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
User avatar
nick
Site Admin
Posts: 4363
Joined: Sat Apr 12, 2008 8:33 am
Dive Computer: Shearwater Teric
Contact:

Re: Multiple tanks

Post 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.
Post Reply