Files
Mapo-IOB-WIN/IOB-UT-NEXT/Config/Base/ConnectionDto.cs
T
2025-03-06 17:01:07 +01:00

46 lines
1.2 KiB
C#

using IOB_UT_NEXT.Config.Special;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IOB_UT_NEXT.Config.Base
{
/// <summary>
/// Definizione parametri Macchina / CN / PLC
/// </summary>
public class ConnectionDto
{
/// <summary>
/// Indirizzo Ip del CNC Controllato
/// </summary>
public string IpAddr { get; set; } = "127.0.0.1";
/// <summary>
/// Porta del CNC Controllato
/// </summary>
public string Port { get; set; } = "0";
/// <summary>
/// Indirizzo Ip destinato ai ping (quando diverso dall'IP principale)
/// </summary>
public string PingIpAddr { get; set; } = "127.0.0.1";
/// <summary>
/// Timeout test PING
/// </summary>
public int PingMsTimeout { get; set; } = 500;
/// <summary>
/// Numero massimo di PING da eseguire (es OPC-UA)
/// </summary>
public int MaxTryPing { get; set; } = 3;
/// <summary>
/// Abilitazione riavvio automatico/autonomo client
/// </summary>
public bool EnableRestart { get; set; } = false;
}
}