Used queries to get data from scrape database instead of FabTime to use a single data source.

This commit is contained in:
Daniel Wathen
2023-01-11 09:46:03 -07:00
parent cb14e93ad5
commit 43e5ec3e28
22 changed files with 1350 additions and 118 deletions

View File

@ -0,0 +1,16 @@
using System.Text.Json.Serialization;
namespace ReportingServices.Shared.Models.ProductionReport
{
public class ReactorEvent
{
[JsonPropertyName("REACT_NO")]
public string REACT_NO { get; set; }
[JsonPropertyName("EVENT_DTM")]
public string EVENT_DTM { get; set; }
[JsonPropertyName("COMMENT")]
public string COMMENT { get; set; }
[JsonPropertyName("REACT_MODE")]
public string REACT_MODE { get; set; }
}
}

View File

@ -0,0 +1,16 @@
using System.Text.Json.Serialization;
namespace ReportingServices.Shared.Models.ProductionReport
{
public class ToolEvent
{
[JsonPropertyName("TOOL_ID")]
public string TOOL_ID { get; set; }
[JsonPropertyName("START_DTM")]
public string START_DTM { get; set; }
[JsonPropertyName("TOOL_MODE")]
public string TOOL_MODE { get; set; }
[JsonPropertyName("TOOL_MODE_DESC")]
public string TOOL_MODE_DESC { get; set; }
}
}

View File

@ -0,0 +1,8 @@
namespace ReportingServices.Shared.Models.ProductionReport
{
public class ToolUptimeData
{
public string Date { get; set; }
public double UptimePercentage { get; set; }
}
}