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
bb679b02
Commit
bb679b02
authored
Jun 17, 2016
by
ORD
Committed by
GitHub
Jun 17, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #214 from bitkeeper/uavariable
xmlimport breaks when UAVariable doesn't have value element (2)
parents
eeb0edd3
8c584ab4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
opcua/common/xmlparser.py
opcua/common/xmlparser.py
+1
-1
tests/custom_nodes.xml
tests/custom_nodes.xml
+7
-0
No files found.
opcua/common/xmlparser.py
View file @
bb679b02
...
...
@@ -27,7 +27,7 @@ class NodeData(object):
# variable
self
.
datatype
=
None
self
.
rank
=
-
1
# check default value
self
.
value
=
[]
self
.
value
=
None
self
.
valuetype
=
None
self
.
dimensions
=
None
self
.
accesslevel
=
None
...
...
tests/custom_nodes.xml
View file @
bb679b02
...
...
@@ -39,5 +39,12 @@
</Value>
</UAVariable>
<UAVariable
NodeId=
"i=30004"
BrowseName=
"MyXMLVariableWithoutValue"
DataType=
"String"
>
<References>
<Reference
ReferenceType=
"HasTypeDefinition"
>
i=69
</Reference>
<Reference
ReferenceType=
"Organizes"
IsForward=
"false"
>
i=30002
</Reference>
</References>
</UAVariable>
</UANodeSet>
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