Update estimate
This commit is contained in:
@@ -5,9 +5,13 @@
|
||||
var estimater = Model.Item2;
|
||||
|
||||
var totalTimeEstimate = estimater.EstimateTimeInProgress(leafInput);
|
||||
var remaining = totalTimeEstimate - leafInput.TimeInProgress;
|
||||
TimeSpan remaining = totalTimeEstimate - leafInput.TimeInProgress;
|
||||
if (remaining > TimeSpan.Zero)
|
||||
{
|
||||
<text>@remaining.ToRoundedReadableString()</text>
|
||||
}
|
||||
else
|
||||
{
|
||||
<text>@remaining.ToRoundedReadableString() over est.</text>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user