Switch to DataGrid Markdown links Add css for files, leo and mes copySelectedB Logic for other collections monospace Ticks bug fix, default to *.wc files and formatting
17 lines
733 B
C#
17 lines
733 B
C#
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
|
|
{
|
|
} |