Viewer to Server
This commit is contained in:
18
Shared/DataModels/AwaitingDisposition.cs
Normal file
18
Shared/DataModels/AwaitingDisposition.cs
Normal 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; }
|
||||
}
|
9
Shared/DataModels/ColumnValue.cs
Normal file
9
Shared/DataModels/ColumnValue.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace OI.Metrology.Shared.DataModels;
|
||||
|
||||
public class ColumnValue
|
||||
{
|
||||
|
||||
public string? Column { get; set; }
|
||||
public string? Value { get; set; }
|
||||
|
||||
}
|
@ -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; }
|
||||
|
||||
}
|
47
Shared/DataModels/Pinned.cs
Normal file
47
Shared/DataModels/Pinned.cs
Normal 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];
|
||||
}
|
||||
|
||||
}
|
7
Shared/DataModels/Result.cs
Normal file
7
Shared/DataModels/Result.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace OI.Metrology.Shared.DataModels;
|
||||
|
||||
public class Result<T>
|
||||
{
|
||||
public T? Results { get; set; }
|
||||
public long TotalRows { get; set; }
|
||||
}
|
18
Shared/DataModels/ToolTypeMetadataResult.cs
Normal file
18
Shared/DataModels/ToolTypeMetadataResult.cs
Normal 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;
|
||||
}
|
||||
|
||||
}
|
9
Shared/DataModels/ToolTypeNameId.cs
Normal file
9
Shared/DataModels/ToolTypeNameId.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace OI.Metrology.Shared.DataModels;
|
||||
|
||||
public class ToolTypeNameId
|
||||
{
|
||||
|
||||
public string? ToolTypeName { get; set; }
|
||||
public int ID { get; set; }
|
||||
|
||||
}
|
Reference in New Issue
Block a user