Innovenergy_trunk/csharp/Lib/Devices/Trumpf/TruConvertDc/Control/CurrentControl.cs

36 lines
880 B
C#
Raw Permalink Normal View History

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