Skip to content
Snippets Groups Projects
Commit 9979cd33 authored by Oliver Rostig's avatar Oliver Rostig
Browse files

comments

parent f92deacb
No related branches found
No related tags found
No related merge requests found
......@@ -63,8 +63,12 @@ def getVariantType(datatype):
with open("config.toml", "rb") as t:
"""
opens toml config file to access its data
"""
toml_dict = tomli.load(t)
#sets opcua-server address and namespace according to config file
server_endpoint = toml_dict['server']
namespace = toml_dict['namespace']
......@@ -272,7 +276,7 @@ def writeparameter(parameterobj, headnode, enumnodedict, enumvaldict, enumvarian
def writefunction(functionobj, headnode):
"""
Takkes the function objects writes the function body by calling deffunction and adds it to the objecttypes
Takes the function objects writes the function body by calling deffunction and adds it to the objecttypes
:param functionobj: List of functionobjects
:param headnode: component the functions belong to
:return: None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment