report failed TBR properly
This commit is contained in:
parent
c2237b4b11
commit
6f7cfdd06d
2 changed files with 6 additions and 1 deletions
|
@ -551,6 +551,9 @@ public class LoopPlugin extends PluginBase implements LoopInterface {
|
|||
rxBus.send(new EventLoopUpdateGui());
|
||||
}
|
||||
});
|
||||
} else {
|
||||
lastRun.setTbrSetByPump(result);
|
||||
lastRun.setLastTBRRequest(lastRun.getLastAPSRun());
|
||||
}
|
||||
rxBus.send(new EventLoopUpdateGui());
|
||||
}
|
||||
|
|
|
@ -170,7 +170,9 @@ public class PumpEnactResult {
|
|||
ret += "<br><b>" + resourceHelper.gs(R.string.absolute) + "</b>: " + DecimalFormatter.to2Decimal(absolute) + " U/h";
|
||||
}
|
||||
} else {
|
||||
ret += "<br><b>" + resourceHelper.gs(R.string.comment) + "</b>: " + comment;
|
||||
ret += "<br><b>" + resourceHelper.gs(R.string.success) + "</b>: " + success;
|
||||
if (!comment.isEmpty())
|
||||
ret += "<br><b>" + resourceHelper.gs(R.string.comment) + "</b>: " + comment;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue