Integration 2.1i1 :

- si recupera programma CN anche con modalità SHOWUI
- in BTL si scrive anche il PatternId.
This commit is contained in:
Dario Sassi
2019-09-19 06:25:00 +00:00
parent 9d1aa2fab9
commit 8147d86f82
3 changed files with 6 additions and 4 deletions
+1
View File
@@ -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 + "\"") ;
+3 -2
View File
@@ -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)) {
@@ -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")]