fix for net IOB
This commit is contained in:
parent
f84777bf00
commit
e948a6f955
|
@ -42,7 +42,7 @@ public class IobTotal {
|
|||
|
||||
public static IobTotal combine(IobTotal bolusIOB, IobTotal basalIob) {
|
||||
IobTotal result = new IobTotal();
|
||||
result.iob = bolusIOB.iob;
|
||||
result.iob = bolusIOB.iob + basalIob.basaliob;
|
||||
result.activity = bolusIOB.activity;
|
||||
result.bolussnooze = bolusIOB.bolussnooze;
|
||||
result.basaliob = basalIob.basaliob;
|
||||
|
|
Loading…
Reference in a new issue