Rework
This commit is contained in:
parent
9b2441f457
commit
1e13237a5b
1 changed files with 5 additions and 5 deletions
|
@ -20,8 +20,8 @@ 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 basal insulin on board. */
|
||||
val insulinBasalOnboard: Double
|
||||
|
||||
/** Returns the remaining carbs on board. */
|
||||
val carbsOnboard: Double?
|
||||
|
@ -35,9 +35,6 @@ 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()
|
||||
|
||||
|
@ -51,6 +48,9 @@ interface LoopHub {
|
|||
/** Notifies the system that carbs were eaten and stores the value. */
|
||||
fun postCarbs(carbohydrates: Int)
|
||||
|
||||
/** Stores or cancels a temptarget. */
|
||||
fun postTempTarget(target: Double, duration: Int)
|
||||
|
||||
/** Stores hear rate readings that a taken and averaged of the given interval. */
|
||||
fun storeHeartRate(
|
||||
samplingStart: Instant, samplingEnd: Instant,
|
||||
|
|
Loading…
Reference in a new issue