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

33 lines
856 B
C#

using InnovEnergy.Lib.Units;
namespace InnovEnergy.Lib.Devices.Trumpf.TruConvertDc.Control;
public class DroopControl
{
public Voltage ReferenceVoltage
{
get => _Self.DroopControlReferenceVoltage;
set => _Self.DroopControlReferenceVoltage = value.Value;
}
public Voltage LowerVoltage
{
get => _Self.DroopControlLowerVoltage;
set => _Self.DroopControlLowerVoltage = value.Value;
}
public Voltage UpperVoltage
{
get => _Self.DroopControlUpperVoltage;
set => _Self.DroopControlUpperVoltage = value.Value;
}
public Voltage VoltageDeadband
{
get => _Self.DroopControlVoltageDeadband;
set => _Self.DroopControlVoltageDeadband = value.Value;
}
private readonly DcDcRecord _Self;
internal DroopControl(DcDcRecord self) => _Self = self;
};