Return absolute TBR rate in PumpState.

This commit is contained in:
Johannes Mockenhaupt 2017-07-15 18:19:10 +02:00
parent 69b98c54c6
commit ec6491fcb7
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1
2 changed files with 5 additions and 0 deletions

View file

@ -321,6 +321,7 @@ public class RuffyScripter {
state.tbrPercent = displayedTbr.intValue();
MenuTime durationMenuTime = ((MenuTime) currentMenu.getAttribute(MenuAttribute.RUNTIME));
state.tbrRemainingDuration = durationMenuTime.getHour() * 60 + durationMenuTime.getMinute();
state.tbrRate = ((double) currentMenu.getAttribute(MenuAttribute.BASAL_RATE));
}
return state;
}

View file

@ -0,0 +1,4 @@
package de.jotomo.ruffyscripter.commands;
public class NoOpCommand {
}