2023-03-09 11:40:47 +00:00
|
|
|
namespace InnovEnergy.Lib.Devices.AMPT;
|
|
|
|
|
2023-06-27 11:14:17 +00:00
|
|
|
|
|
|
|
// not used ATM
|
2023-05-06 13:41:20 +00:00
|
|
|
public class AmptCommunicationUnitStatus
|
2023-03-09 11:40:47 +00:00
|
|
|
{
|
2023-06-27 11:14:17 +00:00
|
|
|
public required UInt32 Sid { get; init; } // A well-known value 0x53756e53, uniquely identifies this as a SunSpec Modbus Map
|
|
|
|
public required UInt16 IdSunSpec { get; init; } // A well-known value 1, uniquely identifies this as a SunSpec Common Model
|
2023-03-09 11:40:47 +00:00
|
|
|
|
2023-06-27 11:14:17 +00:00
|
|
|
public required String Manufacturer { get; init; } // A well-known value registered with SunSpec for compliance: "Ampt"
|
|
|
|
public required String Model { get; init; } // Manufacturer specific value "Communication Unit"
|
|
|
|
public required String Version { get; init; } // Software Version
|
|
|
|
public required String SerialNumber { get; init; } // Manufacturer specific value
|
|
|
|
public required Int16 DeviceAddress { get; init; } // Modbus Device ID
|
|
|
|
public required UInt16 IdVendor { get; init; } // Ampt SunSpec Vendor Code 64050
|
2023-03-09 11:40:47 +00:00
|
|
|
|
2023-06-27 11:14:17 +00:00
|
|
|
public required IReadOnlyList<AmptStatus> Devices { get; init; }
|
2023-03-09 11:40:47 +00:00
|
|
|
}
|