@welldot/utils
MeterInterval
Volume between two consecutive readings of the same meter.
MeterInterval =
object
Volume between two consecutive readings of the same meter.
Properties
end
end:
string
RFC 3339 instant of r₂.
from_id
from_id:
string
production[].id of the first reading (r₁).
meter_id
meter_id:
string
meters[].id of both readings.
rollover
rollover:
boolean
true when the register rolled over (r₂ < r₁ with max_reading).
start
start:
string
RFC 3339 instant of r₁.
to_id
to_id:
string
production[].id of the second reading (r₂).
volume
volume:
number|null
Volume in m³. null when unknown: r₂ < r₁ and the meter has no
max_reading. Never negative.