Innovenergy_trunk/csharp/lib/Devices/AMPT/AmptDeviceStatus.cs

14 lines
832 B
C#

namespace InnovEnergy.Lib.Devices.Ampt;
public record AmptDeviceStatus
{
internal const UInt16 NbrOfStrings = 2;
public Int16 DeviceId { get; init; } // The string number
public UInt32 Timestamp { get; init; } // The UTC timestamp of the measurements
public Decimal Current { get; init; } // String output current in mA
public Decimal Voltage { get; init; } // String output voltage in mV
public Decimal ProductionToday { get; init; } // converted to kW in AmptCU class
public IReadOnlyList<AmptStringStatus> Strings { get; init; } = null!;
}