safer default TT value in automation

This commit is contained in:
Milos Kozak 2019-09-07 19:51:40 +02:00
parent 23aedb0c6c
commit cba5b640cb

View file

@ -39,9 +39,9 @@ public class InputTempTarget extends Element {
super(); super();
setUnits(ProfileFunctions.getInstance().getProfileUnits()); setUnits(ProfileFunctions.getInstance().getProfileUnits());
if (getUnits().equals(Constants.MMOL)) if (getUnits().equals(Constants.MMOL))
value = Constants.MIN_TT_MMOL; value = 6;
else else
value = Constants.MIN_TT_MGDL; value = 110;
} }
public InputTempTarget(InputTempTarget another) { public InputTempTarget(InputTempTarget another) {