From 8eeb91a0a80efb1d79856c41bf6be8e14527bccd Mon Sep 17 00:00:00 2001 From: Tim Gunn <2896311+Tornado-Tim@users.noreply.github.com> Date: Fri, 29 Nov 2019 21:23:12 +1300 Subject: [PATCH] Add New preferences for oref 0.7.0 --- app/src/main/res/values/strings.xml | 10 ++++ app/src/main/res/xml/pref_openapssmb.xml | 70 ++++++++++++++++-------- 2 files changed, 58 insertions(+), 22 deletions(-) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ccc91c699b..e8a8888ec2 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -837,6 +837,9 @@ Max minutes of basal to limit SMB to UAM SMB max minutes Max minutes of basal to limit SMB to for UAM + carbsReqThreshold + Carb suggestion threshold + When Carbs are suggested, how many carbs will prompt a notification bolus_increment Minimum bolus that can be delivered as an SMB Unsupported pump firmware @@ -1152,6 +1155,12 @@ = 100]]> Low temptarget lowers sensitivity + resistance_lowers_target + Resistance lowers target + When resistance is detected, lower the target glucose + sensitivity_raises_target + Sensitivity raises target + When sensitivity is detected, raise the target glucose Invalid pump setup, check the docs and verify that the Quick Info menu is named QUICK INFO using the 360 configuration software. Custom Large Time Difference @@ -1354,6 +1363,7 @@ Upload BG tests smbmaxminutes + uamsmbmaxminutes Daylight Saving time Daylight Saving time change in 24h or less Daylight Saving time change less than 3 hours ago - Closed loop disabled diff --git a/app/src/main/res/xml/pref_openapssmb.xml b/app/src/main/res/xml/pref_openapssmb.xml index 45375df376..99e3332bb7 100644 --- a/app/src/main/res/xml/pref_openapssmb.xml +++ b/app/src/main/res/xml/pref_openapssmb.xml @@ -93,30 +93,30 @@ validate:testType="numericRange" /> + android:defaultValue="30" + android:dialogMessage="@string/uamsmbmaxminutes" + android:digits="0123456789" + android:inputType="number" + android:key="@string/key_uamsmbmaxminutes" + android:maxLines="20" + android:selectAllOnFocus="true" + android:singleLine="true" + android:title="@string/uamsmbmaxminutes_summary" + validate:maxNumber="120" + validate:minNumber="15" + validate:testType="numericRange" /> + android:defaultValue="0.1" + android:inputType="numberDecimal" + android:key="key_bolus_increment" + android:maxLines="20" + android:selectAllOnFocus="true" + android:singleLine="true" + android:title="@string/bolus_increment_summary" + validate:floatmaxNumber="1.0" + validate:floatminNumber="0.05" + validate:testType="floatNumericRange" /> + + + +