Fixed HTR downed tools header, added quarter to date information, and put extended downtime into tool downed tables.
This commit is contained in:
@ -17,8 +17,6 @@
|
||||
ManualReportEntries rpt = Model.ManualReportEntries;
|
||||
|
||||
string myClass;
|
||||
|
||||
List<string> toolsExtendedDown = Model.ToolEvents.Where(x => x.DownMoreThanTwelveHours).Select(x => x.Reactor).ToList();
|
||||
}
|
||||
|
||||
@{
|
||||
@ -102,7 +100,7 @@
|
||||
<br /><br />
|
||||
<h5>Current Reactors Down(@Model.ToolEvents.Where(x => x.IsInProduction == false).Count()):</h5>
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<div class="col-lg-6">
|
||||
@{
|
||||
List<ToolEventView> asmTools = Model.ToolEvents.Where(x => x.IsInProduction == false && x.Type.Contains("ASM")).ToList();
|
||||
}
|
||||
@ -113,6 +111,7 @@
|
||||
<th scope="col">Reactor</th>
|
||||
<th scope="col">Owner</th>
|
||||
<th scope="col">Issue</th>
|
||||
<th scope="col">Downtime</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -127,10 +126,16 @@
|
||||
else
|
||||
owner = "Prod";
|
||||
|
||||
<tr>
|
||||
if (tool.Downtime > 12)
|
||||
myClass = "tableDowntime";
|
||||
else
|
||||
myClass = "";
|
||||
|
||||
<tr class="@myClass">
|
||||
<td>@tool.Reactor</td>
|
||||
<td>@owner</td>
|
||||
<td>@tool.MostRecentEvent.COMMENT</td>
|
||||
<td>@string.Format("{0:##,###.##}", tool.Downtime)</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
@ -138,7 +143,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<div class="col-lg-6">
|
||||
@{
|
||||
List<ToolEventView> eppTools = Model.ToolEvents.Where(x => x.IsInProduction == false && x.Type.Contains("EPP")).ToList();
|
||||
}
|
||||
@ -149,6 +154,7 @@
|
||||
<th scope="col">Reactor</th>
|
||||
<th scope="col">Owner</th>
|
||||
<th scope="col">Issue</th>
|
||||
<th scope="col">Downtime</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -163,10 +169,16 @@
|
||||
else
|
||||
owner = "Prod";
|
||||
|
||||
<tr>
|
||||
if (tool.Downtime > 12)
|
||||
myClass = "tableDowntime";
|
||||
else
|
||||
myClass = "";
|
||||
|
||||
<tr class="@myClass">
|
||||
<td>@tool.Reactor</td>
|
||||
<td>@owner</td>
|
||||
<td>@tool.MostRecentEvent.COMMENT</td>
|
||||
<td>@string.Format("{0:##,###.##}", tool.Downtime)</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
@ -174,17 +186,18 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<div class="col-lg-6">
|
||||
@{
|
||||
List<ToolEventView> htrTools = Model.ToolEvents.Where(x => x.IsInProduction == false && x.Type.Contains("HTR")).ToList();
|
||||
}
|
||||
EPP(@htrTools.Count())
|
||||
HTR(@htrTools.Count())
|
||||
<table class="table table-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Reactor</th>
|
||||
<th scope="col">Owner</th>
|
||||
<th scope="col">Issue</th>
|
||||
<th scope="col">Downtime</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -199,14 +212,21 @@
|
||||
else
|
||||
owner = "Prod";
|
||||
|
||||
<tr>
|
||||
if (tool.Downtime > 12)
|
||||
myClass = "tableDowntime";
|
||||
else
|
||||
myClass = "";
|
||||
|
||||
<tr class="@myClass">
|
||||
<td>@tool.Reactor</td>
|
||||
<td>@owner</td>
|
||||
<td>@tool.MostRecentEvent.COMMENT</td>
|
||||
<td>@string.Format("{0:##,###.##}", tool.Downtime)</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
<p> *Rows highlighted in orange have been down for more than 12 hours</p>
|
||||
</div>
|
||||
</div>
|
||||
<ul>
|
||||
@ -230,11 +250,6 @@
|
||||
<li>EpiPro - @(string.Join(',', Model.DualLayerReactors["EPP"]))</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Engineering Focus Tools (Down > 12 hours)
|
||||
<ul>
|
||||
<li>@string.Join(",", toolsExtendedDown)</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Metrology Down (@Model.MetrologyEvents.Count()):
|
||||
@if (@Model.MetrologyEvents.Count() > 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user