56 lines
1.6 KiB
C#
56 lines
1.6 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>
|
|
/// Indica se sia multi pallet
|
|
/// </summary>
|
|
public bool IsMulti { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// Indica se si voglia recuperare il PROG NAME dal CNC
|
|
/// </summary>
|
|
public bool GetProgName { get; set; } = false;
|
|
|
|
/// <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 MemoryDto MemoryConf { get; set; }
|
|
|
|
/// <summary>
|
|
/// Configurazione specifica Siemens (se applicabile)
|
|
/// </summary>
|
|
public SiemensDto SiemensConf { get; set; }
|
|
}
|
|
}
|