From bc3048e15c33cb7777c30dbe3b53a768959b7708 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Tue, 26 Feb 2019 16:14:16 +0100 Subject: [PATCH] update init del veto alarm (0 + 0 |000) --- Jenkinsfile | 2 +- MTC_Adapter/OPC-UA-REDIS/AdapterRed.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6ba01f1..c9e9ab1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,7 @@ pipeline { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=382']) { + withEnv(['NEXT_BUILD_NUMBER=383']) { // env.versionNumber = VersionNumber(versionNumberString : '2.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '2.0.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.APP_NAME = 'SCMA' diff --git a/MTC_Adapter/OPC-UA-REDIS/AdapterRed.cs b/MTC_Adapter/OPC-UA-REDIS/AdapterRed.cs index 9ae1af0..73ac4cd 100644 --- a/MTC_Adapter/OPC-UA-REDIS/AdapterRed.cs +++ b/MTC_Adapter/OPC-UA-REDIS/AdapterRed.cs @@ -538,15 +538,15 @@ namespace OPC_UA_REDIS // imposto VETO hashKey = vetoHash("Cnc:Condition"); - hashVal = "0"; + hashVal = "0,0|000"; redUtil.man.redFlushKey(hashKey); saveHashKeyVal(hashKey, hashVal); hashKey = vetoHash("Hmi:Condition"); - hashVal = "0"; + hashVal = "0,0|000"; redUtil.man.redFlushKey(hashKey); saveHashKeyVal(hashKey, hashVal); hashKey = vetoHash("Plc:Condition"); - hashVal = "0"; + hashVal = "0,0|000"; redUtil.man.redFlushKey(hashKey); saveHashKeyVal(hashKey, hashVal);