diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2021-02-13 14:51:38 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2021-02-13 14:51:38 +0200 |
| commit | 8ff3f167bed4643ba40fb9e8be633822dc218b87 (patch) | |
| tree | f30b4015b7e11541062464c6ba84ec0700bf04bd /Software/Visual_Studio/PPC | |
| parent | 61d9ff4cce19fe28473452a5462f1fd061fb6562 (diff) | |
| download | Tango-8ff3f167bed4643ba40fb9e8be633822dc218b87.tar.gz Tango-8ff3f167bed4643ba40fb9e8be633822dc218b87.zip | |
Updated events table.
Some color conversion fixes.
Diffstat (limited to 'Software/Visual_Studio/PPC')
| -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; |
