Files
scadalink-design/deprecated/lmxproxy/src-reference/ZB.MOM.WW.LmxProxy.Host/Configuration/ServiceRecoveryConfiguration.cs
Joseph Doherty 9dccf8e72f deprecate(lmxproxy): move all LmxProxy code, tests, and docs to deprecated/
LmxProxy is no longer needed. Moved the entire lmxproxy/ workspace, DCL
adapter files, and related docs to deprecated/. Removed LmxProxy registration
from DataConnectionFactory, project reference from DCL, protocol option from
UI, and cleaned up all requirement docs.
2026-04-08 15:56:23 -04:00

29 lines
890 B
C#

namespace ZB.MOM.WW.LmxProxy.Host.Configuration
{
/// <summary>
/// Configuration for Windows service recovery
/// </summary>
public class ServiceRecoveryConfiguration
{
/// <summary>
/// Minutes to wait before restart on first failure
/// </summary>
public int FirstFailureDelayMinutes { get; set; } = 1;
/// <summary>
/// Minutes to wait before restart on second failure
/// </summary>
public int SecondFailureDelayMinutes { get; set; } = 5;
/// <summary>
/// Minutes to wait before restart on subsequent failures
/// </summary>
public int SubsequentFailureDelayMinutes { get; set; } = 10;
/// <summary>
/// Days before resetting the failure count
/// </summary>
public int ResetPeriodDays { get; set; } = 1;
}
}