Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
opcua-asyncio
Commits
05ba8ffa
Commit
05ba8ffa
authored
Sep 22, 2021
by
René Schwaiger
Committed by
oroulet
Oct 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling of “instantiated”
parent
bced9068
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
asyncua/common/manage_nodes.py
asyncua/common/manage_nodes.py
+3
-3
asyncua/common/node.py
asyncua/common/node.py
+1
-1
No files found.
asyncua/common/manage_nodes.py
View file @
05ba8ffa
...
...
@@ -140,7 +140,7 @@ async def create_reference_type(parent, nodeid, bname, symmetric=True, inversena
async
def
create_object_type
(
parent
,
nodeid
,
bname
):
"""
Create a new object type to be instan
c
iated in address space.
Create a new object type to be instan
t
iated in address space.
arguments are nodeid, browsename
or namespace index, name
"""
...
...
@@ -327,7 +327,7 @@ async def create_data_type(parent, nodeid, bname, description=None):
attrs
.
DisplayName
=
ua
.
LocalizedText
(
qname
.
Name
)
attrs
.
WriteMask
=
0
attrs
.
UserWriteMask
=
0
attrs
.
IsAbstract
=
False
# True mean they cannot be instan
c
iated
attrs
.
IsAbstract
=
False
# True mean they cannot be instan
t
iated
addnode
.
NodeAttributes
=
attrs
results
=
await
parent
.
server
.
add_nodes
([
addnode
])
results
[
0
].
StatusCode
.
check
()
...
...
@@ -348,7 +348,7 @@ async def create_data_type(parent, nodeid, bname, description=None):
async
def
create_encoding
(
parent
,
nodeid
,
bname
):
"""
Create a new encoding object to be instan
c
iated in address space.
Create a new encoding object to be instan
t
iated in address space.
arguments are nodeid, browsename
or namespace index, name
"""
...
...
asyncua/common/node.py
View file @
05ba8ffa
...
...
@@ -667,7 +667,7 @@ class Node:
"""
Add a modelling rule reference to Node.
When creating a new object type, its variable and child nodes will not
be instan
c
iated if they do not have modelling rule
be instan
t
iated if they do not have modelling rule
if mandatory is None, the modelling rule is removed
"""
# remove all existing modelling rule
...
...
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