Separated Wafer-Counter
JsonElement instead of Request body Attachment Class Bump Ready to test GetLastGroupIdWithValue Changed to v4
This commit is contained in:
@ -6,7 +6,9 @@ public interface IFileShareController<T>
|
||||
enum Action : int
|
||||
{
|
||||
Index = 0,
|
||||
MarkAsPinned = 1
|
||||
CopyFile = 1,
|
||||
MoveFile = 2,
|
||||
FileWrite = 3,
|
||||
}
|
||||
|
||||
static string GetRouteName() => nameof(IFileShareController<T>)[1..^10];
|
||||
|
@ -10,7 +10,6 @@ public interface IFileShareRepository
|
||||
HttpResponseMessage ReadFile(HttpClient httpClient, Uri uri);
|
||||
void CopyFile(HttpClient httpClient, string from, string to);
|
||||
void MoveFile(HttpClient httpClient, string from, string to);
|
||||
void FileWrite(HttpClient httpClient, string path, string contents);
|
||||
List<NginxFileSystemSortable> GetNginxFileSystemSortableCollection(HttpClient httpClient, Uri uri, string? endsWith);
|
||||
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
using System.Text.Json;
|
||||
|
||||
namespace OI.Metrology.Shared.Models.Stateless;
|
||||
|
||||
public interface IInboundController<T>
|
||||
@ -9,7 +11,7 @@ public interface IInboundController<T>
|
||||
}
|
||||
|
||||
static string GetRouteName() => nameof(IInboundController<T>)[1..^10];
|
||||
T Post(string tooltype);
|
||||
T AttachFile(string tooltype, long headerid, string datauniqueid = "");
|
||||
T Post(string tooltype, JsonElement? jsonElement);
|
||||
T AttachFile(string tooltype, Attachment? attachment);
|
||||
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
using OI.Metrology.Shared.Services;
|
||||
using System.Net;
|
||||
using System.Text.Json;
|
||||
|
||||
namespace OI.Metrology.Shared.Models.Stateless;
|
||||
|
||||
@ -7,7 +8,7 @@ public interface IInboundRepository
|
||||
{
|
||||
|
||||
bool IsIPAddressAllowed(string inboundApiAllowedIPList, IPAddress? remoteIP);
|
||||
DataResponse Data(IMetrologyRepository metrologyRepository, IInboundDataService inboundDataService, string tooltype, string? json);
|
||||
string? AttachFile(IMetrologyRepository metrologyRepository, IAttachmentsService attachmentsService, string tooltype, long headerid, string datauniqueid, string fileName, object uploadedFile);
|
||||
void AttachFile(IMetrologyRepository metrologyRepository, IAttachmentsService attachmentsService, string toolTypeName, Attachment? attachment);
|
||||
DataResponse Data(IMetrologyRepository metrologyRepository, IInboundDataService inboundDataService, string toolTypeName, JsonElement? jsonElement);
|
||||
|
||||
}
|
@ -9,12 +9,15 @@ public interface IInfinityQSV4Controller<T>
|
||||
MarkAsPinned = 1
|
||||
}
|
||||
|
||||
static string GetRouteName() => nameof(IInfinityQSV4Controller<T>)[1..^10];
|
||||
static string GetRouteName() => nameof(IInfinityQSV4Controller<T>)[1..^12];
|
||||
static string GetRouteVersion() => nameof(IInfinityQSV4Controller<T>)[1..^10][^2..];
|
||||
|
||||
T GetData(string sub_group_id);
|
||||
T GetHeader(string sub_group_id);
|
||||
T GetDescriptors(string sub_group_id);
|
||||
T GetEpiProTempVerification(int[] night);
|
||||
T GetEpiProTempVerificationRows(int[] night);
|
||||
T GetLastGroupIdWithValue(string process, string? part, int? test);
|
||||
T GetProductDataAverageSumOfDefectsProcessMeanProcessSigma(string process, string? recipe);
|
||||
T GetCommandText(string sub_group_id, string process, string job, string part, string lot, string date_time);
|
||||
|
||||
|
@ -17,6 +17,7 @@ public interface IInfinityQSV4Repository
|
||||
string GetCommandText(List<string> eppReactorNumbers);
|
||||
List<string[]> GetEpiProTempVerificationRows(int[] night);
|
||||
Result<InfinityQSDescriptorV4[]> GetDescriptors(string subGroupId);
|
||||
string GetLastGroupIdWithValue(string process, string? part, int? test);
|
||||
string GetProductDataAverageSumOfDefectsProcessMeanProcessSigma(string process, string? recipe);
|
||||
string GetCommandText(string? subGroupId, string? process, string? job, string? part, string? lot, string? dateTime);
|
||||
|
||||
|
@ -8,42 +8,30 @@ namespace OI.Metrology.Shared.Models.Stateless;
|
||||
public interface IMetrologyRepository
|
||||
{
|
||||
|
||||
ToolType GetToolTypeByID(int id);
|
||||
TransactionScope StartTransaction();
|
||||
IEnumerable<ToolType> GetToolTypes();
|
||||
ToolType GetToolTypeByName(string name);
|
||||
ToolType GetToolTypeByID(int id);
|
||||
|
||||
IEnumerable<ToolTypeMetadata> GetToolTypeMetadataByToolTypeID(int id);
|
||||
|
||||
TransactionScope StartTransaction();
|
||||
|
||||
void PurgeExistingData(int toolTypeId, string title);
|
||||
long InsertToolDataJSON(JToken jsonbody, long headerId, List<ToolTypeMetadata> metaData, string tableName);
|
||||
|
||||
DataTable ExportData(string spName, DateTime startTime, DateTime endTime);
|
||||
|
||||
DataTable GetHeaders(int toolTypeId, string? startTime, string? endTime, int? pageNo, int? pageSize, long? headerid, out long totalRecords);
|
||||
DataTable GetData(int toolTypeId, long headerId);
|
||||
DataTable GetDataSharePoint(int toolTypeId, string headerId);
|
||||
|
||||
HeaderCommon[] GetHeaderTitles(int? toolTypeId, int? pageNo, int? pageSize, out long totalRecords);
|
||||
|
||||
Guid GetHeaderAttachmentIDByTitle(int toolTypeId, string title);
|
||||
Guid GetDataAttachmentIDByTitle(int toolTypeId, string title);
|
||||
|
||||
Guid GetHeaderAttachmentID(int toolTypeId, long headerId);
|
||||
string GetHeaderInsertDate(int toolTypeId, long headerId);
|
||||
string GetAttachmentInsertDateByGUID(string tableName, Guid attachmentId);
|
||||
void SetHeaderDirName(string tableName, long headerId, string dateDir);
|
||||
Guid GetDataAttachmentID(int toolTypeId, long headerId, string title);
|
||||
string GetDataInsertDate(int toolTypeId, long headerId, string title);
|
||||
|
||||
void SetDataDirName(string tableName, long headerId, string title, string dateDir);
|
||||
void PurgeExistingData(int toolTypeId, string title);
|
||||
DataSet GetOIExportData(int toolTypeId, long headerid);
|
||||
|
||||
IEnumerable<KeyValuePair<string, string>> GetHeaderFields(int toolTypeId, long headerid);
|
||||
|
||||
Guid GetHeaderAttachmentID(int toolTypeId, long headerId);
|
||||
IEnumerable<AwaitingDisposition> GetAwaitingDisposition();
|
||||
|
||||
string GetHeaderInsertDate(int toolTypeId, long headerId);
|
||||
Guid GetDataAttachmentIDByTitle(int toolTypeId, string title);
|
||||
Guid GetHeaderAttachmentIDByTitle(int toolTypeId, string title);
|
||||
int UpdateReviewDate(int toolTypeId, long headerId, bool clearDate);
|
||||
IEnumerable<ToolTypeMetadata> GetToolTypeMetadataByToolTypeID(int id);
|
||||
string GetDataInsertDate(int toolTypeId, long headerId, string title);
|
||||
void SetHeaderDirName(string tableName, long headerId, string dateDir);
|
||||
DataTable ExportData(string spName, DateTime startTime, DateTime endTime);
|
||||
string GetAttachmentInsertDateByGUID(string tableName, Guid attachmentId);
|
||||
void SetHeaderAttachmentID(int toolTypeId, long headerId, string attachmentId);
|
||||
void SetDataDirName(string tableName, long headerId, string title, string dateDir);
|
||||
IEnumerable<KeyValuePair<string, string>> GetHeaderFields(int toolTypeId, long headerid);
|
||||
void SetDataAttachmentID(int toolTypeId, long headerId, string title, string attachmentId);
|
||||
HeaderCommon[] GetHeaderTitles(int? toolTypeId, int? pageNo, int? pageSize, out long totalRecords);
|
||||
long InsertToolDataJSON(JToken jsonbody, long headerId, List<ToolTypeMetadata> metaData, string tableName);
|
||||
DataTable GetHeaders(int toolTypeId, string? startTime, string? endTime, int? pageNo, int? pageSize, long? headerid, out long totalRecords);
|
||||
|
||||
}
|
Reference in New Issue
Block a user