namespace ZB.MOM.WW.ScadaBridge.Commons.Types.DataConnections;

public sealed class OpcUaDeadbandConfig
{
    /// <summary>Gets or sets the OPC UA deadband type (Absolute or Percent).</summary>
    public OpcUaDeadbandType Type { get; set; } = OpcUaDeadbandType.Absolute;
    /// <summary>Gets or sets the deadband threshold value; meaning depends on <see cref="Type"/>.</summary>
    public double Value { get; set; } = 0.0;
}
