namespace ScadaLink.DataConnectionLayer; /// /// Configuration options for the Data Connection Layer. /// public class DataConnectionOptions { /// Fixed interval between reconnect attempts after disconnect. public TimeSpan ReconnectInterval { get; set; } = TimeSpan.FromSeconds(5); /// Interval for retrying failed tag path resolution. public TimeSpan TagResolutionRetryInterval { get; set; } = TimeSpan.FromSeconds(10); /// Timeout for synchronous write operations to devices. public TimeSpan WriteTimeout { get; set; } = TimeSpan.FromSeconds(30); /// /// Minimum time a connection must stay up before it is considered stable. /// If a connection drops before this threshold, it counts as an unstable /// disconnect toward the failover retry count (DataConnectionLayer-009). /// public TimeSpan StableConnectionThreshold { get; set; } = TimeSpan.FromSeconds(60); }