diff options
| author | Roy <Roy.mail.net@gmail.com> | 2022-11-19 14:43:46 +0200 |
|---|---|---|
| committer | Roy <Roy.mail.net@gmail.com> | 2022-11-19 14:43:46 +0200 |
| commit | 4cd4807ca5a7490c8d7edac496a19d618bf9197e (patch) | |
| tree | e1f6c1565c242584f4cd8f62160ce2777779881a /Software/Visual_Studio/PPC/Tango.PPC.Common | |
| parent | aa2170bb476e627ae3aaccb8f5835b1b9331c82a (diff) | |
| download | Tango-4cd4807ca5a7490c8d7edac496a19d618bf9197e.tar.gz Tango-4cd4807ca5a7490c8d7edac496a19d618bf9197e.zip | |
Statistics Fine Tuning Adaptation.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Statistics/DefaultStatisticsService.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Statistics/DefaultStatisticsService.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Statistics/DefaultStatisticsService.cs index f699f4a7e..a275d95bb 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Statistics/DefaultStatisticsService.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Statistics/DefaultStatisticsService.cs @@ -117,6 +117,12 @@ namespace Tango.PPC.Common.Statistics db_JobRuns = db_JobRuns.Where(x => jobRunStatusArr.Contains(x.Status)); } + int[] jobDesignationArr = filters.JobDesignation.Distinct().ToArray(); + if (jobDesignationArr.Length > 0) + { + db_JobRuns = db_JobRuns.Where(x => jobDesignationArr.Contains(x.JobDesignation)); + } + if (!filters.IncludeHeadCleaning) { db_JobRuns = db_JobRuns.Where(x => !x.IsHeadCleaning); @@ -205,7 +211,7 @@ namespace Tango.PPC.Common.Statistics break; case ColorSpaces.LAB: pbs.L = stop.L; - pbs.A = stop.B; + pbs.A = stop.A; pbs.B = stop.B; break; case ColorSpaces.Volume: |
