-
Notifications
You must be signed in to change notification settings - Fork 24
Fix browsing nodes #891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix browsing nodes #891
Conversation
src/Tests/Moryx.Drivers.OpcUa.Tests/HandlingCyclicNodesTests.cs
Outdated
Show resolved
Hide resolved
src/Tests/Moryx.Drivers.OpcUa.Tests/HandlingCyclicNodesTests.cs
Outdated
Show resolved
Hide resolved
22ecf20 to
4fd875c
Compare
|
@seveneleven Are all OpcUa-tests fixed with this PR? Maybe merge future into this branch. We weit for that in #830. |
4fd875c to
2e4864a
Compare
* It has a URI if URI (and namespace index) is set * It has a namespace index, if no URI is set * Namespace index is removed if `ns=0` (as it is the default)
It's common, that OPC UA nodes appear in multiple positions of the tree. But after they appeared once, they've been skipped for all other occurrences. This is fixed now: Nodes will be listed, if they occur in different branches of the tree. They will be ignored though, if they appear more than once on the same branch. Also, if already found, they won't be updated by following occurrences, assuming that nodes with the same ID will be the same entity.
Used `CultureInfo.InvariantCulture` to parse culture independent.
* Unused variables/parameters * Unnecessary usings * ...
7eae03a to
225535f
Compare
Yes, they are |
nice!! |
225535f to
e0c9536
Compare
1nf0rmagician
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
e0c9536 to
a216e48
Compare
It's common, that OPC UA nodes appear in multiple positions of the tree. But
after they appeared once, they've been skipped for all other occurrences.
This is fixed now: Nodes will be listed, if they occur in different branches of
the tree. They will be ignored though, if they appear more than once on the
same branch. Also, if already found, they won't be updated by following
occurrences, assuming that nodes with the same ID will be the same entity.