diff options
| author | Mirta <mirta@twine-s.com> | 2021-02-14 08:20:28 +0200 |
|---|---|---|
| committer | Mirta <mirta@twine-s.com> | 2021-02-14 08:20:28 +0200 |
| commit | 4dcf1fa2d57487cd2231d2092615424d22e3f816 (patch) | |
| tree | e49f32fa895a4428cc16c08bf7c656897aa0e419 /Software/Visual_Studio/PPC/Modules | |
| parent | 2de8edb3b96fb76f6ad79e13c64122587f0f5a79 (diff) | |
| parent | 846345288e1b50e651f16c6e07e8a92e66436b5f (diff) | |
| download | Tango-4dcf1fa2d57487cd2231d2092615424d22e3f816.tar.gz Tango-4dcf1fa2d57487cd2231d2092615424d22e3f816.zip | |
Merge branch 'Light_Inks' of https://twinetfs.visualstudio.com/Tango/_git/Tango into Light_Inks
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobSummeryViewVM.cs | 7 |
1 files changed, 5 insertions, 2 deletions
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; |
