interfaces: Pump interface documentation improvements

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
This commit is contained in:
Carlos Rafael Giani 2021-12-03 10:07:12 +01:00
parent c1bd53c9a9
commit 8a3679a3c7

View file

@ -96,12 +96,15 @@ interface Pump {
fun isThisProfileSet(profile: Profile): Boolean fun isThisProfileSet(profile: Profile): Boolean
/** /**
* @return timestamp of last connection to the pump * @return timestamp of last connection to the pump in milliseconds
*/ */
fun lastDataTime(): Long fun lastDataTime(): Long
/** /**
* Currently running base basal rate [U/h] * Currently running base basal rate [U/h]
*
* This _must not_ be affected by current pump states
* (TBRs, pump suspended/running etc.)
*/ */
val baseBasalRate: Double val baseBasalRate: Double