def add_property(self): args, ok = NewUaVariableDialog.getArgs(self.modeler, "Add Property", self._model_mgr.server_mgr, default_value=9.99) if ok: node = self._model_mgr.add_property(*args) self._add_modelling_rule(node)
def add_property(self): dtype = self.settings.value("last_datatype", None) args, ok = NewUaVariableDialog.getArgs(self.modeler, "Add Property", self._model_mgr.server_mgr, default_value=9.99, dtype=dtype) if ok: self._model_mgr.add_property(*args)
def add_variable(self): dtype = self.settings.value("last_datatype", None) args, ok = NewUaVariableDialog.getArgs(self.modeler, "Add Variable", self._model_mgr.server_mgr, default_value=9.99, dtype=dtype) if ok: node = self._model_mgr.add_variable(*args) self.settings.setValue("last_datatype", args[4]) self._add_modelling_rule(node)
def add_variable(self): args, ok = NewUaVariableDialog.getArgs(self.modeler, "Add Variable", self._model_mgr.server_mgr) if ok: node = self._model_mgr.add_variable(*args) self._add_modelling_rule(node)
def add_property(self): args, ok = NewUaVariableDialog.getArgs(self.modeler, "Add Property", self._model_mgr.server_mgr) if ok: node = self._model_mgr.add_property(*args) self._add_modelling_rule(node)