using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IOB_UT { /// /// Classe gestione configurazione paraemtri MTC /// public class MtcParamConf { /// /// Nome variabile x pezzi FATTI /// public string keyPartCount { get; set; } = ""; /// /// Nome variabile x pezzi RICHIESTI /// public string keyPartReq { get; set; } = ""; /// /// Nome variabile x Codice Articolo /// public string keyPartId { get; set; } = ""; /// /// Nome variabile x NOME PROGRAMMA /// public string keyProgName { get; set; } = ""; /// /// Indica se il ping sia un criterio valido x determinare powerON impianto /// public bool pingAsPowerOn { get; set; } = true; /// /// Nome variabile x RunMode /// public string keyRunMode { get; set; } = ""; /// /// Struttura dati x check condizione PowerOn /// public diCheckCondition condPowerOn { get; set; } /// /// Struttura dati x check condizione LAVORA / Green /// public List condWork { get; set; } /// /// Dictionary dei nomi da cercare come "endsWith" a cui applicare la soglia indicata /// public Dictionary paramsEndThresh { get; set; } /// /// Array degli elementi di traduzione item /// public Dictionary itemTranslation { get; set; } } /// /// Classe per rappresentare oggetti chaive/valore target x controlo condizioni multiple /// public class diCheckCondition { /// /// nome variabile /// public string keyName { get; set; } = ""; /// /// valore target per esito richeisto /// public string targetValue { get; set; } = ""; } }