16 lines
1.1 KiB
C#
16 lines
1.1 KiB
C#
namespace InnovEnergy.Lib.Devices.AMPT;
|
|
|
|
public record AmptCommunicationUnitStatus
|
|
{
|
|
public UInt32 Sid { get; init; } // A well-known value 0x53756e53, uniquely identifies this as a SunSpec Modbus Map
|
|
public UInt16 IdSunSpec { get; init; } // A well-known value 1, uniquely identifies this as a SunSpec Common Model
|
|
|
|
public String Manufacturer { get; init; } = "undefined"; // A well-known value registered with SunSpec for compliance: "Ampt"
|
|
public String Model { get; init; } = "undefined"; // Manufacturer specific value "Communication Unit"
|
|
public String Version { get; init; } = "undefined"; // Software Version
|
|
public String SerialNumber { get; init; } = "undefined"; // Manufacturer specific value
|
|
public Int16 DeviceAddress { get; init; } // Modbus Device ID
|
|
public UInt16 IdVendor { get; init; } // Ampt SunSpec Vendor Code 64050
|
|
|
|
public IReadOnlyList<AmptStatus> Devices { get; init; } = Array.Empty<AmptStatus>();
|
|
} |