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:
Daniel Wathen
2022-12-02 14:41:19 -07:00
parent e9c071c8f7
commit 740896adf0
31 changed files with 857 additions and 549 deletions

View File

@ -1,6 +1,6 @@
namespace ReportingServices.ReportingObjects
{
public class DailyReportingSummary
public class ManualReportEntries
{
public int OperatorHeadcountDays { get; set; }
public int OperatorHeadcountNights { get; set; }
@ -17,5 +17,7 @@
public string BottleChanges { get; set; }
public string DailyPartChanges { get; set; }
public string WeeklyPartChanges { get; set; }
public int SingleLoadLockASM { get; set; }
public int SingleLoadLockHTR { get; set; }
}
}

View File

@ -0,0 +1,14 @@
namespace ReportingServices.ReportingObjects
{
public class ManualReportEntriesByDay
{
public DayOfWeek Day { get; set; }
public ManualReportEntries Entries { get; set; }
public ManualReportEntriesByDay(DayOfWeek day, ManualReportEntries entries)
{
Day = day;
Entries = entries;
}
}
}

View File

@ -1,12 +0,0 @@
namespace ReportingServices.ReportingObjects
{
public class ToolAvailibilityByType
{
public List<EquipmentStateByDay> EquipmentStates { get; set; }
public ToolAvailibilityByType(List<EquipmentStateByDay> equipmentStates)
{
EquipmentStates = equipmentStates;
}
}
}