fix invio dati UM/min/max x parametri

This commit is contained in:
Samuele Locatelli
2021-10-27 09:49:37 +02:00
parent 23d2e489e1
commit 05427040e5
+8 -2
View File
@@ -2969,7 +2969,10 @@ namespace IOB_WIN_NEXT
{
uid = item.Value.name,
name = !string.IsNullOrEmpty(item.Value.description) ? item.Value.description : item.Value.name,
writable = true
writable = true,
UM=item.Value.unit,
valMin=item.Value.minVal,
valMax=item.Value.maxVal
};
allParam.Add(currItem);
}
@@ -2980,7 +2983,10 @@ namespace IOB_WIN_NEXT
{
uid = item.Value.name,
name = !string.IsNullOrEmpty(item.Value.description) ? item.Value.description : item.Value.name,
writable = false
writable = false,
UM = item.Value.unit,
valMin = item.Value.minVal,
valMax = item.Value.maxVal
};
allParam.Add(currItem);
}