Testing I

This commit is contained in:
2023-02-08 09:33:28 -07:00
parent 65a3c6e7f6
commit 7828493f27
6 changed files with 94 additions and 33 deletions

View File

@ -2,16 +2,39 @@
public class HeaderCommond : HeaderCommon
{
public string? PointA { get; set; }
public string? PointB { get; set; }
public string? PointC { get; set; }
public string? PointD { get; set; }
public string? PointE { get; set; }
public string? PointF { get; set; }
public string? PointG { get; set; }
public string? PointH { get; set; }
public string? PointI { get; set; }
public string? PointJ { get; set; }
public string? PointK { get; set; }
public string? PointL { get; set; }
public string PointA { get; set; }
public string PointB { get; set; }
public string PointC { get; set; }
public string PointD { get; set; }
public string PointE { get; set; }
public string PointF { get; set; }
public string PointG { get; set; }
public string PointH { get; set; }
public string PointI { get; set; }
public HeaderCommond(HeaderCommon headerCommon, List<string> values)
{
ID = headerCommon.ID;
InsertDate = headerCommon.InsertDate;
AttachmentID = headerCommon.AttachmentID;
Title = headerCommon.Title;
Recipe = headerCommon.Recipe;
Date = headerCommon.Date;
ToolTypeID = headerCommon.ToolTypeID;
ToolTypeName = headerCommon.ToolTypeName;
Reactor = headerCommon.Reactor;
RDS = headerCommon.RDS;
PSN = headerCommon.PSN;
PointA = values[0];
PointB = values[1];
PointC = values[2];
PointD = values[3];
PointE = values[4];
PointF = values[5];
PointG = values[6];
PointH = values[7];
PointI = values[8];
}
}

View File

@ -7,12 +7,12 @@ public interface IPinRepository
enum ToolId
{
BioRad = 0,
CDE = 1,
Tencor = 2,
HgCV = 3,
Stratus = 4,
SP1 = 5,
BioRad = 1,
CDE = 2,
Tencor = 3,
HgCV = 4,
Stratus = 5,
SP1 = 6,
}
Result<HeaderCommond[]> GetPinnedTable(IMetrologyRepository metrologyRepository, int id, string? bioRad, string? cde);