diff --git a/IntegrationEgaltech/Generator.cs b/IntegrationEgaltech/Generator.cs index 9a6b26f..d2e98d9 100644 --- a/IntegrationEgaltech/Generator.cs +++ b/IntegrationEgaltech/Generator.cs @@ -250,8 +250,8 @@ namespace ib.essetre.integration.egaltech for ( int ltc = 0; ltc < listaTasksCount; ltc++) { if ( (int)ds.Tables[i].Rows[ltc]["cutId"] == ListaCutParts[c]) { - readPart.singleMemberNumber = ds.Tables[i].Rows[ltc]["productionId"].ToString(); - readPart.count = Convert.ToString(1); // Deve essere 1 o tanto quante sono le Part? + readPart.singleMemberNumber = ds.Tables[i].Rows[ltc]["cutId"].ToString(); + readPart.count = Convert.ToString(1); readPart.length = ds.Tables[i].Rows[ltc]["length"].ToString(); readPart.height = ds.Tables[i].Rows[ltc]["height"].ToString(); readPart.width = ds.Tables[i].Rows[ltc]["width"].ToString(); @@ -364,8 +364,8 @@ namespace ib.essetre.integration.egaltech for ( int ltc = 0; ltc < listaProcessesCount; ltc++) { if ( (int)ds.Tables[i].Rows[ltc]["cutId"] == ListaCutParts[c]) { - readPart.singleMemberNumber = " "; // ds.Tables[0].Rows[ltc]["productionId"].ToString(); //In questo caso ci vuole? - readPart.count = Convert.ToString(1); // Deve essere 1 o tanto quante sono le Part? + readPart.singleMemberNumber = ds.Tables[i].Rows[ltc]["ElementId"].ToString(); + readPart.count = Convert.ToString(1); readPart.length = ds.Tables[i].Rows[ltc]["length"].ToString(); readPart.height = ds.Tables[i].Rows[ltc]["height"].ToString(); readPart.width = ds.Tables[i].Rows[ltc]["width"].ToString(); diff --git a/IntegrationEgaltech/IntegrationEgaltech.csproj b/IntegrationEgaltech/IntegrationEgaltech.csproj index 8f78775..fda1a5f 100644 --- a/IntegrationEgaltech/IntegrationEgaltech.csproj +++ b/IntegrationEgaltech/IntegrationEgaltech.csproj @@ -58,4 +58,8 @@ + + copy "$(TargetPath)" "c:\TechnoEssetre7\ib.essetre.integration.egaltech.dll" +IF "$(ConfigurationName)" == "Debug" copy "$(TargetDir)$(TargetName).pdb" "c:\TechnoEssetre7\ib.essetre.integration.egaltech.pdb" + \ No newline at end of file diff --git a/IntegrationEgaltech/Properties/AssemblyInfo.cs b/IntegrationEgaltech/Properties/AssemblyInfo.cs index 5467c21..2d829fc 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.2.1")] -[assembly: AssemblyFileVersion("2.1.2.1")] +[assembly: AssemblyVersion("2.1.2.2")] +[assembly: AssemblyFileVersion("2.1.2.2")]