This commit is contained in:
Johannes Mockenhaupt 2017-08-21 18:33:40 +02:00
parent 6cc73dcc1c
commit 2eb86e1bd8
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -45,6 +45,7 @@ public class BolusCommand implements Command {
@Override @Override
public CommandResult execute(RuffyScripter scripter, PumpState initialPumpState) { public CommandResult execute(RuffyScripter scripter, PumpState initialPumpState) {
try { try {
// TODO read reservoir level and reject request if reservoir < bolus
enterBolusMenu(scripter); enterBolusMenu(scripter);
inputBolusAmount(scripter); inputBolusAmount(scripter);
verifyDisplayedBolusAmount(scripter); verifyDisplayedBolusAmount(scripter);