예제 #1
0
 def add_object(self):
     args, ok = NewUaObjectDialog.getArgs(
         self.modeler,
         "Add Object",
         self._model_mgr.server_mgr,
         base_node_type=self._model_mgr.server_mgr.nodes.base_object_type)
     if ok:
         self._model_mgr.add_object(*args)
예제 #2
0
 def add_variable_type(self):
     args, ok = NewUaObjectDialog.getArgs(
         self.modeler,
         "Add Variable Type",
         self._model_mgr.server_mgr,
         base_node_type=self._model_mgr.server_mgr.get_node(
             ua.ObjectIds.BaseVariableType))
     if ok:
         self._model_mgr.add_variable_type(*args)
예제 #3
0
 def add_object(self):
     args, ok = NewUaObjectDialog.getArgs(
         self.modeler,
         "Add Object",
         self._model_mgr.server_mgr,
         base_node_type=self._model_mgr.server_mgr.nodes.base_object_type)
     if ok:
         nodes = self._model_mgr.add_object(*args)
         # FIXME: in this particular case we may want to navigate recursively to add ref
         self._add_modelling_rule(nodes)
예제 #4
0
 def add_variable_type(self):
     args, ok = NewUaObjectDialog.getArgs(self.modeler, "Add Variable Type", self._model_mgr.server_mgr, base_node_type=self._model_mgr.server_mgr.get_node(ua.ObjectIds.BaseVariableType))
     if ok:
         self._model_mgr.add_variable_type(*args)
예제 #5
0
 def add_object(self):
     args, ok = NewUaObjectDialog.getArgs(self.modeler, "Add Object", self._model_mgr.server_mgr, base_node_type=self._model_mgr.server_mgr.nodes.base_object_type)
     if ok:
         nodes = self._model_mgr.add_object(*args)
         # FIXME: in this particular case we may want to navigate recursively to add ref
         self._add_modelling_rule(nodes)