Tests passed using Mock
This commit is contained in:
9
Shared/Models/Stateless/IIOpenInsightV1Repository.cs
Normal file
9
Shared/Models/Stateless/IIOpenInsightV1Repository.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace OI.Metrology.Shared.Models.Stateless;
|
||||
|
||||
public interface IOpenInsightV1Repository
|
||||
{
|
||||
|
||||
string GetTencorRun(string rds, string? insertDate, string? recipe);
|
||||
string GetCommandText(string rds, string? insertDate, string? recipe);
|
||||
|
||||
}
|
17
Shared/Models/Stateless/IInfinityQSV3Controller.cs
Normal file
17
Shared/Models/Stateless/IInfinityQSV3Controller.cs
Normal file
@ -0,0 +1,17 @@
|
||||
namespace OI.Metrology.Shared.Models.Stateless;
|
||||
|
||||
public interface IInfinityQSV3Controller<T>
|
||||
{
|
||||
|
||||
enum Action : int
|
||||
{
|
||||
Index = 0,
|
||||
MarkAsPinned = 1
|
||||
}
|
||||
|
||||
static string GetRouteName() => nameof(IInfinityQSV3Controller<T>)[1..^10];
|
||||
T GetCommandText(string sub_group_id, string process, string job, string part, string lot, string date_time);
|
||||
T GetData(string sub_group_id);
|
||||
T GetHeader(string sub_group_id);
|
||||
|
||||
}
|
17
Shared/Models/Stateless/IInfinityQSV3Repository.cs
Normal file
17
Shared/Models/Stateless/IInfinityQSV3Repository.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using OI.Metrology.Shared.DataModels;
|
||||
|
||||
namespace OI.Metrology.Shared.Models.Stateless;
|
||||
|
||||
public interface IInfinityQSV3Repository
|
||||
{
|
||||
|
||||
string GetCommandText(string subGroupId);
|
||||
string GetCommandText(string process, string? part);
|
||||
string GetCommandText(InfinityQSV3 infinityQSV2);
|
||||
string GetProductDataAverageSumOfDefectsProcessMeanProcessSigma(string process, string? recipe);
|
||||
string GetCommandText(string? subGroupId, string? process, string? job, string? part, string? lot, string? dateTime);
|
||||
Result<InfinityQSV3[]> GetData(string subGroupId);
|
||||
Result<InfinityQSDescriptorV3[]> GetDescriptors(string subGroupId);
|
||||
Result<InfinityQSV3[]> GetHeader(string subGroupId);
|
||||
|
||||
}
|
9
Shared/Models/Stateless/IOpenInsightV1Controller.cs
Normal file
9
Shared/Models/Stateless/IOpenInsightV1Controller.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace OI.Metrology.Shared.Models.Stateless;
|
||||
|
||||
public interface IOpenInsightV1Controller<T>
|
||||
{
|
||||
|
||||
static string GetRouteName() => nameof(IOpenInsightV1Controller<T>)[1..^10];
|
||||
T GetTencorRun(string rds, string? insertDate, string? recipe);
|
||||
|
||||
}
|
Reference in New Issue
Block a user