Moved API and DB methods to interfaces in order to leverage Dependency Injection, disolved APICaller class, including functionality in several other functions, included Single Load Lock information into Production Passdown report, changed persistant data file to json instead of xml, and adjusted persistant data file to include a week's worth of data instead of a single day.
This commit is contained in:
16
ReportingServices/Models/PlanningReport/ReactorPSNWORuns.cs
Normal file
16
ReportingServices/Models/PlanningReport/ReactorPSNWORuns.cs
Normal file
@ -0,0 +1,16 @@
|
||||
namespace ReportingServices.Models.PlanningReport
|
||||
{
|
||||
public class ReactorPSNWORuns
|
||||
{
|
||||
public string REACTOR { get; set; }
|
||||
public string PSN { get; set; }
|
||||
public int WO_COUNT { get; set; }
|
||||
|
||||
public ReactorPSNWORuns(string reactor, string psn, int wo_count)
|
||||
{
|
||||
REACTOR = reactor;
|
||||
PSN = psn;
|
||||
WO_COUNT = wo_count;
|
||||
}
|
||||
}
|
||||
}
|
@ -2,15 +2,17 @@
|
||||
{
|
||||
public class WeeklyPartChanges
|
||||
{
|
||||
public string REACTOR { get; set; }
|
||||
public string PSN { get; set; }
|
||||
public int WO_COUNT { get; set; }
|
||||
public int TotalPartChanges { get; set; }
|
||||
public string StartDate { get; set; }
|
||||
public string EndDate { get; set; }
|
||||
public List<ReactorPSNWORuns> ReactorPSNWORuns { get; set; }
|
||||
|
||||
public WeeklyPartChanges(string reactor, string psn, int wo_count)
|
||||
public WeeklyPartChanges(int totalPartChanges, string startDate, string endDate, List<ReactorPSNWORuns> reactorPSNWORuns)
|
||||
{
|
||||
REACTOR = reactor;
|
||||
PSN = psn;
|
||||
WO_COUNT = wo_count;
|
||||
TotalPartChanges = totalPartChanges;
|
||||
StartDate = startDate;
|
||||
EndDate = endDate;
|
||||
ReactorPSNWORuns = reactorPSNWORuns;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user