Added View, Recipe Paramaters and Export
This commit is contained in:
22
Shared/Models/Stateless/IExportController.cs
Normal file
22
Shared/Models/Stateless/IExportController.cs
Normal file
@ -0,0 +1,22 @@
|
||||
using OI.Metrology.Shared.DataModels;
|
||||
|
||||
namespace OI.Metrology.Shared.Models.Stateless;
|
||||
|
||||
public interface IExportController<T>
|
||||
{
|
||||
|
||||
enum Action : int
|
||||
{
|
||||
Index = 0,
|
||||
Export = 1,
|
||||
Headers = 2,
|
||||
Logistics = 3
|
||||
}
|
||||
|
||||
static string GetRouteName() => nameof(IExportController<T>)[1..^10];
|
||||
T GetExport(HeaderCommon headerCommon);
|
||||
T GetHeaders(HeaderCommon headerCommon);
|
||||
T GetLogistics(HeaderCommon headerCommon);
|
||||
T GetProcessDataStandardFormat(HeaderCommon headerCommon);
|
||||
|
||||
}
|
Reference in New Issue
Block a user