2023-02-16 12:57:06 +00:00
|
|
|
using InnovEnergy.Lib.Devices.Trumpf.TruConvert;
|
2023-02-23 12:45:09 +00:00
|
|
|
using InnovEnergy.Lib.StatusApi.Connections;
|
|
|
|
using InnovEnergy.Lib.StatusApi.Devices;
|
2023-02-16 12:57:06 +00:00
|
|
|
|
|
|
|
namespace InnovEnergy.Lib.Devices.Trumpf.TruConvertDc;
|
|
|
|
|
|
|
|
using AlarmMessages = IReadOnlyList<AlarmMessage>;
|
|
|
|
using WarningMessages = IReadOnlyList<WarningMessage>;
|
|
|
|
using DcCurrentLimitStates = IReadOnlyList<DcCurrentLimitState>;
|
|
|
|
|
2023-02-23 12:45:09 +00:00
|
|
|
public record TruConvertDcStatus
|
|
|
|
(
|
|
|
|
DcConnection Dc,
|
|
|
|
MainState MainState,
|
|
|
|
UInt16 NumberOfConnectedSlaves,
|
|
|
|
UInt16 NumberOfConnectedSubSlaves,
|
|
|
|
Decimal BatteryVoltage,
|
|
|
|
Decimal BatteryCurrent,
|
|
|
|
Decimal TotalDcPower,
|
|
|
|
DcCurrentLimitStates StatusOfCurrentLimiting,
|
|
|
|
Decimal OverloadCapacity,
|
|
|
|
Decimal DcDcInletTemperature,
|
|
|
|
AlarmMessages Alarms,
|
|
|
|
WarningMessages Warnings,
|
|
|
|
Boolean PowerOperation
|
|
|
|
):DcDevice(Dc)
|
|
|
|
{}
|