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

@ -16,6 +16,19 @@ public class CurrentControl
set => _Self.MaxCurrentChangePerMs = value.Value; 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; private readonly DcDcRecord _Self;
internal CurrentControl(DcDcRecord self) => _Self = self; internal CurrentControl(DcDcRecord self) => _Self = self;
} }