소스 검색

don't print useraccesslevel and userexecutable for generated nodes

Julius Pfrommer 7 년 전
부모
커밋
714c5d562f
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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() + "->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() + "->valueRank = (UA_Int32) " + str(self.valueRank()) + ";")
     # 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()
     if self.executable():
       code.append(self.getCodePrintableID() + "->executable = true;")
-    if self.userExecutable():
-      code.append(self.getCodePrintableID() + "->userExecutable = true;")
 
     return code