Files
Mapo-IOB-WIN/IOB-UT-NEXT/Config/Base/DeviceDto.cs
T
Samuele Locatelli fff0036e5e FANUC:
- completo modifica comportamento INIT
- riorganizzazione aree memoria Fanuc/Mitsubishi
2025-02-28 08:38:18 +01:00

79 lines
2.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>
/// 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 EnabProgName { get; set; } = false;
/// <summary>
/// Dati configurazione CNC
/// </summary>
public ConnectionDto Connect { get; set; } = new ConnectionDto();
/// <summary>
/// Indica che sono disabilitati i Task2Exe (tipicamente gestione scrittura verso PLC)
/// </summary>
public bool DisabExeTask { get; set; } = false;
/// <summary>
/// Indica che sono disabilitate le fasi controllo stato/semafori (tipicamente x impianti
/// con PLC "suddivisi", PLC + HMI)
/// </summary>
public bool DisabStateCh { get; set; } = false;
/// <summary>
/// Abilitazione gestione contatori
/// </summary>
public bool EnabPzCount { get; set; } = true;
/// <summary>
/// Indica se usare la parte numerica di un articolo come codice INT
/// </summary>
public bool NumArtCharTrim { get; set; } = false;
/// <summary>
/// Delay prima di iniziare a gestire il contapezzi, per evitare falsi zeri in inizializzazione sw
/// </summary>
public int PzCountDelay { get; set; } = 2000;
/// <summary>
/// Modalità gestione contapezzi
/// </summary>
public string PzCountMode { get; set; } = "";
/// <summary>
/// Configurazione SigLUT con regole decodifica valori (es FANUC/Siemens con BIT0...BIT7...)
/// </summary>
public Dictionary<string, string> SigLUT { get; set; } = new Dictionary<string, string>();
}
}