constants.py 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. # This Source Code Form is subject to the terms of the Mozilla Public
  4. # License, v. 2.0. If a copy of the MPL was not distributed with this
  5. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  6. ###
  7. ### Author: Chris Iatrou (ichrispa@core-vector.net)
  8. ### Version: rev 13
  9. ###
  10. ### This program was created for educational purposes and has been
  11. ### contributed to the open62541 project by the author. All licensing
  12. ### terms for this source is inherited by the terms and conditions
  13. ### specified for by the open62541 project (see the projects readme
  14. ### file for more information on the MPLv2 terms and restrictions).
  15. ###
  16. ### This program is not meant to be used in a production environment. The
  17. ### author is not liable for any complications arising due to the use of
  18. ### this program.
  19. ###
  20. NODE_CLASS_GENERERIC = 0
  21. NODE_CLASS_OBJECT = 1
  22. NODE_CLASS_VARIABLE = 2
  23. NODE_CLASS_METHOD = 4
  24. NODE_CLASS_OBJECTTYPE = 8
  25. NODE_CLASS_VARIABLETYPE = 16
  26. NODE_CLASS_REFERENCETYPE = 32
  27. NODE_CLASS_DATATYPE = 64
  28. NODE_CLASS_VIEW = 128
  29. # Not in OPC-UA, but exists in XML
  30. NODE_CLASS_METHODTYPE = 256