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

33 lines
856 B
C#
Raw Normal View History

2023-06-13 11:01:01 +00:00
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;
};