Browse Source

don't print useraccesslevel and userexecutable for generated nodes

Julius Pfrommer 8 years ago
parent
commit
714c5d562f
1 changed files with 0 additions and 3 deletions
  1. 0 3
      tools/pyUANamespace/ua_node_types.py

+ 0 - 3
tools/pyUANamespace/ua_node_types.py

@@ -1101,7 +1101,6 @@ class opcua_node_variable_t(opcua_node_t):
       code.append(self.getCodePrintableID() + "->historizing = true;")
       code.append(self.getCodePrintableID() + "->historizing = true;")
 
 
     code.append(self.getCodePrintableID() + "->minimumSamplingInterval = (UA_Double) " + str(self.minimumSamplingInterval()) + ";")
     code.append(self.getCodePrintableID() + "->minimumSamplingInterval = (UA_Double) " + str(self.minimumSamplingInterval()) + ";")
-    code.append(self.getCodePrintableID() + "->userAccessLevel = (UA_Int32) " + str(self.userAccessLevel()) + ";")
     code.append(self.getCodePrintableID() + "->accessLevel = (UA_Int32) " + str(self.accessLevel()) + ";")
     code.append(self.getCodePrintableID() + "->accessLevel = (UA_Int32) " + str(self.accessLevel()) + ";")
     code.append(self.getCodePrintableID() + "->valueRank = (UA_Int32) " + str(self.valueRank()) + ";")
     code.append(self.getCodePrintableID() + "->valueRank = (UA_Int32) " + str(self.valueRank()) + ";")
     # The variant is guaranteed to exist by SubtypeEarly()
     # The variant is guaranteed to exist by SubtypeEarly()
@@ -1174,8 +1173,6 @@ class opcua_node_method_t(opcua_node_t):
     # UA_False is default for booleans on _init()
     # UA_False is default for booleans on _init()
     if self.executable():
     if self.executable():
       code.append(self.getCodePrintableID() + "->executable = true;")
       code.append(self.getCodePrintableID() + "->executable = true;")
-    if self.userExecutable():
-      code.append(self.getCodePrintableID() + "->userExecutable = true;")
 
 
     return code
     return code