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
4041d26c
Commit
4041d26c
authored
Nov 15, 2021
by
Andreas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "fix in _create_custom_type"
This reverts commit
49fefd4d
.
parent
49fefd4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
asyncua/server/server.py
asyncua/server/server.py
+2
-2
No files found.
asyncua/server/server.py
View file @
4041d26c
...
@@ -566,13 +566,13 @@ class Server:
...
@@ -566,13 +566,13 @@ class Server:
if
len
(
prop
)
>
2
:
if
len
(
prop
)
>
2
:
datatype
=
prop
[
2
]
datatype
=
prop
[
2
]
await
custom_t
.
add_property
(
await
custom_t
.
add_property
(
idx
,
prop
[
0
],
ua
.
get_default_value
(
prop
[
1
]
.
VariantType
),
varianttype
=
prop
[
1
].
VariantType
,
datatype
=
datatype
)
idx
,
prop
[
0
],
ua
.
get_default_value
(
prop
[
1
]
),
varianttype
=
prop
[
1
]
,
datatype
=
datatype
)
for
variable
in
variables
:
for
variable
in
variables
:
datatype
=
None
datatype
=
None
if
len
(
variable
)
>
2
:
if
len
(
variable
)
>
2
:
datatype
=
variable
[
2
]
datatype
=
variable
[
2
]
await
custom_t
.
add_variable
(
await
custom_t
.
add_variable
(
idx
,
variable
[
0
],
ua
.
get_default_value
(
variable
[
1
]
.
VariantType
),
varianttype
=
variable
[
1
].
VariantType
,
datatype
=
datatype
)
idx
,
variable
[
0
],
ua
.
get_default_value
(
variable
[
1
]
),
varianttype
=
variable
[
1
]
,
datatype
=
datatype
)
for
method
in
methods
:
for
method
in
methods
:
await
custom_t
.
add_method
(
idx
,
method
[
0
],
method
[
1
],
method
[
2
],
method
[
3
])
await
custom_t
.
add_method
(
idx
,
method
[
0
],
method
[
1
],
method
[
2
],
method
[
3
])
return
custom_t
return
custom_t
...
...
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