Simplified Manual Report Entry
This commit is contained in:
@ -13,9 +13,9 @@ namespace ReportingServices.Shared.ViewModels.ProductionReport
|
||||
public Dictionary<string, ToolStateByType> ToolStateByType { get; set; }
|
||||
public Dictionary<string, List<string>> ToolStatesByOwner { get; set; }
|
||||
public Dictionary<string, List<int>> DualLayerReactors { get; set; }
|
||||
public List<ManualReportEntries> PreviousEntries { get; set; }
|
||||
public List<ManualReportEntries> CurrentEntries { get; set; }
|
||||
public ManualReportEntries ManualReportEntries { get; set; }
|
||||
public List<UnloadTempsByDay> UnloadTempsByDay { get; set; }
|
||||
public List<SLLTool> SLLTools { get; set; }
|
||||
public int NumberOfToolsWaferSize6IN { get; set; }
|
||||
public int NumberOfToolsWaferSize8IN { get; set; }
|
||||
public int NumberOfToolsWaferSize6INScheduled { get; set; }
|
||||
@ -26,8 +26,6 @@ namespace ReportingServices.Shared.ViewModels.ProductionReport
|
||||
{
|
||||
ToolAvailibilityByType = new();
|
||||
ToolStateByType = new();
|
||||
PreviousEntries = new();
|
||||
CurrentEntries = new();
|
||||
DualLayerReactors = new();
|
||||
UnloadTempsByDay = new();
|
||||
StartDate = DateTime.Parse(APIHelperFunctions.GetBeginningOfWeekAsAPIString());
|
||||
@ -79,8 +77,22 @@ namespace ReportingServices.Shared.ViewModels.ProductionReport
|
||||
int singleLoadlockASM = reactorsWithDisabledLoadlocks.Where(react => react.Type.Contains("ASM")).Count();
|
||||
int singleLoadlockHTR = reactorsWithDisabledLoadlocks.Where(react => react.Type.Contains("HTR")).Count();
|
||||
|
||||
CurrentEntries[(int)DateTime.Now.DayOfWeek].ASMSingleLoadLock = singleLoadlockASM;
|
||||
CurrentEntries[(int)DateTime.Now.DayOfWeek].HTRSingleLoadLock = singleLoadlockHTR;
|
||||
foreach (SLLTool sll in SLLTools)
|
||||
{
|
||||
if (sll.Date.Date == DateTime.Now.Date)
|
||||
{
|
||||
sll.ASM = singleLoadlockASM;
|
||||
sll.HTR = singleLoadlockHTR;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
SLLTools.Add(new SLLTool
|
||||
{
|
||||
Date = DateTime.Now.Date,
|
||||
ASM = singleLoadlockASM,
|
||||
HTR = singleLoadlockHTR
|
||||
});
|
||||
}
|
||||
|
||||
private void SetDualLayerReactors(List<RDS> rdsList)
|
||||
|
@ -0,0 +1,9 @@
|
||||
namespace ReportingServices.Shared.ViewModels.ProductionReport
|
||||
{
|
||||
public class SLLTool
|
||||
{
|
||||
public DateTime Date { get; set; }
|
||||
public int ASM { get; set; }
|
||||
public int HTR { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user