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

23 lines
530 B
C#

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;
}
private readonly DcDcRecord _Self;
internal CurrentControl(DcDcRecord self) => _Self = self;
}