OpcNode Class

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

C#

public class OpcNode : IOpcNode, IOpcNodeInfo


Inheritance Object › OpcNode


Derived


Implements IOpcNode, IOpcNodeInfo

Name Description
AfterAdded Occurs after the node has been added to the address space.
AfterApplyChanges Occurs after one or more changes on the node has been notified.
BeforeAdded Occurs before the node is added to the address space.
BeforeApplyChanges Occurs before one or more changes on the node are notified.
ChangesUnhandled Occurs when changes applied with ApplyChanges(OpcContext) are not monitored or discarded by all monitored items.
Name Description
Category Gets the NodeCategoryOpcAttribute which identifies the kind of node and is therefore used to classify the node regarding its use and purpose.
Description Gets or sets the value of the optional DescriptionOpcAttribute which shall explain the meaning of the node.
Descriptions Gets the OpcNodeGlobalization instance used to control the localization and other globalization related tasks for the Description attribute of the current node.
DisplayName Gets or sets the value of the DisplayNameOpcAttribute which defines the localizable name of the node.
DisplayNames Gets the OpcNodeGlobalization instance used to control the localization and other globalization related tasks for the DisplayName attribute of the current node.
HasPendingChanges Gets a value indiciating whether there exists any pending change on the node.
Id Gets the value of the NodeIdOpcAttribute which unambiguously identifies the node.
Model Gets the OpcNodeModel which has been used to model this OpcNode regarding its whole representation in the address space.
Name Gets or sets the value of the BrowseNameOpcAttribute which defines the non-localizable human-readable name used when browsing the address space.
Namespace
Parent Gets the parent node of the node.
PendingChanges Gets a value indicating the most recent changes performed on the node since their last notification.
QueryEventsCallback Gets or sets a callback used to query any event information which belongs to the node.
ReadDescriptionCallback
ReadDisplayNameCallback
ReadUserWriteAccessCallback
ReadWriteAccessCallback
SymbolicName
Tag Gets or sets the object that contains additional user data about the node.
UserWriteAccess Gets or sets the value of the optional UserWriteAccessOpcAttribute which exposes the possibilities of a client to write the attributes of the node taking user access rights into account.
WriteAccess Gets or sets the value of the optional WriteAccessOpcAttribute which exposes the posibilities of a client to write the attributes of the node.
WriteDescriptionCallback
WriteDisplayNameCallback
WriteUserWriteAccessCallback
WriteWriteAccessCallback
Name Description
AddNotifier(OpcContext, IOpcNode) When implemented in a subtype, adds the node to the collection of notifiers (= event sources) of this node.
ApplyChanges(OpcContext) Notifies about changes performed on the node since the last notification and resets the pending changes to None.
ApplyChanges(OpcContext, Boolean) Notifies about changes performed on the node (and optionally on its children) since the last notification and resets the pending changes to None.
AttributeValue(OpcAttribute) Retrieves the value of the attribute specified.
AttributeValue``1(OpcAttribute) Retrieves the value of the attribute specified.
Child(OpcContext, OpcName) Retrieves the child node its Name property matches exactly the name specified.
ChildModel(OpcName)
ChildModellingDirective(OpcName)
Children(OpcContext) Retrieves a sequence of all nodes organized as children of this node.
DefineModel``1(OpcModellingRule, OpcNamePath) Defines a model rule for the model of the node type specified by T using the rule which is to be applied to the node known under the path passed.
DefineModel``1(OpcModellingRule, OpcName) Defines a model rule for the model of the node type specified by T using the rule which is to be applied to the node known under the pathElements passed.
GetType(OpcNodeId) Retrieves the Type which implementes the node type which is identified by the typeId specified.
GetTypeInfo(OpcNodeId) Retrieves the OpcNodeTypeInfo which declares the node type which is identified by the typeId specified.
GetTypeInfo(Type) Retrieves the OpcNodeTypeInfo which declares the node type implemented by the underlyingType specified.
GetTypeInfo``1 Retrieves the OpcNodeTypeInfo which declares the node type implemented by the T specified.
Implement(OpcContext) Performs node specific implementation tasks to finalize the node creation before it can be used for the first time.
InitializeDefaults Initializes the default values used by the node implementation represented / required.
IsChangePending(OpcNodeChanges)
OnAfterAdded(OpcNodeAddedEventArgs) Raises the AfterAdded event using the event data specified.
OnAfterApplyChanges(OpcNodeChangesEventArgs) Raises the AfterApplyChanges event using the event data specified.
OnBeforeAdded(OpcNodeAddedEventArgs) Raises the BeforeAdded event using the event data specified.
OnBeforeApplyChanges(OpcNodeChangesEventArgs) Raises the BeforeApplyChanges event using the event data specified.
OnChangesUnhandled(OpcNodeChangesEventArgs) Raises the ChangesUnhandled event using the event data specified.
QueryEventsCore(OpcNodeContext, OpcEventCollection)
ReadAttributeValueCore``1(OpcReadAttributeValueContext, OpcAttributeValue)
References Retrieves a sequence of immutable references between this node and other nodes.
RegisterType(Type) Registers the nodeType specified as the node object type to create in case there a node instance is to be created for the type node identified by the OpcNodeTypeAttribute defined on the nodeType specified.
RegisterType(Type, OpcNodeId) Registers the nodeType specified as the node object type to create in case there a node instance is to be created for the type node identified by the nodeTypeId specified.
RegisterType``1 Registers the type defined by T as the node object type to create in case there a node instance is to be created for the type definition identified by the OpcNodeTypeAttribute defined on the T specified.
RegisterType``1(OpcNodeId) Registers the type defined by T as the node object type to create in case there a node instance is to be created for the type definition identified by the nodeTypeId specified.
RegisterTypes(Assembly) Registers all non-abstract types in the assembly specified which defines the OpcNodeTypeAttribute.
RegisterTypes(IEnumerable) Registers the nodeTypes specified as the node object type to create in case there a node instance is to be created for the type nodes identified by the OpcEventTypeAttribute used on one of the nodeTypes specified.
RegisterTypes(Type, Type) Registers the nodeType and the further specified nodeTypes as the node object type to create in case there a node instance is to be created for the type node identified by the OpcNodeTypeAttribute used on the nodeType or on one of the nodeTypes specified.
RemoveNotifier(OpcContext, IOpcNode) Removes the node from the collection of notifiers (= event sources) of this node.
ReportEvent(OpcContext, OpcEvent) Reports the eventData specified to all nodes this OpcNode is a notifier of.
ResumeModelChangeEvents(Boolean) Resumes model change tracking and events for this OpcNode and optionally for all children.
SuspendModelChangeEvents(Boolean) Temporarily suspends model change tracking and events for this OpcNode and optionally for all children.
UnregisterType``1 Unregisters the previously registered (see RegisterType´´1) type defined by T as the Object type to not longer create for the type node identified by the OpcNodeTypeAttribute defined on the T specified.
UnregisterType``1(OpcNodeId) Unregisters the previously registered (see RegisterType´´1(OpcNodeId)) type defined by T as the Object type to not longer create for the type node identified by the nodeTypeId specified.
UnregisterTypes(Assembly) Unregisters all previously registered types (see RegisterTypes(Assembly)) in the assembly specified.
UnregisterTypes(IEnumerable) Unregisters the previously registered (see RegisterTypes(IEnumerable)) nodeTypes specified.
UnregisterTypes(Type, Type) Unregisters the previously registered nodeType and the further specified nodeTypes (see RegisterTypes(Type, Type)).
UpdateChanges(OpcContext, OpcNodeChanges) Notifies about the changes on behalf of the node and removes pending changes which intersect with the changes specified.
UpdateChanges(OpcContext, OpcNodeChanges, Boolean) Notifies about the changes on behalf of the node (and optionally on its children) and removes pending changes which intersect with the changes specified.
WriteAttributeValueCore``1(OpcWriteAttributeValueContext, OpcAttributeValue)