Added SineBevelAngle and XStep
This commit is contained in:
parent
7b204b9208
commit
abf52afef9
@ -27,6 +27,8 @@ public class WSRequest
|
|||||||
public string Title { get; set; }
|
public string Title { get; set; }
|
||||||
public string UniqueId { get; set; }
|
public string UniqueId { get; set; }
|
||||||
public string Zone { get; set; }
|
public string Zone { get; set; }
|
||||||
|
public string SineBevelAngle { get; set; }
|
||||||
|
public string XStep { get; set; }
|
||||||
public List<json.Detail> Details { get; protected set; }
|
public List<json.Detail> Details { get; protected set; }
|
||||||
|
|
||||||
[Obsolete("For json")] public WSRequest() { }
|
[Obsolete("For json")] public WSRequest() { }
|
||||||
@ -52,6 +54,8 @@ public class WSRequest
|
|||||||
Recipe = x.Recipe;
|
Recipe = x.Recipe;
|
||||||
UniqueId = x.UniqueId;
|
UniqueId = x.UniqueId;
|
||||||
Zone = x.Zone;
|
Zone = x.Zone;
|
||||||
|
SineBevelAngle = x.SineBevelAngle;
|
||||||
|
XStep = x.XStep;
|
||||||
}
|
}
|
||||||
json.Detail detail;
|
json.Detail detail;
|
||||||
foreach (json.Description description in descriptions)
|
foreach (json.Description description in descriptions)
|
||||||
|
@ -34,6 +34,9 @@ public class Description : IDescription, Shared.Properties.IDescription
|
|||||||
public string UniqueId { get; set; }
|
public string UniqueId { get; set; }
|
||||||
public string Zone { get; set; }
|
public string Zone { get; set; }
|
||||||
//
|
//
|
||||||
|
public string SineBevelAngle { get; set; }
|
||||||
|
public string XStep { get; set; }
|
||||||
|
//
|
||||||
public string Number { get; set; }
|
public string Number { get; set; }
|
||||||
public string Depth { get; set; }
|
public string Depth { get; set; }
|
||||||
public string Raw { get; set; }
|
public string Raw { get; set; }
|
||||||
@ -182,6 +185,9 @@ public class Description : IDescription, Shared.Properties.IDescription
|
|||||||
Recipe = processData.Recipe,
|
Recipe = processData.Recipe,
|
||||||
Zone = processData.Zone,
|
Zone = processData.Zone,
|
||||||
//
|
//
|
||||||
|
SineBevelAngle = processData.SineBevelAngle,
|
||||||
|
XStep = processData.XStep,
|
||||||
|
//
|
||||||
UniqueId = detail.UniqueId,
|
UniqueId = detail.UniqueId,
|
||||||
HeaderUniqueId = detail.HeaderUniqueId,
|
HeaderUniqueId = detail.HeaderUniqueId,
|
||||||
Depth = detail.Depth,
|
Depth = detail.Depth,
|
||||||
@ -230,6 +236,9 @@ public class Description : IDescription, Shared.Properties.IDescription
|
|||||||
UniqueId = nameof(UniqueId),
|
UniqueId = nameof(UniqueId),
|
||||||
Zone = nameof(Zone),
|
Zone = nameof(Zone),
|
||||||
//
|
//
|
||||||
|
SineBevelAngle = nameof(SineBevelAngle),
|
||||||
|
XStep = nameof(XStep),
|
||||||
|
//
|
||||||
Number = nameof(Number),
|
Number = nameof(Number),
|
||||||
Depth = nameof(Depth),
|
Depth = nameof(Depth),
|
||||||
Raw = nameof(Raw),
|
Raw = nameof(Raw),
|
||||||
|
@ -27,6 +27,9 @@ public partial class ProcessData : IProcessData
|
|||||||
public string Reactor { get; set; }
|
public string Reactor { get; set; }
|
||||||
public string Recipe { get; set; }
|
public string Recipe { get; set; }
|
||||||
public string Zone { get; set; }
|
public string Zone { get; set; }
|
||||||
|
//
|
||||||
|
public string SineBevelAngle { get; set; }
|
||||||
|
public string XStep { get; set; }
|
||||||
|
|
||||||
List<object> Shared.Properties.IProcessData.Details => _Details;
|
List<object> Shared.Properties.IProcessData.Details => _Details;
|
||||||
|
|
||||||
@ -255,13 +258,15 @@ public partial class ProcessData : IProcessData
|
|||||||
employee = descriptor.Employee;
|
employee = descriptor.Employee;
|
||||||
PSN = psn;
|
PSN = psn;
|
||||||
RDS = rds;
|
RDS = rds;
|
||||||
Date = dateTime;
|
|
||||||
Zone = zone;
|
Zone = zone;
|
||||||
Layer = layer;
|
Layer = layer;
|
||||||
|
Date = dateTime;
|
||||||
Recipe = recipe;
|
Recipe = recipe;
|
||||||
Reactor = reactor;
|
Reactor = reactor;
|
||||||
Employee = employee;
|
Employee = employee;
|
||||||
JobID = logistics.JobID;
|
JobID = logistics.JobID;
|
||||||
|
SineBevelAngle = csv.Setup.SineBevelAngle.ToString();
|
||||||
|
XStep = !csv.Setup.Steps.Any() ? string.Empty : csv.Setup.Steps.First().X.ToString();
|
||||||
foreach (ProfilePoint profilePoint in csv.ProfileHeader.ProfilePoints)
|
foreach (ProfilePoint profilePoint in csv.ProfileHeader.ProfilePoints)
|
||||||
{
|
{
|
||||||
detail = new()
|
detail = new()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user