Tests passed using Mock
This commit is contained in:
24
Shared/DataModels/InfinityQSEventV3.cs
Normal file
24
Shared/DataModels/InfinityQSEventV3.cs
Normal file
@ -0,0 +1,24 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace OI.Metrology.Shared.DataModels;
|
||||
|
||||
public record InfinityQSEventV3([property: JsonPropertyName("ev_evnt")] int EventId,
|
||||
[property: JsonPropertyName("ev_sgtm")] int SubGroupDateTimeId,
|
||||
[property: JsonPropertyName("ev_utc7")] string SubGroupDateTime,
|
||||
[property: JsonPropertyName("pr_name")] string Process,
|
||||
[property: JsonPropertyName("pd_name")] string Part,
|
||||
[property: JsonPropertyName("td_test")] int VariableNumber,
|
||||
[property: JsonPropertyName("td_name")] string Variable,
|
||||
[property: JsonPropertyName("ev_name")] string Name);
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
[JsonSerializable(typeof(InfinityQSEventV3))]
|
||||
public partial class InfinityQSEventV3SourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
}
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
[JsonSerializable(typeof(Result<InfinityQSEventV3[]>))]
|
||||
public partial class ResultInfinityQSEventV3SourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user