Innovenergy_trunk/csharp/lib/Devices/Trumpf/TruConvertDc/TruConvertDcStatus.cs

27 lines
1.6 KiB
C#
Raw Normal View History

2023-02-16 12:57:06 +00:00
using InnovEnergy.Lib.Devices.Trumpf.TruConvert;
namespace InnovEnergy.Lib.Devices.Trumpf.TruConvertDc;
using AlarmMessages = IReadOnlyList<AlarmMessage>;
using WarningMessages = IReadOnlyList<WarningMessage>;
using DcCurrentLimitStates = IReadOnlyList<DcCurrentLimitState>;
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<DcCurrentLimitState>();
public Decimal OverloadCapacity { get; init; }
public Decimal DcLinkVoltage { get; init; }
public Decimal DcDcInletTemperature { get; init; }
public AlarmMessages Alarms { get; init; } = Array.Empty<AlarmMessage>();
public WarningMessages Warnings { get; init; } = Array.Empty<WarningMessage>();
public Boolean PowerOperation { get; init; }
}