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
0ef428cd
Commit
0ef428cd
authored
Apr 22, 2015
by
tander67
Committed by
Olivier R-D
Apr 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed adding methods
Method output arguments must be defined from the ‘outputs’ argument.
parent
86cd4e2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
opcua/node.py
opcua/node.py
+1
-1
No files found.
opcua/node.py
View file @
0ef428cd
...
@@ -329,7 +329,7 @@ class Node(object):
...
@@ -329,7 +329,7 @@ class Node(object):
if
inputs
:
if
inputs
:
method
.
add_property
(
qname
.
NamespaceIndex
,
"InputArguments"
,
[
self
.
_vtype_to_argument
(
vtype
)
for
vtype
in
inputs
])
method
.
add_property
(
qname
.
NamespaceIndex
,
"InputArguments"
,
[
self
.
_vtype_to_argument
(
vtype
)
for
vtype
in
inputs
])
if
outputs
:
if
outputs
:
method
.
add_property
(
qname
.
NamespaceIndex
,
"OutputArguments"
,
[
self
.
_vtype_to_argument
(
vtype
)
for
vtype
in
in
puts
])
method
.
add_property
(
qname
.
NamespaceIndex
,
"OutputArguments"
,
[
self
.
_vtype_to_argument
(
vtype
)
for
vtype
in
out
puts
])
self
.
server
.
add_method_callback
(
method
.
nodeid
,
callback
)
self
.
server
.
add_method_callback
(
method
.
nodeid
,
callback
)
return
method
return
method
...
...
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