Remove now unused PumpState.delivered field.
This commit is contained in:
parent
1ba3a85655
commit
98d666098b
2 changed files with 0 additions and 4 deletions
|
@ -13,8 +13,6 @@ public class CommandResult {
|
|||
public boolean success;
|
||||
/** State of the pump *after* command execution. */
|
||||
public PumpState state;
|
||||
/** Bolus actually delivered if request was a bolus command. */
|
||||
public double delivered;
|
||||
/** History if requested by the command. */
|
||||
@Nullable
|
||||
public PumpHistory history;
|
||||
|
|
|
@ -186,10 +186,8 @@ public class BolusCommand extends BaseCommand {
|
|||
|
||||
if (cancelInProgress) {
|
||||
log.debug("Stage 4: bolus was cancelled, with unknown amount delivered");
|
||||
this.result.delivered = -1;
|
||||
} else {
|
||||
log.debug("Stage 4: full bolus of " + bolus + " U was successfully delivered");
|
||||
result.delivered = bolus;
|
||||
bolusProgressReporter.report(DELIVERED, 100, bolus);
|
||||
}
|
||||
result.success = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue