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
1c97f698
Commit
1c97f698
authored
Mar 08, 2023
by
yogesh.m
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
b5ab9e54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
asyncua_server.py
asyncua_server.py
+1
-3
No files found.
asyncua_server.py
View file @
1c97f698
...
...
@@ -20,7 +20,7 @@ class asyncua_server():
root_nodes
=
await
self
.
server
.
get_root_node
()
.
get_children
()
obj_nodes
=
await
root_nodes
[
0
]
.
get_children
()
for
node
in
obj_nodes
:
if
(
"ns="
in
str
(
node
)
and
"ns=2;i=1"
not
in
str
(
node
)
):
if
(
"ns="
in
str
(
node
)):
print
(
node
)
sub_obj
=
await
self
.
server
.
get_node
(
node
)
.
get_children
()
for
del_node
in
sub_obj
:
...
...
@@ -53,8 +53,6 @@ class asyncua_server():
# set endpoint information
url
=
url
self
.
server
.
set_endpoint
(
url
)
root_nodes
=
await
self
.
server
.
get_root_node
()
.
get_children
()
obj_nodes
=
await
root_nodes
[
0
]
.
get_children
()
# create a new address space
uri
=
uri
self
.
idx
=
await
self
.
server
.
register_namespace
(
uri
)
...
...
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