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
ef863c61
Commit
ef863c61
authored
May 30, 2016
by
ORD
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #193 from FreeOpcUa/nullstrings
default strings and ByteString to None
parents
b75f0081
54080149
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
102 additions
and
102 deletions
+102
-102
opcua/ua/uaprotocol_auto.py
opcua/ua/uaprotocol_auto.py
+100
-100
schemas/generate_protocol_python.py
schemas/generate_protocol_python.py
+2
-2
No files found.
opcua/ua/uaprotocol_auto.py
View file @
ef863c61
This diff is collapsed.
Click to expand it.
schemas/generate_protocol_python.py
View file @
ef863c61
...
...
@@ -326,9 +326,9 @@ class CodeGenerator(object):
enum
=
self
.
model
.
get_enum
(
field
.
uatype
)
return
enum
.
name
+
"(0)"
if
field
.
uatype
in
(
"String"
):
return
"''"
return
None
elif
field
.
uatype
in
(
"ByteString"
,
"CharArray"
,
"Char"
):
return
"b''"
return
None
elif
field
.
uatype
in
(
"Boolean"
):
return
"True"
elif
field
.
uatype
in
(
"DateTime"
):
...
...
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