Add MaxBattery Charging and Discharging current in Current Control
This commit is contained in:
parent
f9193f4624
commit
43fb714a2a
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue