Used queries to get data from scrape database instead of FabTime to use a single data source.
This commit is contained in:
@ -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; }
|
||||
}
|
||||
}
|
@ -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; }
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
namespace ReportingServices.Shared.Models.ProductionReport
|
||||
{
|
||||
public class ToolUptimeData
|
||||
{
|
||||
public string Date { get; set; }
|
||||
public double UptimePercentage { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user