using GeneralData;

namespace Mini8CommunicatorData;


public class Mini8Output
{
    public byte ChannelIndex { get; set; }
    public DateTime CollectTime { get; set; }
    public float PV { get; set; }
    public float WorkingOutput { get; set; }
    public AutoTuneStatus AutoTuneStatus { get; set; }

    public float AutoTune_P { get; set; }
    public float AutoTune_I { get; set; }
    public float AutoTune_D { get; set; }

    public TcBorken SensorBreakAlarm { get; set; }

    public float SetPoint { get; set; }

    public ActiveTuneSet ActiveTuneSet { get; set; }

    public float Running_P { get; set; }
    public float Running_I { get; set; }
    public float Running_D { get; set; }

    public Inhibit Inhibit { get; set; }

    public float SetpointUpRate { get; set; }
    public float SetpointDownRate { get; set; }

    public AutotuneActive AutotuneActive { get; set; }
}

public class Mini8Limit
{
    public ushort Caps { get; set; }
    public ushort Floor { get; set; }
    public ushort CapsWarning { get; set; }
    public ushort FloorWarning { get; set; }
}

public class Mini8Input
{
    //To Config Setting
    public float Caps { get; set; }
    public float Floor { get; set; }
    public float CapsWarning { get; set; }
    public float FloorWarning { get; set; }
    public int DelayMillionSeconds { get; set; }

    public float SetPoint { get; set; }
    public float Running_P { get; set; }
    public float Running_I { get; set; }
    public float Running_D { get; set; }
    public float SetpointUpRate { get; set; }
    public float SetpointDownRate { get; set; }
}