Bump
AzureDevOpsRepository Markdown links Ticks bug fix, default to *.wc files and formatting
This commit is contained in:
17
Shared/Models/PollValue.cs
Normal file
17
Shared/Models/PollValue.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace OI.Metrology.Shared.Models;
|
||||
|
||||
public record PollValue(string? Json,
|
||||
[property: JsonPropertyName("id")] int? Id,
|
||||
[property: JsonPropertyName("page")] string? Page,
|
||||
string? QueryString,
|
||||
string? RemoteIpAddress,
|
||||
[property: JsonPropertyName("time")] long? Time,
|
||||
[property: JsonPropertyName("value")] int? Value);
|
||||
|
||||
[JsonSourceGenerationOptions(WriteIndented = true, NumberHandling = JsonNumberHandling.AllowReadingFromString)]
|
||||
[JsonSerializable(typeof(PollValue))]
|
||||
public partial class PollValueSourceGenerationContext : JsonSerializerContext
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user