27 lines
1.6 KiB
C#
27 lines
1.6 KiB
C#
|
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; }
|
||
|
|
||
|
}
|