Go to the documentation of this file.00001 from opcua.ua import ObjectIds
00002 from opcua import Node
00003
00004
00005 class Shortcuts(object):
00006 """
00007 This object contains Node objects to some commonly used nodes
00008 """
00009 def __init__(self, server):
00010 self.root = Node(server, ObjectIds.RootFolder)
00011 self.objects = Node(server, ObjectIds.ObjectsFolder)
00012 self.server = Node(server, ObjectIds.Server)
00013 self.types = Node(server, ObjectIds.TypesFolder)
00014 self.base_object_type = Node(server, ObjectIds.BaseObjectType)
00015 self.base_data_type = Node(server, ObjectIds.BaseDataType)
00016 self.base_event_type = Node(server, ObjectIds.BaseEventType)
00017 self.base_variable_type = Node(server, ObjectIds.BaseVariableType)
00018 self.folder_type = Node(server, ObjectIds.FolderType)