namespace ZB.MOM.WW.ScadaBridge.DelmiaNotifier;
/// Root of appsettings.json; mirrors the ScadaBridge section only.
internal sealed class NotifierConfig
{
/// The ScadaBridge configuration section (base URLs, timeout, log path).
public ScadaBridgeSection ScadaBridge { get; set; } = new();
}
internal sealed class ScadaBridgeSection
{
/// Comma-separated failover list of base URLs (the method path is appended by the app).
public string? BaseUrls { get; set; }
/// Per-attempt HTTP timeout in seconds.
public int TimeoutSeconds { get; set; } = 30;
/// Optional diagnostic log file (relative to the exe); null/omitted → stderr only.
public string? LogPath { get; set; }
}