InfinityQSV2
This commit is contained in:
@ -5,5 +5,6 @@ public interface IAppSettingsRepository<T>
|
||||
|
||||
T GetAppSettings();
|
||||
string GetBuildNumberAndGitCommitSeven();
|
||||
void VerifyConnectionStrings();
|
||||
|
||||
}
|
@ -5,8 +5,10 @@ namespace OI.Metrology.Shared.Models.Stateless;
|
||||
public interface IInfinityQSRepository
|
||||
{
|
||||
|
||||
string GetCommandText(string subGroupId);
|
||||
string GetCommandText(string? subGroupId, string? process, string? job, string? part, string? lot, string? dateTime);
|
||||
Result<InfinityQSBase[]> GetData(string subGroupId);
|
||||
Result<InfinityQSDescriptor[]> GetDescriptors(string subGroupId);
|
||||
Result<InfinityQSBase[]> GetHeader(string subGroupId);
|
||||
Result<InfinityQSEvent[]> GetEvents(string subGroupId);
|
||||
|
||||
|
18
Shared/Models/Stateless/IInfinityQSV2Controller.cs
Normal file
18
Shared/Models/Stateless/IInfinityQSV2Controller.cs
Normal file
@ -0,0 +1,18 @@
|
||||
namespace OI.Metrology.Shared.Models.Stateless;
|
||||
|
||||
public interface IInfinityQSV2Controller<T>
|
||||
{
|
||||
|
||||
enum Action : int
|
||||
{
|
||||
Index = 0,
|
||||
MarkAsPinned = 1
|
||||
}
|
||||
|
||||
static string GetRouteName() => nameof(IInfinityQSV2Controller<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);
|
||||
|
||||
}
|
15
Shared/Models/Stateless/IInfinityQSV2Repository.cs
Normal file
15
Shared/Models/Stateless/IInfinityQSV2Repository.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using OI.Metrology.Shared.DataModels;
|
||||
|
||||
namespace OI.Metrology.Shared.Models.Stateless;
|
||||
|
||||
public interface IInfinityQSV2Repository
|
||||
{
|
||||
|
||||
string GetCommandText(string subGroupId);
|
||||
string GetCommandText(string? subGroupId, string? process, string? job, string? part, string? lot, string? dateTime);
|
||||
Result<InfinityQSBaseV2[]> GetData(string subGroupId);
|
||||
Result<InfinityQSDescriptorV2[]> GetDescriptors(string subGroupId);
|
||||
Result<InfinityQSBaseV2[]> GetHeader(string subGroupId);
|
||||
Result<InfinityQSEventV2[]> GetEvents(string subGroupId);
|
||||
|
||||
}
|
Reference in New Issue
Block a user