46 lines
1.3 KiB
C#
46 lines
1.3 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>
|
|
/// Dati espliciti relativi al device di riferimento
|
|
/// </summary>
|
|
public class DeviceDto
|
|
{
|
|
/// <summary>
|
|
/// Costruttore
|
|
/// </summary>
|
|
public string Vendor { get; set; } = "ACME";
|
|
|
|
/// <summary>
|
|
/// Codice modello
|
|
/// </summary>
|
|
public string Model { get; set; } = "NONE";
|
|
|
|
/// <summary>
|
|
/// Dati configurazione CNC
|
|
/// </summary>
|
|
public ConnectionDto ConnectConf { get; set; } = new ConnectionDto();
|
|
|
|
/// <summary>
|
|
/// Configurazione SignalLUT con regole decodifica valori (es FANUC/Siemens con BIT0...BIT7...)
|
|
/// </summary>
|
|
public Dictionary<string, string> SignalLUT { get; set; } = new Dictionary<string, string>();
|
|
|
|
/// <summary>
|
|
/// Configurazione specifica FANUC (se applicabile)
|
|
/// </summary>
|
|
public FanucDto FanucConf { get; set; }
|
|
|
|
/// <summary>
|
|
/// Configurazione specifica Siemens (se applicabile)
|
|
/// </summary>
|
|
public SiemensDto SiemensConf { get; set; }
|
|
}
|
|
}
|