Expose error message using ProducesResponseType
This commit is contained in:
@ -3,6 +3,13 @@ namespace OI.Metrology.Shared.DataModels;
|
||||
public record WaferCounter(DateTime DateTime,
|
||||
string DateTimeFormatted,
|
||||
string EquipmentId,
|
||||
string Message,
|
||||
string Text,
|
||||
int Total,
|
||||
string SlotMap);
|
||||
string SlotMap)
|
||||
{
|
||||
|
||||
public static WaferCounter GetWaferCounter(string message) =>
|
||||
new(DateTime.MinValue, string.Empty, string.Empty, message, string.Empty, 0, string.Empty);
|
||||
|
||||
}
|
@ -4,6 +4,6 @@ public interface IWaferCounterRepository
|
||||
{
|
||||
|
||||
string? GetSlotMap(string line1, string line2);
|
||||
DataModels.WaferCounter GetLastQuantityAndSlotMap(string area, string waferSize);
|
||||
DataModels.WaferCounter? GetLastQuantityAndSlotMap(string area, string waferSize);
|
||||
|
||||
}
|
Reference in New Issue
Block a user