default DIA
This commit is contained in:
parent
260e259fb0
commit
f0351834ff
4 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@ public class Constants {
|
|||
public static final double MMOLL_TO_MGDL = 18; // 18.0182;
|
||||
public static final double MGDL_TO_MMOLL = 1 / MMOLL_TO_MGDL;
|
||||
|
||||
public static final double defaultDIA = 3d;
|
||||
public static final double defaultDIA = 5d;
|
||||
|
||||
public static final Double REALLYHIGHBASALRATE = 1111111d;
|
||||
public static final Integer REALLYHIGHPERCENTBASALRATE = 1111111;
|
||||
|
|
|
@ -58,7 +58,7 @@ public class ExtendedBolus implements Interval, DataPointWithLabelInterface {
|
|||
public int durationInMinutes = 0; // duration == 0 means end of extended bolus
|
||||
|
||||
@DatabaseField
|
||||
public int insulinInterfaceID = InsulinInterface.FASTACTINGINSULIN;
|
||||
public int insulinInterfaceID = InsulinInterface.OREF_RAPID_ACTING;
|
||||
@DatabaseField
|
||||
public double dia = Constants.defaultDIA;
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@ import info.nightscout.androidaps.plugins.Treatments.Treatment;
|
|||
*/
|
||||
|
||||
public interface InsulinInterface {
|
||||
int FASTACTINGINSULIN = 0;
|
||||
int FASTACTINGINSULINPROLONGED = 1;
|
||||
// int FASTACTINGINSULIN = 0; // old model no longer available
|
||||
// int FASTACTINGINSULINPROLONGED = 1; // old model no longer available
|
||||
int OREF_RAPID_ACTING = 2;
|
||||
int OREF_ULTRA_RAPID_ACTING = 3;
|
||||
int OREF_FREE_PEAK = 4;
|
||||
|
|
|
@ -57,7 +57,7 @@ public class Treatment implements DataPointWithLabelInterface {
|
|||
public boolean isSMB = false;
|
||||
|
||||
@DatabaseField
|
||||
public int insulinInterfaceID = InsulinInterface.FASTACTINGINSULIN; // currently unused, will be used in the future
|
||||
public int insulinInterfaceID = InsulinInterface.OREF_RAPID_ACTING; // currently unused, will be used in the future
|
||||
@DatabaseField
|
||||
public double dia = Constants.defaultDIA; // currently unused, will be used in the future
|
||||
|
||||
|
|
Loading…
Reference in a new issue