Commit 003caa8f authored by oroulet's avatar oroulet

Revert "Make sure NodeClass attribute is of type UInt32" since NodeClass

shoud be of type Int32

This reverts commit b934a49b.
parent 14d30f70
......@@ -262,7 +262,7 @@ class NodeManagementService(object):
ua.DataValue(ua.Variant(item.BrowseName, ua.VariantType.QualifiedName))
)
nodedata.attributes[ua.AttributeIds.NodeClass] = AttributeValue(
ua.DataValue(ua.Variant(item.NodeClass, ua.VariantType.UInt32))
ua.DataValue(ua.Variant(item.NodeClass, ua.VariantType.Int32))
)
# add requested attrs
self._add_nodeattributes(item.NodeAttributes, nodedata, add_timestamps)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment