Fixed typo in Daily Report, added IDLE and ENGINEERING_DEVELOPMENT to IsInProduction list, and changed unscheduled reactors calculations.

This commit is contained in:
Daniel Wathen
2023-01-17 08:31:59 -07:00
parent 9525355b55
commit 7cde09d7b8
8 changed files with 26 additions and 76 deletions

View File

@ -50,8 +50,6 @@ public class ProductionReportController : Controller
[HttpPost]
public IActionResult EditDailyReport(ManualReportEntries rpt)
{
rpt.Date = DateTime.Now.Date;
JsonFileHandler.SaveJSONFile(rpt, _dailyRptFilePath);
return RedirectToAction("DailyReport");

View File

@ -236,7 +236,19 @@
</div>
</div>
<ul>
<li>Application ENG (0):</li>
@{
List<string> engTools = Model.ToolEvents
.Where(x => x.MostRecentEvent.REACT_MODE == "ENGINEERING_DEVELOPMENT")
.Select(x => x.Reactor).ToList();
}
<li>Application ENG (@engTools.Count()):
@if (engTools.Count() > 0)
{
<ul>
<li>@string.Join(',', engTools)</li>
</ul>
}
</li>
<li>Reactors (Capacity @(Model.NumberOfToolsWaferSize6IN + Model.NumberOfToolsWaferSize8IN))
<ul>
<li>150mm - @Model.NumberOfToolsWaferSize6IN</li>

View File

@ -41,7 +41,7 @@
</thead>
<tbody>
<tr>
<td scope="row">Commited Target to meet Shipment Requirements</td>
<td scope="row">Committed Target to meet Shipment Requirements</td>
<td class="text-center">@string.Format("{0:#,###}", Model.DailyPlanWafers)</td>
<td class="text-center">@string.Format("{0:#,###}", Model.DailyPlanWafers)</td>
<td class="text-center">@string.Format("{0:#,###}", Model.DailyPlanWafers)</td>

View File

@ -1 +1 @@
{"Date":"2023-01-15T00:00:00-07:00","OperatorHeadcountDays":14,"OperatorHeadcountNights":12,"OperatorCallOutsDays":0,"OperatorCallOutsNights":1,"EngineeringHeadcountDays":1,"EngineeringHeadcountNights":1,"EngineeringCallOutsDays":0,"EngineeringCallOutsNights":0,"MaintenanceHeadcountDays":3,"MaintenanceHeadcountNights":3,"MaintenanceCallOutsDays":0,"MaintenanceCallOutsNights":0,"BottleChanges":"R22","DailyPartChanges":"R23,R25","WeeklyPartChanges":"R23,R25,R27,R29,R36,R37"}
{"OperatorHeadcountDays":0,"OperatorHeadcountNights":0,"OperatorCallOutsDays":0,"OperatorCallOutsNights":0,"EngineeringHeadcountDays":0,"EngineeringHeadcountNights":0,"EngineeringCallOutsDays":0,"EngineeringCallOutsNights":0,"MaintenanceHeadcountDays":0,"MaintenanceHeadcountNights":0,"MaintenanceCallOutsDays":0,"MaintenanceCallOutsNights":0,"BottleChanges":null,"DailyPartChanges":null,"WeeklyPartChanges":"R23,R25,R27,R29,R36,R37"}

View File

@ -1,37 +1 @@
[
{
"Date": "2023-01-09T00:00:00-07:00",
"ASM": 8,
"HTR": 16
},
{
"Date": "2023-01-10T00:00:00-07:00",
"ASM": 8,
"HTR": 16
},
{
"Date": "2023-01-11T00:00:00-07:00",
"ASM": 8,
"HTR": 16
},
{
"Date": "2023-01-12T00:00:00-07:00",
"ASM": 7,
"HTR": 16
},
{
"Date": "2023-01-13T00:00:00-07:00",
"ASM": 7,
"HTR": 15
},
{
"Date": "2023-01-14T00:00:00-07:00",
"ASM": 8,
"HTR": 15
},
{
"Date": "2023-01-15T00:00:00-07:00",
"ASM": 9,
"HTR": 15
}
]
[{"Date":"2023-01-09T00:00:00-07:00","ASM":8,"HTR":16},{"Date":"2023-01-10T00:00:00-07:00","ASM":8,"HTR":16},{"Date":"2023-01-11T00:00:00-07:00","ASM":8,"HTR":16},{"Date":"2023-01-12T00:00:00-07:00","ASM":7,"HTR":16},{"Date":"2023-01-13T00:00:00-07:00","ASM":7,"HTR":15},{"Date":"2023-01-14T00:00:00-07:00","ASM":8,"HTR":15},{"Date":"2023-01-15T00:00:00-07:00","ASM":9,"HTR":15},{"Date":"2023-01-17T00:00:00-07:00","ASM":9,"HTR":15}]