7b0b9c7365
Solution + 23 src projects + 26 test projects renamed; folders, csproj, namespaces, and ScadaLinkDbContext/ScadaBridgeDbContext class updated. ActorSystem "scadalink" → "scadabridge", Akka seed-node URLs migrated. SQL roles/logins, LDAP domains, CLI command name, and CLI config dir (~/.scadalink → ~/.scadabridge) also renamed. Build green; 5 Host.Tests fail awaiting SQL login rename in next commit. Pre-existing StaleTagMonitor timing flakes unchanged. Rename script committed at tools/rename-to-scadabridge.sh.
24 lines
1.0 KiB
C#
24 lines
1.0 KiB
C#
namespace ZB.MOM.WW.ScadaBridge.DataConnectionLayer;
|
|
|
|
/// <summary>
|
|
/// Configuration options for the Data Connection Layer.
|
|
/// </summary>
|
|
public class DataConnectionOptions
|
|
{
|
|
/// <summary>Fixed interval between reconnect attempts after disconnect.</summary>
|
|
public TimeSpan ReconnectInterval { get; set; } = TimeSpan.FromSeconds(5);
|
|
|
|
/// <summary>Interval for retrying failed tag path resolution.</summary>
|
|
public TimeSpan TagResolutionRetryInterval { get; set; } = TimeSpan.FromSeconds(10);
|
|
|
|
/// <summary>Timeout for synchronous write operations to devices.</summary>
|
|
public TimeSpan WriteTimeout { get; set; } = TimeSpan.FromSeconds(30);
|
|
|
|
/// <summary>
|
|
/// 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).
|
|
/// </summary>
|
|
public TimeSpan StableConnectionThreshold { get; set; } = TimeSpan.FromSeconds(60);
|
|
}
|