diff options
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Statistics/DefaultStatisticsService.cs')
| -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: |
