Files
infineon_cs_hmi/ads-wrapper/AdsSettings.cs
2026-02-11 08:38:36 +01:00

28 lines
733 B
C#

namespace Heisig.HMI.AdsManager;
/// <summary>
/// Struct with the settings for connecting to the ads server
/// </summary>
public class AdsSettings
{
/// <summary>
/// Ads server address
/// </summary>
public string AdsAdress { get; set; } = "127.0.0.1.1.1";
/// <summary>
/// Ads server port
/// </summary>
public int AdsPort { get; set; } = 851;
/// <summary>
/// Intervall for reconnect tries
/// </summary>
public int ReconnectIntervalMS { get; set; } = 2000;
/// <summary>
/// Variable name for which contains the online change counter
/// </summary>
public string OnlineChangeCntVar { get; set; } = "TWinCAT_SystemInfoVarList._AppInfo.OnlineChangeCnt";
}