Viewer to Server

This commit is contained in:
2023-02-16 15:17:31 -07:00
parent 5c50078c04
commit a25dc93610
968 changed files with 16395 additions and 2385 deletions

View File

@ -0,0 +1,18 @@
namespace OI.Metrology.Shared.DataModels;
public class AwaitingDisposition
{
public string? PK { get; set; }
public string? Title { get; set; }
public int ID { get; set; }
public int ToolTypeID { get; set; }
public string? ToolType { get; set; }
public string? Tool { get; set; }
public string? Reactor { get; set; }
public string? RDS { get; set; }
public string? PSN { get; set; }
public string? Layer { get; set; }
public string? Zone { get; set; }
public DateTime InsertDate { get; set; }
public DateTime Expiration { get; set; }
}

View File

@ -0,0 +1,9 @@
namespace OI.Metrology.Shared.DataModels;
public class ColumnValue
{
public string? Column { get; set; }
public string? Value { get; set; }
}

View File

@ -2,10 +2,31 @@
public class HeaderCommon
{
public long ID { get; set; }
public DateTime InsertDate { get; set; }
public Guid AttachmentID { get; set; }
public string? Title { get; set; }
public string? Recipe { get; set; }
public DateTime Date { get; set; }
public long ToolTypeID { get; set; }
public string? ToolTypeName { get; set; }
// [Newtonsoft.Json.JsonProperty("Tool")]
// [System.Text.Json.Serialization.JsonPropertyName("Tool")]
// public string? Tool { get; set; }
// [Newtonsoft.Json.JsonProperty("Equipment ID")]
// [System.Text.Json.Serialization.JsonPropertyName("Equipment ID")]
// public string? Equipment_ID { get; set; }
public string? MesEntity { get; set; }
public string? Employee { get; set; }
public string? Layer { get; set; }
public string? PSN { get; set; }
public string? RDS { get; set; }
public string? Reactor { get; set; }
public string? Recipe { get; set; }
public string? Zone { get; set; }
}

View File

@ -0,0 +1,47 @@
namespace OI.Metrology.Shared.DataModels;
public class Pinned : HeaderCommon
{
public string Point1 { get; set; }
public string Point2 { get; set; }
public string Point3 { get; set; }
public string Point4 { get; set; }
public string Point5 { get; set; }
public string Point6 { get; set; }
public string Point7 { get; set; }
public string Point8 { get; set; }
public string Point9 { get; set; }
public Pinned(HeaderCommon headerCommon, List<string> values)
{
ID = headerCommon.ID;
InsertDate = headerCommon.InsertDate;
AttachmentID = headerCommon.AttachmentID;
Title = headerCommon.Title;
Date = headerCommon.Date;
ToolTypeID = headerCommon.ToolTypeID;
ToolTypeName = headerCommon.ToolTypeName;
MesEntity = headerCommon.MesEntity;
Employee = headerCommon.Employee;
Layer = headerCommon.Layer;
PSN = headerCommon.PSN;
RDS = headerCommon.RDS;
Reactor = headerCommon.Reactor;
Recipe = headerCommon.Recipe;
Zone = headerCommon.Zone;
Point1 = values[0];
Point2 = values[1];
Point3 = values[2];
Point4 = values[3];
Point5 = values[4];
Point6 = values[5];
Point7 = values[6];
Point8 = values[7];
Point9 = values[8];
}
}

View File

@ -0,0 +1,7 @@
namespace OI.Metrology.Shared.DataModels;
public class Result<T>
{
public T? Results { get; set; }
public long TotalRows { get; set; }
}

View File

@ -0,0 +1,18 @@
namespace OI.Metrology.Shared.DataModels;
public class ToolTypeMetadataResult
{
public ToolType? ToolType { get; set; }
public ToolTypeMetadata[]? Metadata { get; set; }
public ToolTypeMetadataResult()
{ }
public ToolTypeMetadataResult(ToolType? toolType, ToolTypeMetadata[]? metadata)
{
ToolType = toolType;
Metadata = metadata;
}
}

View File

@ -0,0 +1,9 @@
namespace OI.Metrology.Shared.DataModels;
public class ToolTypeNameId
{
public string? ToolTypeName { get; set; }
public int ID { get; set; }
}