From 3e3fc3cd88e737797fa5785bc920ba9cc6b4ea52 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 6 Dec 2019 08:47:50 +0100 Subject: [PATCH] Typo FIX! --- IOB-WIN/IobSiemens.cs | 6 ++---- Jenkinsfile | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/IOB-WIN/IobSiemens.cs b/IOB-WIN/IobSiemens.cs index ad705b39..32d6b76e 100644 --- a/IOB-WIN/IobSiemens.cs +++ b/IOB-WIN/IobSiemens.cs @@ -256,7 +256,6 @@ namespace IOB_WIN { try { - byte[] stringPar = new byte[2]; short valInt = 0; short.TryParse(valore, out valInt); byte[] strByte = S7.Net.Types.Int.ToByteArray(valInt); @@ -300,7 +299,6 @@ namespace IOB_WIN { try { - byte[] stringPar = new byte[4]; int valInt = 0; int.TryParse(valore, out valInt); byte[] strByte = S7.Net.Types.DInt.ToByteArray(valInt); @@ -354,7 +352,7 @@ namespace IOB_WIN } catch (Exception exc) { - lgError($"Errore in gestione scrittura DINT {valore} alla posizione {startPos} byte{Environment.NewLine}{exc}"); + lgError($"Errore in gestione scrittura Word {valore} alla posizione {startPos} byte{Environment.NewLine}{exc}"); } } /// @@ -398,7 +396,7 @@ namespace IOB_WIN } catch (Exception exc) { - lgError($"Errore in gestione scrittura DINT {valore} alla posizione {startPos} byte{Environment.NewLine}{exc}"); + lgError($"Errore in gestione scrittura DWord {valore} alla posizione {startPos} byte{Environment.NewLine}{exc}"); } } /// diff --git a/Jenkinsfile b/Jenkinsfile index 377c52d0..3c89a78c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,7 @@ pipeline { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=582']) { + withEnv(['NEXT_BUILD_NUMBER=583']) { // env.versionNumber = VersionNumber(versionNumberString : '2.6.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '2.6.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'MAPO-IOB-WIN'