From 0de14ec8862d3255cede47951535a901d0cbaf85 Mon Sep 17 00:00:00 2001 From: Daniel Wathen Date: Thu, 19 Jan 2023 15:13:16 -0700 Subject: [PATCH] When EPP tools have Hot WOs assigned, it also brings in the pairing tools (40 brings in 42, 44 brings in 46, 48 brings in 50) --- .../HelperClasses/DailyReportHelper.cs | 11 +++++++++++ .../Views/ProductionReport/DailyReport.cshtml | 1 + 2 files changed, 12 insertions(+) diff --git a/ReportingServices.Shared/HelperClasses/DailyReportHelper.cs b/ReportingServices.Shared/HelperClasses/DailyReportHelper.cs index 392fd40..9fe2171 100644 --- a/ReportingServices.Shared/HelperClasses/DailyReportHelper.cs +++ b/ReportingServices.Shared/HelperClasses/DailyReportHelper.cs @@ -155,6 +155,17 @@ public static class DailyReportHelper report.PreviousWeek.QTDOutsAndScrap = task4.Result; report.CurrentHotWORunning = task7.Result; + + if (report.CurrentHotWORunning.Contains("R40")) + report.CurrentHotWORunning.Add("R42"); + + if (report.CurrentHotWORunning.Contains("R44")) + report.CurrentHotWORunning.Add("R46"); + + if (report.CurrentHotWORunning.Contains("R48")) + report.CurrentHotWORunning.Add("R50"); + + report.CurrentHotWORunning.Sort(); } catch (Exception ex) { diff --git a/ReportingServices.UI/Views/ProductionReport/DailyReport.cshtml b/ReportingServices.UI/Views/ProductionReport/DailyReport.cshtml index 5e654dc..a451d5d 100644 --- a/ReportingServices.UI/Views/ProductionReport/DailyReport.cshtml +++ b/ReportingServices.UI/Views/ProductionReport/DailyReport.cshtml @@ -257,6 +257,7 @@

*Rows highlighted in orange have been down for more than 12 hours

+

*Reactors highlighted in red have a hot WO assigned