Add MaxBattery Charging and Discharging current in Current Control

This commit is contained in:
atef 2023-08-02 11:05:56 +02:00
parent f9193f4624
commit 43fb714a2a
1 changed files with 13 additions and 0 deletions

View File

@ -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;