From d1e56ba63f6d1d30b741acbefa50aa40cd208427 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 17 Mar 2021 07:46:15 +0000 Subject: [PATCH] Integration 2.3c3 : - migliorato controllo dati macchina. --- IntegrationEgaltech/Generator.cs | 6 ++++++ IntegrationEgaltech/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/IntegrationEgaltech/Generator.cs b/IntegrationEgaltech/Generator.cs index cde67fd..7ad06bb 100644 --- a/IntegrationEgaltech/Generator.cs +++ b/IntegrationEgaltech/Generator.cs @@ -1284,6 +1284,8 @@ namespace ib.essetre.integration.egaltech foreach ( DataRow row in table.Rows) { String Key = row["key"].ToString() ; String Value = row["value"].ToString() ; + if ( string.IsNullOrWhiteSpace( Value)) + Value = "0" ; tw.WriteLine( " " + Key + "=" + Value + ",") ; } } @@ -1297,6 +1299,8 @@ namespace ib.essetre.integration.egaltech foreach ( DataRow row in table.Rows) { String Key = row["key"].ToString() ; String Value = row["value"].ToString() ; + if ( string.IsNullOrWhiteSpace( Value)) + Value = "0" ; tw.WriteLine( " " + Key + "=" + Value + ",") ; } } @@ -1313,6 +1317,8 @@ namespace ib.essetre.integration.egaltech String Group = row["group"].ToString(); String Key = row["key"].ToString(); String Value = row["value"].ToString(); + if ( string.IsNullOrWhiteSpace( Value)) + Value = "0" ; tw.WriteLine(" " + Group + "_" + Key + "=" + Value + ","); } } diff --git a/IntegrationEgaltech/Properties/AssemblyInfo.cs b/IntegrationEgaltech/Properties/AssemblyInfo.cs index 993560f..42897b1 100644 --- a/IntegrationEgaltech/Properties/AssemblyInfo.cs +++ b/IntegrationEgaltech/Properties/AssemblyInfo.cs @@ -36,5 +36,5 @@ using System.Runtime.InteropServices; // È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build // usando l'asterisco '*' come illustrato di seguito: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.3.3.2")] -[assembly: AssemblyFileVersion("2.3.3.2")] +[assembly: AssemblyVersion("2.3.3.3")] +[assembly: AssemblyFileVersion("2.3.3.3")]