nmcb / dads

Reading and counter storage
The Unlicense
0 stars 0 forks source link

values cannot be negative #19

Open nmcb opened 4 years ago

nmcb commented 4 years ago

But values can not be negative.

check, that one is unimplemented, good catch! can you specify?

if the current.value - measurement.reading is negative, what should be the written?

[x] fail the indication? [ ] write a default value? [ ] ignore? [ ]

Ignore it. Also this 'can not be negative' rule only applies to the cumulative profile.

Originally posted by @bartbuijse in https://github.com/nmcb/dads/issues/17#issuecomment-724623105