diff --git a/IntegrationEgaltech/BTL.cs b/IntegrationEgaltech/BTL.cs index 83f9534..9c6004e 100644 --- a/IntegrationEgaltech/BTL.cs +++ b/IntegrationEgaltech/BTL.cs @@ -49,6 +49,7 @@ namespace ib.essetre.integration.egaltech tw.WriteLine( Constants.PROJECT_NUMBER + this.projectNumber) ; tw.WriteLine( Constants.SCALE_UNIT + Constants.scaleUnit.ToString()) ; tw.WriteLine( Constants.USERATTRIBUTE + "\"PRODID\":" + "\"" + ( IsFromProject ? 0 : productionId) + "\"") ; + tw.WriteLine( Constants.USERATTRIBUTE + "\"PATTID\":" + "\"" + ( IsFromProject ? 0 : patternId) + "\"") ; barLength = barLength.Replace( ",", ".") ; tw.WriteLine( Constants.USERATTRIBUTE + "\"BARLEN\":" + "\"" + barLength + "\"") ; diff --git a/IntegrationEgaltech/Generator.cs b/IntegrationEgaltech/Generator.cs index 7a784e8..989b291 100644 --- a/IntegrationEgaltech/Generator.cs +++ b/IntegrationEgaltech/Generator.cs @@ -285,8 +285,9 @@ namespace ib.essetre.integration.egaltech } pattInfo.EstimatedTime = nTotTime ; - // Lettura OutputFilename e scrittura nel parametro stringa Iso (solo nel caso UIModes.HIDDEN) - if ( ! bErrors && parameters.UIMode == InOutParameters.UIModes.HIDDEN) { + // Lettura OutputFilename e scrittura nel parametro stringa Iso (casi UIModes.HIDDEN e UIModes.SHOWUI) + if ( ! bErrors && + ( parameters.UIMode == InOutParameters.UIModes.HIDDEN || parameters.UIMode == InOutParameters.UIModes.SHOWUI)) { string CncPath = Path.ChangeExtension( BtlPath, ".cnc") ; if ( File.Exists( CncPath)) { diff --git a/IntegrationEgaltech/Properties/AssemblyInfo.cs b/IntegrationEgaltech/Properties/AssemblyInfo.cs index 3230a53..2dd97ef 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.1.7.8")] -[assembly: AssemblyFileVersion("2.1.7.8")] +[assembly: AssemblyVersion("2.1.9.1")] +[assembly: AssemblyFileVersion("2.1.9.1")]