Need DB
This commit is contained in:
15
Shared/Models/Stateless/IPinController.cs
Normal file
15
Shared/Models/Stateless/IPinController.cs
Normal 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);
|
||||
|
||||
}
|
20
Shared/Models/Stateless/IPinRepository.cs
Normal file
20
Shared/Models/Stateless/IPinRepository.cs
Normal 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);
|
||||
|
||||
}
|
Reference in New Issue
Block a user