Initial Push
This commit is contained in:
27
ads-wrapper/AdsSettings.cs
Normal file
27
ads-wrapper/AdsSettings.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
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";
|
||||
}
|
||||
Reference in New Issue
Block a user