Added Hot Work Order information into downed tool table and as a line item in the daily report.
This commit is contained in:
@ -94,6 +94,7 @@
|
||||
<li>Bottle Change (@bottleChanges): @bottle</li>
|
||||
<li>Daily Part Changes (@dailyPartChanges): @daily</li>
|
||||
<li>Weekly Part Changes (@weeklyPartChanges): @weekly</li>
|
||||
<li>Red Hot Work Orders (@Model.CurrentHotWORunning.Count()): @string.Join(", ", Model.CurrentHotWORunning)</li>
|
||||
</ul>
|
||||
<br />
|
||||
<a class="btn btn-light" asp-controller="ProductionReport" asp-action="EditDailyReport">Edit</a>
|
||||
@ -120,6 +121,7 @@
|
||||
@foreach (ToolEventView tool in asmTools)
|
||||
{
|
||||
string owner = "";
|
||||
string hot = "";
|
||||
|
||||
if (Model.ToolStatesByOwner["Maintenance"].Contains(tool.MostRecentEvent.REACT_MODE))
|
||||
owner = "Maint";
|
||||
@ -134,7 +136,13 @@
|
||||
myClass = "";
|
||||
|
||||
<tr class="@myClass">
|
||||
<td>@tool.Reactor</td>
|
||||
|
||||
@if (Model.CurrentHotWORunning.Contains("R" + tool.Reactor))
|
||||
myClass = "table-danger text-danger";
|
||||
else
|
||||
myClass = "";
|
||||
|
||||
<td class="@myClass">@tool.Reactor</td>
|
||||
<td>@owner</td>
|
||||
<td class="text-start">@tool.MostRecentEvent.CAT_PROB_DESC</td>
|
||||
<td class="text-start">@tool.MostRecentEvent.REASON</td>
|
||||
@ -181,7 +189,13 @@
|
||||
myClass = "";
|
||||
|
||||
<tr class="@myClass">
|
||||
<td>@tool.Reactor</td>
|
||||
|
||||
@if (Model.CurrentHotWORunning.Contains("R" + tool.Reactor))
|
||||
myClass = "table-danger text-danger";
|
||||
else
|
||||
myClass = "";
|
||||
|
||||
<td class="@myClass">@tool.Reactor</td>
|
||||
<td>@owner</td>
|
||||
<td class="text-start">@tool.MostRecentEvent.CAT_PROB_DESC</td>
|
||||
<td class="text-start">@tool.MostRecentEvent.REASON</td>
|
||||
@ -228,7 +242,13 @@
|
||||
myClass = "";
|
||||
|
||||
<tr class="@myClass">
|
||||
<td>@tool.Reactor</td>
|
||||
|
||||
@if (Model.CurrentHotWORunning.Contains("R" + tool.Reactor))
|
||||
myClass = "table-danger text-danger";
|
||||
else
|
||||
myClass = "";
|
||||
|
||||
<td class="@myClass">@tool.Reactor</td>
|
||||
<td>@owner</td>
|
||||
<td class="text-start">@tool.MostRecentEvent.CAT_PROB_DESC</td>
|
||||
<td class="text-start">@tool.MostRecentEvent.REASON</td>
|
||||
|
Reference in New Issue
Block a user