using InnovEnergy.Lib.Devices.Trumpf.TruConvert; namespace InnovEnergy.Lib.Devices.Trumpf.TruConvertDc; using AlarmMessages = IReadOnlyList; using WarningMessages = IReadOnlyList; using DcCurrentLimitStates = IReadOnlyList; public record TruConvertDcStatus { public MainState MainState { get; init; } public UInt16 NumberOfConnectedSlaves { get; init; } public UInt16 NumberOfConnectedSubSlaves { get; init; } public Decimal BatteryVoltage { get; init; } public Decimal BatteryCurrent { get; init; } public Decimal TotalDcPower { get; init; } public Decimal DcPower { get; init; } public DcCurrentLimitStates StatusOfCurrentLimiting { get; init; } = Array.Empty(); public Decimal OverloadCapacity { get; init; } public Decimal DcLinkVoltage { get; init; } public Decimal DcDcInletTemperature { get; init; } public AlarmMessages Alarms { get; init; } = Array.Empty(); public WarningMessages Warnings { get; init; } = Array.Empty(); public Boolean PowerOperation { get; init; } }