diff --git a/IOB-WIN/IobSiemens.cs b/IOB-WIN/IobSiemens.cs index 7cbe8ae1..aae391cf 100644 --- a/IOB-WIN/IobSiemens.cs +++ b/IOB-WIN/IobSiemens.cs @@ -6,6 +6,7 @@ using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.NetworkInformation; +using System.Threading; namespace IOB_WIN { @@ -306,6 +307,10 @@ namespace IOB_WIN lgError(exc, "Errore in INIT PLC S7+"); } } + else + { + Thread.Sleep(utils.CRI("pauseSendMSec")); + } parentForm.commPlcActive = false; // carico conf vettore memoria... loadMemConf(); diff --git a/Jenkinsfile b/Jenkinsfile index 03b02395..85bca810 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,7 @@ pipeline { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=400']) { + withEnv(['NEXT_BUILD_NUMBER=401']) { // env.versionNumber = VersionNumber(versionNumberString : '2.3.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '2.3.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'MAPO-IOB-WIN'