Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-cloning
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yogesh.m
opcua-cloning
Commits
6bdc30e0
Commit
6bdc30e0
authored
Mar 08, 2023
by
yogesh.m
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d68f05bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
asyncua_server.py
asyncua_server.py
+2
-1
No files found.
asyncua_server.py
View file @
6bdc30e0
...
@@ -20,7 +20,8 @@ class asyncua_server():
...
@@ -20,7 +20,8 @@ class asyncua_server():
root_nodes
=
await
self
.
server
.
get_root_node
()
.
get_children
()
root_nodes
=
await
self
.
server
.
get_root_node
()
.
get_children
()
obj_nodes
=
await
root_nodes
[
0
]
.
get_children
()
obj_nodes
=
await
root_nodes
[
0
]
.
get_children
()
for
node
in
obj_nodes
:
for
node
in
obj_nodes
:
if
(
"ns="
in
str
(
node
)):
if
(
"ns="
in
str
(
node
)
and
"ns=2;i=1"
not
in
str
(
node
)):
print
(
node
)
sub_obj
=
await
self
.
server
.
get_node
(
node
)
.
get_children
()
sub_obj
=
await
self
.
server
.
get_node
(
node
)
.
get_children
()
for
del_node
in
sub_obj
:
for
del_node
in
sub_obj
:
await
self
.
server
.
delete_nodes
([
del_node
])
await
self
.
server
.
delete_nodes
([
del_node
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment