diff --git a/Jenkinsfile b/Jenkinsfile index 891ed1cd..e5c73630 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,7 @@ pipeline { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=1251']) { + withEnv(['NEXT_BUILD_NUMBER=1252']) { // env.versionNumber = VersionNumber(versionNumberString : '6.8.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '6.8.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'MAPO' @@ -148,7 +148,7 @@ pipeline { // BUILD! bat "\"${tool 'MSBuild-16.0'}\" MapoSDK\\MapoSDK.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /m" // creo package NuGet... con version in modo da fare ANCHE le beta - bat "e:\\nuget.exe pack ${WORKSPACE}\\MapoSDK\\MapoSDK.csproj -properties Configuration=${env.config} -Version ${env.packVers}" + bat "e:\\nuget.exe pack ${WORKSPACE}\\MapoSDK\\MapoSDK.csproj -properties Configuration=${env.config} -Description=\"SDK per comunicazione con sistemi MAPO\" -Version ${env.packVers}" // lancio upload con nuget! echo 'Start upload with nuget push' diff --git a/MapoSDK/Enums.cs b/MapoSDK/Enums.cs index 539e83f5..350927ef 100644 --- a/MapoSDK/Enums.cs +++ b/MapoSDK/Enums.cs @@ -80,10 +80,18 @@ /// setComm, /// + /// Set di un PARAMETRO su PLC (in value avremo un JSON object) + /// + setParameter, + /// /// Set Programma CNC su PLC /// setProg, /// + /// Indica al PLC di impostare il numero di pezzi da produrre per la commessa (impostato come value) + /// + setPzComm, + /// /// Indica al PLC iniziato setup (e secondo casi ferma contapezzi /resetta) /// startSetup, diff --git a/MapoSDK/Objects.cs b/MapoSDK/Objects.cs index 202eb328..c8620773 100644 --- a/MapoSDK/Objects.cs +++ b/MapoSDK/Objects.cs @@ -159,9 +159,6 @@ namespace MapoSDK #endregion - - - #if false /// /// Classe definizione parametri singolo ordine produzione