Fix delta
This commit is contained in:
parent
2ace719e2a
commit
c3ef4af700
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ class BolusTimer @Inject constructor(
|
||||||
|
|
||||||
// Bg above 70 mgdl and delta positive mgdl
|
// Bg above 70 mgdl and delta positive mgdl
|
||||||
list.add(TriggerBg(injector, 70.0, GlucoseUnit.MGDL, Comparator.Compare.IS_EQUAL_OR_GREATER))
|
list.add(TriggerBg(injector, 70.0, GlucoseUnit.MGDL, Comparator.Compare.IS_EQUAL_OR_GREATER))
|
||||||
list.add(TriggerDelta(injector, InputDelta(resourceHelper, -15.0, -360.0, 360.0, 1.0, DecimalFormat("0"), InputDelta.DeltaType.DELTA), GlucoseUnit.MGDL, Comparator.Compare.IS_EQUAL_OR_GREATER))
|
list.add(TriggerDelta(injector, InputDelta(resourceHelper, 0.0, -360.0, 360.0, 1.0, DecimalFormat("0"), InputDelta.DeltaType.DELTA), GlucoseUnit.MGDL, Comparator.Compare
|
||||||
|
.IS_GREATER))
|
||||||
}
|
}
|
||||||
actions.add(ActionAlarm(injector, resourceHelper.gs(R.string.time_to_bolus)))
|
actions.add(ActionAlarm(injector, resourceHelper.gs(R.string.time_to_bolus)))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue