Commit 555b5097 authored by Alexander Schrode's avatar Alexander Schrode Committed by oroulet

remove comments

parent e92fe817
{
"python.linting.flake8Enabled": true,
"python.linting.enabled": true,
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
\ No newline at end of file
......@@ -177,14 +177,6 @@ async def select_clauses_from_evtype(evtypes: List["Node"]):
refs = await select_event_attributes_from_type_node(evtype, lambda n: n.get_references(ua.ObjectIds.Aggregates, ua.BrowseDirection.Forward, ua.NodeClass.Object | ua.NodeClass.Variable, True))
if refs:
await _select_clause_from_childs(evtype, refs, select_clauses, already_selected, [])
''' for property in await select_event_attributes_from_type_node(evtype, lambda n: n.get_children_descriptions(refs=ua.ObjectIds.HasProperty, nodeclassmask=ua.NodeClass.Variable)):
await _append_new_attribute_to_select_clauses(select_clauses, already_selected, [property.BrowseName])
for variable in await select_event_attributes_from_type_node(evtype, lambda n: n.get_children_descriptions(ua.ObjectIds.HasComponent, ua.NodeClass.Variable)):
await _append_new_attribute_to_select_clauses(select_clauses, already_selected, [variable.BrowseName])
await _select_clause_from_childs(evtype.init_child_node(variable.NodeId), select_clauses, already_selected, [variable.BrowseName])
for object in await select_event_attributes_from_type_node(evtype, lambda n: n.get_children_descriptions(ua.ObjectIds.HasComponent, ua.NodeClass.Object)):
await _select_clause_from_childs(evtype.init_child_node(object.NodeId), select_clauses, already_selected, [object.BrowseName])
'''
return select_clauses
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment