[PATCH] Use actual min and max temperatures in statistics.
Henrik Brautaset Aronsen
subsurface at henrik.synth.no
Thu Jan 24 09:05:31 PST 2013
Dirk Hohndel wrote:
> On Jan 24, 2013, at 5:08 AM, subsurface at henrik.synth.no wrote:
>> This works, but we might consider structuring this differently (or not):
>>
>> * Should maxtemp and mintemp be on the dive, and not on the divecomputer?
>
> We are trying to move all data that comes from the divecomputer into the divecomputer structures (that way we can usefully have data from multiple computers).
> The dive itself should hold data that was edited by the user (so even if we re-download a divecomputer, that isn't overwritten).
Yeah, but when I think about it, max/mintemp are calculated on the fly,
aren't saved, and are only intended for the statistics (for now). Since
we only are interested in the max/mintemp of the dive, regardless of the
divecomputer that registered the temp, the dive struct should be a good
candidate for these values.
Did that make sense?
Henrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130124/9d76d6e0/attachment.html>
More information about the subsurface
mailing list