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
{
///
/// Definizione parametri Macchina / CN / PLC
///
public class ConnectionDto
{
///
/// Indirizzo Ip del CNC Controllato
///
public string IpAddr { get; set; } = "127.0.0.1";
///
/// Porta del CNC Controllato
///
public string Port { get; set; } = "0";
///
/// Indirizzo Ip destinato ai ping (quando diverso dall'IP principale)
///
public string PingIpAddr { get; set; } = "127.0.0.1";
///
/// Timeout test PING
///
public int PingMsTimeout { get; set; } = 500;
///
/// Numero massimo di PING da eseguire (es OPC-UA)
///
public int MaxTryPing { get; set; } = 3;
///
/// Abilitazione riavvio automatico/autonomo client
///
public bool EnableRestart { get; set; } = false;
}
}