Fixed bug for expanding yield columns in javascript file, added database calls for unload temps and tools by wafer size, and included unload temps and tools by wafer size in production passdown report.

This commit is contained in:
Daniel Wathen
2022-12-02 15:48:06 -07:00
parent 740896adf0
commit 3409ad58b7
7 changed files with 158 additions and 14 deletions

View File

@ -19,6 +19,9 @@
int ASMSLL = 0;
int HTRSLL = 0;
int ASMUnloadTemps = 0;
int HTRUnloadTemps = 0;
int reportIndex = (int)DateTime.Now.DayOfWeek;
ManualReportEntries rpt = Model.Entries[reportIndex].Entries;
@ -135,7 +138,12 @@
<td>Before Scrap</td>
</tr>
<tr>
<td scope="row" id="expandYield">Actual Yielded Wafers Out &nbsp;&nbsp;&nbsp; <img src="~/Images/plusIcon.png" width="20" style="padding-bottom: 3px" onclick="expandYield()" id="yieldImage" /></td>
<td scope="row" id="expandYield">
Actual Yielded Wafers Out &nbsp;&nbsp;&nbsp;
<button class="btn btn-default" onclick="expandYield()">
<img src="~/Images/plusIcon.png" width="20" style="padding-bottom: 3px" id="yieldImage" />
</button>
</td>
@for (int i = 0; i < 7; i++)
{
if (i < Model.OutsByDay.Count)
@ -407,13 +415,19 @@
</div>
<ul>
<li>Application ENG (0):</li>
<li>Reactors (Capacity )</li>
<li>Reactors (Capacity @(Model.NumberOfToolsWaferSize6IN + Model.NumberOfToolsWaferSize8IN))
<ul>
<li>150mm - @Model.NumberOfToolsWaferSize6IN</li>
<li>200mm - @Model.NumberOfToolsWaferSize8IN</li>
</ul>
</li>
<li>Scheduled Reactors: </li>
<li>Dual Layer Reactors</li>
<li>Engineering Focus Tools (Down > 12 hours)</li>
<ul>
<li>@string.Join(",", toolsDownGreaterThan12Hours)</li>
</ul>
<li>Engineering Focus Tools (Down > 12 hours)
<ul>
<li>@string.Join(",", toolsDownGreaterThan12Hours)</li>
</ul>
</li>
<li>Metrology Down (): </li>
<li>Cleans (): </li>
</ul>
@ -527,9 +541,9 @@
{
int index = i == 6 ? 0 : i + 1;
<td>@Model.Entries[index].Entries.SingleLoadLockASM</td>
<td>@Model.Entries[index].Entries.ASMSingleLoadLock</td>
ASMSLL += @Model.Entries[index].Entries.SingleLoadLockASM;
ASMSLL += @Model.Entries[index].Entries.ASMSingleLoadLock;
}
else
{
@ -547,9 +561,9 @@
{
int index = i == 6 ? 0 : i + 1;
<td>@Model.Entries[index].Entries.SingleLoadLockHTR</td>
<td>@Model.Entries[index].Entries.HTRSingleLoadLock</td>
HTRSLL += @Model.Entries[index].Entries.SingleLoadLockHTR;
HTRSLL += @Model.Entries[index].Entries.HTRSingleLoadLock;
}
else
{
@ -559,6 +573,46 @@
<td>@(HTRSLL / count)</td>
<td>0</td>
</tr>
<tr>
<td scope="row">ASMs &lt;700C (Unload Temps)</td>
@for (int i = 0; i < 7; i++)
{
if (i < Model.Entries.Count)
{
int index = i == 6 ? 0 : i + 1;
<td>@Model.Entries[index].Entries.ASMUnloadTempsLessThan700</td>
ASMUnloadTemps += @Model.Entries[index].Entries.ASMUnloadTempsLessThan700;
}
else
{
<td></td>
}
}
<td>@(ASMUnloadTemps / count)</td>
<td>0</td>
</tr>
<tr>
<td scope="row">HTRs &lt;700C (Unload Temps)</td>
@for (int i = 0; i < 7; i++)
{
if (i < Model.Entries.Count)
{
int index = i == 6 ? 0 : i + 1;
<td>@Model.Entries[index].Entries.HTRUnloadTempsLessThan700</td>
HTRUnloadTemps += @Model.Entries[index].Entries.HTRUnloadTempsLessThan700;
}
else
{
<td></td>
}
}
<td>@(HTRUnloadTemps / count)</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>