namespace InnovEnergy.Lib.Devices.Trumpf.TruConvertAc.Control;

public class AcDcControl
{
    public AcControl Ac => new (_Self);
    public DcControl Dc => new (_Self);
    
    public Boolean PowerStageEnable
    {
        get => _Self.PowerStageEnable;
        set => _Self.PowerStageEnable = value;
    }

    public Boolean ResetAlarmsAndWarnings
    {
        get => _Self.ResetAlarmsAndWarnings;
        set => _Self.ResetAlarmsAndWarnings = value;
    }

    internal AcDcControl(AcDcRecord self) => _Self = self;
    private readonly AcDcRecord _Self;
}