Return absolute TBR rate in PumpState.
This commit is contained in:
parent
69b98c54c6
commit
ec6491fcb7
|
@ -321,6 +321,7 @@ public class RuffyScripter {
|
||||||
state.tbrPercent = displayedTbr.intValue();
|
state.tbrPercent = displayedTbr.intValue();
|
||||||
MenuTime durationMenuTime = ((MenuTime) currentMenu.getAttribute(MenuAttribute.RUNTIME));
|
MenuTime durationMenuTime = ((MenuTime) currentMenu.getAttribute(MenuAttribute.RUNTIME));
|
||||||
state.tbrRemainingDuration = durationMenuTime.getHour() * 60 + durationMenuTime.getMinute();
|
state.tbrRemainingDuration = durationMenuTime.getHour() * 60 + durationMenuTime.getMinute();
|
||||||
|
state.tbrRate = ((double) currentMenu.getAttribute(MenuAttribute.BASAL_RATE));
|
||||||
}
|
}
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
package de.jotomo.ruffyscripter.commands;
|
||||||
|
|
||||||
|
public class NoOpCommand {
|
||||||
|
}
|
Loading…
Reference in a new issue