From 5581f97e755d070dbe4e69684a7b9ad5709d715c Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 22 Sep 2022 18:24:32 +0200 Subject: [PATCH] =?UTF-8?q?update=20objItem:=20-=20aggiunto=20description?= =?UTF-8?q?=20oltre=20a=20nome=20-=20fatto=20x=20evitare=20ambiguit=C3=A0?= =?UTF-8?q?=20scrittura=20parametri?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MapoSDK/Objects.cs | 58 ++++++++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 25 deletions(-) diff --git a/MapoSDK/Objects.cs b/MapoSDK/Objects.cs index 7da35324..9ce89594 100644 --- a/MapoSDK/Objects.cs +++ b/MapoSDK/Objects.cs @@ -151,22 +151,7 @@ namespace MapoSDK /// public class BaseRawTransf { - #region Public Properties - - /// - /// Data-Ora riferimento (x ordinamento fifo) - /// - public DateTime dataRif { get; set; } = DateTime.Now; - - /// - /// Messaggio in modalità raw/stringa - /// - public JObject mesContent { get; set; } = new JObject(); - - /// - /// Tipo di messaggio trasmesso - /// - public rawTransfType mesType { get; set; } = rawTransfType.ND; + #region Public Constructors /// /// Costruttore senza parametri @@ -191,18 +176,24 @@ namespace MapoSDK this.mesType = mesType; } - #endregion Public Properties - } + #endregion Public Constructors - - /// - /// Array valori tipo BaseRawTransf inviati come JSon - /// - public class rawTransfJsonPayload - { #region Public Properties - public List rawTransfData { get; set; } + /// + /// Data-Ora riferimento (x ordinamento fifo) + /// + public DateTime dataRif { get; set; } = DateTime.Now; + + /// + /// Messaggio in modalità raw/stringa + /// + public JObject mesContent { get; set; } = new JObject(); + + /// + /// Tipo di messaggio trasmesso + /// + public rawTransfType mesType { get; set; } = rawTransfType.ND; #endregion Public Properties } @@ -385,6 +376,11 @@ namespace MapoSDK { #region Public Properties + /// + /// DESCRIZIONE item + /// + public string description { get; set; } = ""; + /// /// Ultimo messaggio associato (conferma scrittura, errore, ...) /// @@ -488,6 +484,18 @@ namespace MapoSDK #endregion Public Properties } + /// + /// Array valori tipo BaseRawTransf inviati come JSon + /// + public class rawTransfJsonPayload + { + #region Public Properties + + public List rawTransfData { get; set; } + + #endregion Public Properties + } + public class StCheckOverride { #region Public Properties