remove unused microBolusInsulin
This commit is contained in:
parent
fa46798fdf
commit
d088bfccc8
2 changed files with 0 additions and 7 deletions
|
@ -21,7 +21,6 @@ public class IobTotal {
|
||||||
public double hightempinsulin;
|
public double hightempinsulin;
|
||||||
|
|
||||||
// oref1
|
// oref1
|
||||||
public double microBolusInsulin;
|
|
||||||
public long lastBolusTime;
|
public long lastBolusTime;
|
||||||
public long lastTempDate;
|
public long lastTempDate;
|
||||||
public int lastTempDuration;
|
public int lastTempDuration;
|
||||||
|
@ -44,7 +43,6 @@ public class IobTotal {
|
||||||
copy.basaliob = basaliob;
|
copy.basaliob = basaliob;
|
||||||
copy.netbasalinsulin = netbasalinsulin;
|
copy.netbasalinsulin = netbasalinsulin;
|
||||||
copy.hightempinsulin = hightempinsulin;
|
copy.hightempinsulin = hightempinsulin;
|
||||||
copy.microBolusInsulin = microBolusInsulin;
|
|
||||||
copy.lastBolusTime = lastBolusTime;
|
copy.lastBolusTime = lastBolusTime;
|
||||||
copy.lastTempDate = lastTempDate;
|
copy.lastTempDate = lastTempDate;
|
||||||
copy.lastTempDuration = lastTempDuration;
|
copy.lastTempDuration = lastTempDuration;
|
||||||
|
@ -60,7 +58,6 @@ public class IobTotal {
|
||||||
this.basaliob = 0d;
|
this.basaliob = 0d;
|
||||||
this.netbasalinsulin = 0d;
|
this.netbasalinsulin = 0d;
|
||||||
this.hightempinsulin = 0d;
|
this.hightempinsulin = 0d;
|
||||||
this.microBolusInsulin = 0d;
|
|
||||||
this.lastBolusTime = 0;
|
this.lastBolusTime = 0;
|
||||||
this.time = time;
|
this.time = time;
|
||||||
}
|
}
|
||||||
|
@ -74,7 +71,6 @@ public class IobTotal {
|
||||||
hightempinsulin += other.hightempinsulin;
|
hightempinsulin += other.hightempinsulin;
|
||||||
netInsulin += other.netInsulin;
|
netInsulin += other.netInsulin;
|
||||||
extendedBolusInsulin += other.extendedBolusInsulin;
|
extendedBolusInsulin += other.extendedBolusInsulin;
|
||||||
microBolusInsulin += other.microBolusInsulin;
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,7 +82,6 @@ public class IobTotal {
|
||||||
result.basaliob = bolusIOB.basaliob + basalIob.basaliob;
|
result.basaliob = bolusIOB.basaliob + basalIob.basaliob;
|
||||||
result.netbasalinsulin = bolusIOB.netbasalinsulin + basalIob.netbasalinsulin;
|
result.netbasalinsulin = bolusIOB.netbasalinsulin + basalIob.netbasalinsulin;
|
||||||
result.hightempinsulin = basalIob.hightempinsulin + bolusIOB.hightempinsulin;
|
result.hightempinsulin = basalIob.hightempinsulin + bolusIOB.hightempinsulin;
|
||||||
result.microBolusInsulin = bolusIOB.microBolusInsulin + basalIob.microBolusInsulin;
|
|
||||||
result.lastBolusTime = bolusIOB.lastBolusTime;
|
result.lastBolusTime = bolusIOB.lastBolusTime;
|
||||||
result.lastTempDate = basalIob.lastTempDate;
|
result.lastTempDate = basalIob.lastTempDate;
|
||||||
result.lastTempRate = basalIob.lastTempRate;
|
result.lastTempRate = basalIob.lastTempRate;
|
||||||
|
@ -102,7 +97,6 @@ public class IobTotal {
|
||||||
this.basaliob = Round.roundTo(this.basaliob, 0.001);
|
this.basaliob = Round.roundTo(this.basaliob, 0.001);
|
||||||
this.netbasalinsulin = Round.roundTo(this.netbasalinsulin, 0.001);
|
this.netbasalinsulin = Round.roundTo(this.netbasalinsulin, 0.001);
|
||||||
this.hightempinsulin = Round.roundTo(this.hightempinsulin, 0.001);
|
this.hightempinsulin = Round.roundTo(this.hightempinsulin, 0.001);
|
||||||
this.microBolusInsulin = Round.roundTo(this.microBolusInsulin, 0.001);
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -211,7 +211,6 @@ public class TreatmentsPlugin implements PluginBase, TreatmentsInterface {
|
||||||
total.basaliob += tIOB.iobContrib;
|
total.basaliob += tIOB.iobContrib;
|
||||||
total.hightempinsulin += t.insulin;
|
total.hightempinsulin += t.insulin;
|
||||||
total.netbasalinsulin += t.insulin;
|
total.netbasalinsulin += t.insulin;
|
||||||
total.microBolusInsulin += t.insulin;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue