2023-03-01 09:53:34 +00:00
|
|
|
using InnovEnergy.Lib.StatusApi;
|
2023-02-23 12:45:09 +00:00
|
|
|
using InnovEnergy.Lib.StatusApi.Connections;
|
|
|
|
|
2023-02-25 14:53:58 +00:00
|
|
|
namespace InnovEnergy.Lib.Devices.AMPT;
|
2023-02-16 12:57:06 +00:00
|
|
|
|
|
|
|
public record AmptDeviceStatus
|
2023-02-23 12:45:09 +00:00
|
|
|
(
|
|
|
|
DcConnection Dc,
|
|
|
|
// UInt16 NbrOfStrings,
|
|
|
|
Int16 DeviceId, // The string number
|
|
|
|
UInt32 Timestamp, // The UTC timestamp of the measurements
|
|
|
|
Decimal ProductionToday, // converted to kW in AmptCU class
|
|
|
|
IReadOnlyList<DcConnection> Strings
|
2023-03-01 09:53:34 +00:00
|
|
|
): MpptStatus(Dc, Strings)
|
2023-02-23 12:45:09 +00:00
|
|
|
{}
|