This commit is contained in:
2023-02-08 07:16:09 -07:00
parent 90d58e8e9c
commit 65a3c6e7f6
12 changed files with 821 additions and 531 deletions

View File

@ -0,0 +1,17 @@
namespace OI.Metrology.Shared.DataModels;
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; }
}

View File

@ -0,0 +1,15 @@
namespace OI.Metrology.Shared.Models.Stateless;
public interface IPinController<T>
{
enum Action : int
{
Index = 0,
MarkAsPinned = 1
}
static string GetRouteName() => nameof(IPinController<T>)[1..^10];
T MarkAsPinned(DataModels.HeaderCommon headerCommon);
}

View File

@ -0,0 +1,20 @@
using OI.Metrology.Shared.DataModels;
namespace OI.Metrology.Shared.Models.Stateless;
public interface IPinRepository
{
enum ToolId
{
BioRad = 0,
CDE = 1,
Tencor = 2,
HgCV = 3,
Stratus = 4,
SP1 = 5,
}
Result<HeaderCommond[]> GetPinnedTable(IMetrologyRepository metrologyRepository, int id, string? bioRad, string? cde);
}