Save ProcessDataStandardFormat to EC_Metrology_Si

Del alignment
This commit is contained in:
2023-06-27 08:02:25 -07:00
parent 1e0803199a
commit c2b6d873f6
4 changed files with 26 additions and 20 deletions

View File

@ -70,13 +70,15 @@ public class WSRequest
public string WaferSize { get; set; }
public string Zone { get; set; }
public List<pcl.Detail> Details { get; protected set; }
public string ProcessDataStandardFormat { get; set; }
[Obsolete("For json")] public WSRequest() { }
#pragma warning disable IDE0060
internal WSRequest(IFileRead fileRead, Logistics logistics, List<pcl.Description> descriptions)
internal WSRequest(IFileRead fileRead, Logistics logistics, List<pcl.Description> descriptions, string processDataStandardFormat = null)
#pragma warning restore IDE0060
{
ProcessDataStandardFormat = processDataStandardFormat;
Id = string.Empty;
Details = new List<pcl.Detail>();
CellName = logistics.MesEntity;
@ -185,7 +187,7 @@ public class WSRequest
{
if (string.IsNullOrEmpty(json))
{
WSRequest wsRequest = new(fileRead, logistics, descriptions);
WSRequest wsRequest = new(fileRead, logistics, descriptions, string.Empty);
(json, WS.Results wsResults) = WS.SendData(openInsightMetrologyViewerAPI, wsRequest);
if (!wsResults.Success)
throw new Exception(wsResults.ToString());