Skip to content

Commit

Permalink
Add NumericRange comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Dawson-Haggerty authored and oroulet committed Jun 17, 2020
1 parent 565cc6e commit 3353bc8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion asyncua/common/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ async def write_attribute(self, attributeid, datavalue, indexrange=None):
Set an attribute of a node
attributeid is a member of ua.AttributeIds
datavalue is a ua.DataValue object
indexrange is a NumericRange (a string)
indexrange is a NumericRange (a string; e.g. "1" or "1:3".
See https://reference.opcfoundation.org/v104/Core/docs/Part4/7.22/)
"""
attr = ua.WriteValue()
attr.NodeId = self.nodeid
Expand Down

0 comments on commit 3353bc8

Please sign in to comment.