2023-06-13 11:01:01 +00:00
|
|
|
using InnovEnergy.Lib.Units;
|
|
|
|
|
|
|
|
namespace InnovEnergy.Lib.Devices.Trumpf.TruConvertDc.Control;
|
|
|
|
|
|
|
|
public class CurrentControl
|
|
|
|
{
|
|
|
|
public Current CurrentSetpoint
|
|
|
|
{
|
|
|
|
get => _Self.DcDcCurrentSetpoint;
|
|
|
|
set => _Self.DcDcCurrentSetpoint = value.Value;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Current MaxCurrentChangePerMs
|
|
|
|
{
|
|
|
|
get => _Self.MaxCurrentChangePerMs;
|
|
|
|
set => _Self.MaxCurrentChangePerMs = value.Value;
|
|
|
|
}
|
2023-08-02 09:05:56 +00:00
|
|
|
|
|
|
|
public Current MaxBatteryChargingCurrent
|
|
|
|
{
|
|
|
|
get => _Self.MaxBatteryChargingCurrent;
|
|
|
|
set => _Self.MaxBatteryChargingCurrent = value.Value;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Current MaxBatteryDischargingCurrent
|
|
|
|
{
|
|
|
|
get => _Self.MaxBatteryDischargingCurrent;
|
|
|
|
set => _Self.MaxBatteryDischargingCurrent = value.Value;
|
|
|
|
}
|
|
|
|
|
2023-06-13 11:01:01 +00:00
|
|
|
|
|
|
|
private readonly DcDcRecord _Self;
|
|
|
|
internal CurrentControl(DcDcRecord self) => _Self = self;
|
|
|
|
}
|
|
|
|
|