namespace SSPCTester.Devices.Interfaces; /// 一个物理插位的 Modbus 电压、电流测量结果。 public sealed record ChannelMeasurement { public int PhysicalSlot { get; init; } public double Voltage { get; init; } public double Current { get; init; } public ushort VoltageRaw { get; init; } public short CurrentRaw { get; init; } public DateTimeOffset Timestamp { get; init; } public string VoltageQuality { get; init; } = "Good"; public string CurrentQuality { get; init; } = "Good"; }