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.
29 lines
890 B
C#
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;
|
|
}
|
|
}
|