From 269382f5fffe2206efd6661f73b91986d12ade09 Mon Sep 17 00:00:00 2001 From: Roumen Georgiev Date: Thu, 5 Apr 2018 09:37:20 +0300 Subject: [PATCH] Default values of CAGE, SAGE .. like in NS --- .../NSClientInternal/data/NSSettingsStatus.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/NSClientInternal/data/NSSettingsStatus.java b/app/src/main/java/info/nightscout/androidaps/plugins/NSClientInternal/data/NSSettingsStatus.java index 01ac520c38..93b2f6fd5d 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/NSClientInternal/data/NSSettingsStatus.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/NSClientInternal/data/NSSettingsStatus.java @@ -186,12 +186,12 @@ public class NSSettingsStatus { JSONObject cageSettings = extendedSettings.optJSONObject("cage") != null ? extendedSettings.optJSONObject("cage") : defaultSettings; JSONObject sageSettings = extendedSettings.optJSONObject("sage") != null ? extendedSettings.optJSONObject("sage") : defaultSettings; - extendedValues.put("cageUrgent", cageSettings.optDouble("urgent", 3 * 24)); - extendedValues.put("cageWarn", cageSettings.optDouble("warn", 2 * 24)); - extendedValues.put("sageUrgent", sageSettings.optDouble("urgent", 7 * 24)); - extendedValues.put("sageWarn", sageSettings.optDouble("warn", 7 * 24)); - extendedValues.put("iageUrgent", iageSettings.optDouble("urgent", 7 * 24)); - extendedValues.put("iageWarn", iageSettings.optDouble("warn", 5 * 24)); + extendedValues.put("cageUrgent", cageSettings.optDouble("urgent", 72)); + extendedValues.put("cageWarn", cageSettings.optDouble("warn", 48)); + extendedValues.put("sageUrgent", sageSettings.optDouble("urgent", 166)); + extendedValues.put("sageWarn", sageSettings.optDouble("warn", 164)); + extendedValues.put("iageUrgent", iageSettings.optDouble("urgent", 72)); + extendedValues.put("iageWarn", iageSettings.optDouble("warn", 48)); extendedValues.put("pbageWarn", 240D); extendedValues.put("pbageUrgent", 360D);