Update LoopHub.kt: add iob, cob, tbr val
This commit is contained in:
parent
e29d8f59f9
commit
beac0ecf1c
1 changed files with 10 additions and 1 deletions
|
@ -20,6 +20,12 @@ interface LoopHub {
|
|||
/** Returns the remaining bolus insulin on board. */
|
||||
val insulinOnboard: Double
|
||||
|
||||
/** Returns the remaining bolus and basal insulin on board. */
|
||||
val insulinTotalOnboard: Double
|
||||
|
||||
/** Returns the remaining carbs on board. */
|
||||
val carbsOnboard: Double?
|
||||
|
||||
/** Returns true if the pump is connected. */
|
||||
val isConnected: Boolean
|
||||
|
||||
|
@ -29,6 +35,9 @@ interface LoopHub {
|
|||
/** Returns the factor by which the basal rate is currently raised (> 1) or lowered (< 1). */
|
||||
val temporaryBasal: Double
|
||||
|
||||
/** Returns the temporary basal rate in percent */
|
||||
val temporaryBasalPercent: String
|
||||
|
||||
/** Tells the loop algorithm that the pump is physically connected. */
|
||||
fun connectPump()
|
||||
|
||||
|
@ -48,4 +57,4 @@ interface LoopHub {
|
|||
avgHeartRate: Int,
|
||||
device: String?
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue