namespace ZB.MOM.WW.ScadaBridge.NotificationService; /// /// Configuration options for the Notification Service, bound from the /// ScadaBridge:Notification configuration section. /// /// SMTP settings are primarily carried by the deployed SmtpConfiguration /// entity. NS-017: these values are the fallback used by the central /// Notification Outbox's EmailNotificationDeliveryAdapter when the /// corresponding SmtpConfiguration field is left unset (non-positive) on a /// partially deployed row — a value present on the row always takes precedence. /// public class NotificationOptions { /// /// Connection timeout (seconds) used when SmtpConfiguration.ConnectionTimeoutSeconds /// is unset. Default 30s. /// public int ConnectionTimeoutSeconds { get; set; } = 30; /// /// Maximum concurrent SMTP connections used when /// SmtpConfiguration.MaxConcurrentConnections is unset. Default 5. /// public int MaxConcurrentConnections { get; set; } = 5; }