From 5581f97e755d070dbe4e69684a7b9ad5709d715c Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 22 Sep 2022 18:24:32 +0200 Subject: [PATCH 1/2] =?UTF-8?q?update=20objItem:=20-=20aggiunto=20descript?= =?UTF-8?q?ion=20oltre=20a=20nome=20-=20fatto=20x=20evitare=20ambiguit?= =?UTF-8?q?=C3=A0=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 From a1e9f6a523c44bf7aab4b3efbf598031a9f33b11 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Thu, 22 Sep 2022 18:48:18 +0200 Subject: [PATCH 2/2] Update visualizzazione parametri x TAB --- .../WebUserControls/mod_sendParameters.ascx | 5 +- .../mod_sendParameters.ascx.designer.cs | 64 +++++++++---------- MapoSDK/Objects.cs | 4 +- 3 files changed, 38 insertions(+), 35 deletions(-) diff --git a/MP-TAB/WebUserControls/mod_sendParameters.ascx b/MP-TAB/WebUserControls/mod_sendParameters.ascx index 5124a020..3b99dd40 100644 --- a/MP-TAB/WebUserControls/mod_sendParameters.ascx +++ b/MP-TAB/WebUserControls/mod_sendParameters.ascx @@ -23,7 +23,10 @@
- + +
+
+
diff --git a/MP-TAB/WebUserControls/mod_sendParameters.ascx.designer.cs b/MP-TAB/WebUserControls/mod_sendParameters.ascx.designer.cs index 70c9b206..f93a61a1 100644 --- a/MP-TAB/WebUserControls/mod_sendParameters.ascx.designer.cs +++ b/MP-TAB/WebUserControls/mod_sendParameters.ascx.designer.cs @@ -1,44 +1,44 @@ //------------------------------------------------------------------------------ -// -// Codice generato da uno strumento. +// +// This code was generated by a tool. // -// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se -// il codice viene rigenerato. -// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// //------------------------------------------------------------------------------ namespace MoonProTablet.WebUserControls { - public partial class mod_sendParameters - { + public partial class mod_sendParameters + { - /// - /// Controllo lbtReload. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.LinkButton lbtReload; + /// + /// lbtReload control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.LinkButton lbtReload; - /// - /// Controllo grView. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.GridView grView; + /// + /// grView control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.GridView grView; - /// - /// Controllo ods. - /// - /// - /// Campo generato automaticamente. - /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind. - /// - protected global::System.Web.UI.WebControls.ObjectDataSource ods; - } + /// + /// ods control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.WebControls.ObjectDataSource ods; + } } diff --git a/MapoSDK/Objects.cs b/MapoSDK/Objects.cs index 9ce89594..f0ddf9e0 100644 --- a/MapoSDK/Objects.cs +++ b/MapoSDK/Objects.cs @@ -379,7 +379,7 @@ namespace MapoSDK /// /// DESCRIZIONE item /// - public string description { get; set; } = ""; + public string description { get; set; } = "-"; /// /// Ultimo messaggio associato (conferma scrittura, errore, ...) @@ -399,7 +399,7 @@ namespace MapoSDK /// /// NOME item /// - public string name { get; set; } = ""; + public string name { get; set; } = "."; /// /// Indica il NUOVO valore richiesto x l'item