namespace ZB.MOM.WW.LmxProxy.Host.Configuration
{
    /// <summary>Windows SCM service recovery settings.</summary>
    public class ServiceRecoveryConfiguration
    {
        /// <summary>Restart delay after first failure in minutes. Default: 1.</summary>
        public int FirstFailureDelayMinutes { get; set; } = 1;

        /// <summary>Restart delay after second failure in minutes. Default: 5.</summary>
        public int SecondFailureDelayMinutes { get; set; } = 5;

        /// <summary>Restart delay after subsequent failures in minutes. Default: 10.</summary>
        public int SubsequentFailureDelayMinutes { get; set; } = 10;

        /// <summary>Days before failure count resets. Default: 1.</summary>
        public int ResetPeriodDays { get; set; } = 1;
    }
}
