From 8ff3f167bed4643ba40fb9e8be633822dc218b87 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Sat, 13 Feb 2021 14:51:38 +0200 Subject: Updated events table. Some color conversion fixes. --- .../PPC/Modules/Tango.PPC.Jobs/ViewModels/JobSummeryViewVM.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs') diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobSummeryViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobSummeryViewVM.cs index 0e40e0d6a..078296f27 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobSummeryViewVM.cs +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobSummeryViewVM.cs @@ -160,9 +160,12 @@ namespace Tango.PPC.Jobs.ViewModels try { IColorConverter _converter = new DefaultColorConverter(); - EstimatedDuration = Job.GetEstimatedDuration(_converter.GetRecommendedProcessParameters(Job)); + EstimatedDuration = Job.GetEstimatedDuration(_converter.GetRecommendedProcessParameters(Job, true)); + } + catch (Exception ex) + { + LogManager.Log(ex, "Error calculating recommended process parameters."); } - catch { } }); IsPreparingJob = false; -- cgit v1.3.1