interfaces: Pump interface documentation improvements
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
This commit is contained in:
parent
c1bd53c9a9
commit
8a3679a3c7
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue