Update estimate

This commit is contained in:
2017-02-23 08:39:56 -05:00
parent 53c358a63a
commit 61cbc942c1
7 changed files with 6305 additions and 2 deletions
@@ -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>
}
}