Commit a9b413cb authored by Elmo von Weissenberg's avatar Elmo von Weissenberg Committed by oroulet

fix(xmlimporter): add reverse refs for HasTypeDefinition, HasComponent

This complies with the original behavior before refactoring.
parent 8a55384a
...@@ -138,8 +138,7 @@ class XmlImporter: ...@@ -138,8 +138,7 @@ class XmlImporter:
ua.ObjectIds.TransitionVariableType, ua.ObjectIds.StateMachineType, ua.ObjectIds.TransitionVariableType, ua.ObjectIds.StateMachineType,
ua.ObjectIds.StateVariableType, ua.ObjectIds.TwoStateVariableType, ua.ObjectIds.StateVariableType, ua.ObjectIds.TwoStateVariableType,
ua.ObjectIds.StateType, ua.ObjectIds.TransitionType, ua.ObjectIds.StateType, ua.ObjectIds.TransitionType,
ua.ObjectIds.FiniteTransitionVariableType, ua.ObjectIds.HasInterface, ua.ObjectIds.FiniteTransitionVariableType, ua.ObjectIds.HasInterface}
ua.ObjectIds.HasTypeDefinition, ua.ObjectIds.HasComponent}
dangling_refs_to_missing_nodes = set(new_nodes) dangling_refs_to_missing_nodes = set(new_nodes)
RefSpecKey = Tuple[ua.NodeId, ua.NodeId, ua.NodeId] # (source_node_id, target_node_id, ref_type_id) RefSpecKey = Tuple[ua.NodeId, ua.NodeId, ua.NodeId] # (source_node_id, target_node_id, ref_type_id)
......
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