Add in basalIOB.activity
This commit is contained in:
parent
8bdc86f359
commit
93accc0d9f
|
@ -43,7 +43,7 @@ public class IobTotal {
|
||||||
public static IobTotal combine(IobTotal bolusIOB, IobTotal basalIob) {
|
public static IobTotal combine(IobTotal bolusIOB, IobTotal basalIob) {
|
||||||
IobTotal result = new IobTotal();
|
IobTotal result = new IobTotal();
|
||||||
result.iob = bolusIOB.iob + basalIob.basaliob;
|
result.iob = bolusIOB.iob + basalIob.basaliob;
|
||||||
result.activity = bolusIOB.activity;
|
result.activity = bolusIOB.activity + basalIob.activity;
|
||||||
result.bolussnooze = bolusIOB.bolussnooze;
|
result.bolussnooze = bolusIOB.bolussnooze;
|
||||||
result.basaliob = basalIob.basaliob;
|
result.basaliob = basalIob.basaliob;
|
||||||
result.netbasalinsulin = basalIob.netbasalinsulin;
|
result.netbasalinsulin = basalIob.netbasalinsulin;
|
||||||
|
|
Loading…
Reference in a new issue