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
626db552
Commit
626db552
authored
Mar 01, 2021
by
oroulet
Committed by
oroulet
Mar 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes from review
parent
1068876e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3476 additions
and
16 deletions
+3476
-16
asyncua/binary_address_space.pickle
asyncua/binary_address_space.pickle
+0
-0
asyncua/common/structures.py
asyncua/common/structures.py
+4
-6
asyncua/common/xmlexporter.py
asyncua/common/xmlexporter.py
+0
-1
asyncua/server/standard_address_space/standard_address_space_services.py
...standard_address_space/standard_address_space_services.py
+3472
-6
asyncua/ua/uatypes.py
asyncua/ua/uatypes.py
+0
-1
schemas/generate_model.py
schemas/generate_model.py
+0
-2
No files found.
asyncua/binary_address_space.pickle
View file @
626db552
No preview for this file type
asyncua/common/structures.py
View file @
626db552
...
...
@@ -82,15 +82,13 @@ class {self.name}:
'''
"""
for
field
in
self
.
fields
:
uatype
=
f"ua.
{
field
.
uatype
}
"
if
field
.
array
:
for
s
field
in
self
.
fields
:
uatype
=
f"ua.
{
s
field
.
uatype
}
"
if
s
field
.
array
:
uatype
=
f"List[
{
uatype
}
]"
else
:
uatype
=
uatype
if
uatype
==
'List[ua.Char]'
:
uatype
=
'String'
code
+=
f"
{
field
.
name
}
:
{
uatype
}
=
{
field
.
value
}\
n
"
code
+=
f"
{
sfield
.
name
}
:
{
uatype
}
=
{
s
field
.
value
}\
n
"
return
code
...
...
asyncua/common/xmlexporter.py
View file @
626db552
...
...
@@ -170,7 +170,6 @@ class XmlExporter:
nodeid
=
nodeid
.
nodeid
if
nodeid
.
NamespaceIndex
in
self
.
_addr_idx_to_xml_idx
:
nodeid
=
copy
(
nodeid
)
nodeid
=
ua
.
NodeId
(
nodeid
.
Identifier
,
NamespaceIndex
=
self
.
_addr_idx_to_xml_idx
[
nodeid
.
NamespaceIndex
])
return
nodeid
.
to_string
()
...
...
asyncua/server/standard_address_space/standard_address_space_services.py
View file @
626db552
This source diff could not be displayed because it is too large. You can
view the blob
instead.
asyncua/ua/uatypes.py
View file @
626db552
...
...
@@ -441,7 +441,6 @@ class NodeId:
def
__lt__
(
self
,
other
):
if
not
isinstance
(
other
,
NodeId
):
raise
AttributeError
(
"Can only compare to NodeId"
)
print
(
self
.
NodeIdType
,
self
.
NamespaceIndex
,
self
.
Identifier
,
other
.
NodeIdType
,
other
.
NamespaceIndex
,
other
.
Identifier
)
return
(
self
.
NodeIdType
,
self
.
NamespaceIndex
,
self
.
Identifier
)
<
(
other
.
NodeIdType
,
other
.
NamespaceIndex
,
other
.
Identifier
)
def
is_null
(
self
):
...
...
schemas/generate_model.py
View file @
626db552
...
...
@@ -166,8 +166,6 @@ def reorder_structs(model):
_logger
.
debug
(
'Variant'
in
types
)
for
s
in
s1
-
s2
:
_logger
.
warning
(
f'
{
s
}
is waiting_structs for:
{
s
.
waitingfor
}
'
)
#from IPython import embed
#embed()
model
.
structs
=
newstructs
...
...
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