From 8a3679a3c7abdfe610665a5e07d73794a4259eab Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani Date: Fri, 3 Dec 2021 10:07:12 +0100 Subject: [PATCH] interfaces: Pump interface documentation improvements Signed-off-by: Carlos Rafael Giani --- .../main/java/info/nightscout/androidaps/interfaces/Pump.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/info/nightscout/androidaps/interfaces/Pump.kt b/core/src/main/java/info/nightscout/androidaps/interfaces/Pump.kt index f736a314d4..7a29c198c7 100644 --- a/core/src/main/java/info/nightscout/androidaps/interfaces/Pump.kt +++ b/core/src/main/java/info/nightscout/androidaps/interfaces/Pump.kt @@ -96,12 +96,15 @@ interface Pump { 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 /** * Currently running base basal rate [U/h] + * + * This _must not_ be affected by current pump states + * (TBRs, pump suspended/running etc.) */ val baseBasalRate: Double