From 43fb714a2a214e162c97cf733177ca40072faba6 Mon Sep 17 00:00:00 2001 From: atef Date: Wed, 2 Aug 2023 11:05:56 +0200 Subject: [PATCH] Add MaxBattery Charging and Discharging current in Current Control --- .../Trumpf/TruConvertDc/Control/CurrentControl.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/csharp/Lib/Devices/Trumpf/TruConvertDc/Control/CurrentControl.cs b/csharp/Lib/Devices/Trumpf/TruConvertDc/Control/CurrentControl.cs index a37303051..152d8a56f 100644 --- a/csharp/Lib/Devices/Trumpf/TruConvertDc/Control/CurrentControl.cs +++ b/csharp/Lib/Devices/Trumpf/TruConvertDc/Control/CurrentControl.cs @@ -15,6 +15,19 @@ public class CurrentControl get => _Self.MaxCurrentChangePerMs; set => _Self.MaxCurrentChangePerMs = value.Value; } + + public Current MaxBatteryChargingCurrent + { + get => _Self.MaxBatteryChargingCurrent; + set => _Self.MaxBatteryChargingCurrent = value.Value; + } + + public Current MaxBatteryDischargingCurrent + { + get => _Self.MaxBatteryDischargingCurrent; + set => _Self.MaxBatteryDischargingCurrent = value.Value; + } + private readonly DcDcRecord _Self; internal CurrentControl(DcDcRecord self) => _Self = self;