update smb max iob according to max bolus

This commit is contained in:
Milos Kozak 2021-11-18 15:51:58 +01:00
parent 301fa49e38
commit f067ff1109
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@
android:inputType="numberDecimal"
android:key="@string/key_openapssmb_max_iob"
android:title="@string/openapssmb_maxiob_title"
validate:floatmaxNumber="25.0"
validate:floatmaxNumber="70.0"
validate:floatminNumber="0"
validate:testType="floatNumericRange" />

View file

@ -55,7 +55,7 @@ class HardLimits @Inject constructor(
const val MIN_ISF = 2.0 // mgdl
const val MAX_ISF = 720.0 // mgdl
val MAX_IOB_AMA = doubleArrayOf(3.0, 5.0, 7.0, 12.0, 25.0)
val MAX_IOB_SMB = doubleArrayOf(3.0, 7.0, 12.0, 25.0, 40.0)
val MAX_IOB_SMB = doubleArrayOf(7.0, 13.0, 22.0, 30.0, 70.0)
val MAX_BASAL = doubleArrayOf(2.0, 5.0, 10.0, 12.0, 25.0)
//LGS Hard limits