InfinityQS
This commit is contained in:
18
Shared/Models/Stateless/IInfinityQSController.cs
Normal file
18
Shared/Models/Stateless/IInfinityQSController.cs
Normal file
@ -0,0 +1,18 @@
|
||||
namespace OI.Metrology.Shared.Models.Stateless;
|
||||
|
||||
public interface IInfinityQSController<T>
|
||||
{
|
||||
|
||||
enum Action : int
|
||||
{
|
||||
Index = 0,
|
||||
MarkAsPinned = 1
|
||||
}
|
||||
|
||||
static string GetRouteName() => nameof(IInfinityQSController<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 GetEvents(string sub_group_id);
|
||||
T GetHeader(string sub_group_id);
|
||||
|
||||
}
|
13
Shared/Models/Stateless/IInfinityQSRepository.cs
Normal file
13
Shared/Models/Stateless/IInfinityQSRepository.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using OI.Metrology.Shared.DataModels;
|
||||
|
||||
namespace OI.Metrology.Shared.Models.Stateless;
|
||||
|
||||
public interface IInfinityQSRepository
|
||||
{
|
||||
|
||||
string GetCommandText(string? subGroupId, string? process, string? job, string? part, string? lot, string? dateTime);
|
||||
Result<InfinityQSBase[]> GetData(string subGroupId);
|
||||
Result<InfinityQSBase[]> GetHeader(string subGroupId);
|
||||
Result<InfinityQSEvent[]> GetEvents(string subGroupId);
|
||||
|
||||
}
|
@ -6,7 +6,8 @@ public interface IPinController<T>
|
||||
enum Action : int
|
||||
{
|
||||
Index = 0,
|
||||
MarkAsPinned = 1
|
||||
MarkAsPinned = 1,
|
||||
PinnedTable = 2
|
||||
}
|
||||
|
||||
static string GetRouteName() => nameof(IPinController<T>)[1..^10];
|
||||
|
Reference in New Issue
Block a user