Separated Wafer-Counter

JsonElement instead of Request body
Attachment Class
Bump
Ready to test GetLastGroupIdWithValue
Changed to v4
This commit is contained in:
2024-05-21 12:40:20 -07:00
parent 5c9f0d1aff
commit 6317c385f6
38 changed files with 1231 additions and 476 deletions

View File

@ -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);
}