Merge branch 'release/FixOpcUaSubscribedList'

This commit is contained in:
Samuele Locatelli
2021-12-14 11:52:43 +01:00
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -76,7 +76,7 @@
]
},
"fluxLogVeto": [
"L2p1CommonVariable"
""
],
"itemTranslation": {
"avail": "Machine Available",
+5
View File
@@ -360,10 +360,15 @@ namespace IOB_WIN_NEXT
// cerco e aggiungo SOLO quelle indicati
foreach (var currItem in opcUaParams.subscribedItems)
{
string fullName = $"ns={opcUaParams.BrowseNSIndex},s={currItem}";
if (nodeIdNameList.ContainsKey(currItem))
{
selectedItemList.Add(currItem, nodeIdNameList[currItem]);
}
else if (nodeIdNameList.ContainsKey(fullName))
{
selectedItemList.Add(fullName, nodeIdNameList[fullName]);
}
}
}
// altrimenti tutti!
+2 -2
View File
@@ -64,8 +64,8 @@ namespace IOB_WIN_NEXT
* B3: allarme
* B4: manuale
* B5: SlowTC (NON gestito qui)
* B6: warm-up / cool-down
* B7: emergenza
* B6: warm-up / cool-down / setup
* B7: emergenza ARMATA (1=ok, 0 = premuta)
---------------------------------------------------- */
// se valido il check ping lo eseguo... altrimenti lo do x buono