First Commit
This commit is contained in:
9
ReportingServices/Models/ErrorViewModel.cs
Normal file
9
ReportingServices/Models/ErrorViewModel.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace ReportingServices.Models
|
||||
{
|
||||
public class ErrorViewModel
|
||||
{
|
||||
public string? RequestId { get; set; }
|
||||
|
||||
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
|
||||
}
|
||||
}
|
16
ReportingServices/Models/PlanningReport/WeeklyPartChanges.cs
Normal file
16
ReportingServices/Models/PlanningReport/WeeklyPartChanges.cs
Normal file
@ -0,0 +1,16 @@
|
||||
namespace ReportingServices.Models.PlanningReport
|
||||
{
|
||||
public class WeeklyPartChanges
|
||||
{
|
||||
public string REACTOR { get; set; }
|
||||
public string PSN { get; set; }
|
||||
public int WO_COUNT { get; set; }
|
||||
|
||||
public WeeklyPartChanges(string reactor, string psn, int wo_count)
|
||||
{
|
||||
REACTOR = reactor;
|
||||
PSN = psn;
|
||||
WO_COUNT = wo_count;
|
||||
}
|
||||
}
|
||||
}
|
22
ReportingServices/Models/ProductionReport/DailyReport.cs
Normal file
22
ReportingServices/Models/ProductionReport/DailyReport.cs
Normal file
@ -0,0 +1,22 @@
|
||||
using ReportingServices.ReportingObjects;
|
||||
|
||||
namespace ReportingServices.Models.ProductionReport
|
||||
{
|
||||
public class DailyReport
|
||||
{
|
||||
public List<ReactorOutsByDay> OutsByDay { get; set; }
|
||||
public List<ScrapByDay> ScrapByDay { get; set; }
|
||||
public Dictionary<string, ToolAvailibilityByType> ToolAvailibilityByType { get; set; }
|
||||
public Dictionary<string, ToolStateByType> ToolStateByType { get; set; }
|
||||
|
||||
public DailyReport(List<ReactorOutsByDay> outsByDay, List<ScrapByDay> scrapByDay, Dictionary<string, ToolAvailibilityByType> toolAvailibilityByType, Dictionary<string, ToolStateByType> toolStateByType)
|
||||
{
|
||||
OutsByDay = outsByDay;
|
||||
ScrapByDay = scrapByDay;
|
||||
ToolAvailibilityByType = toolAvailibilityByType;
|
||||
ToolStateByType = toolStateByType;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user