Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll
Defines a single command of the IOpcAddReferencesService used to add a logical reference between one and another node.
C#
public class OpcAddReference : OpcNodeServiceCommand
Inheritance Object › OpcServiceCommand › OpcNodeServiceCommand › OpcAddReference
Name | Description |
---|---|
OpcAddReference(OpcNodeId, OpcNodeId, OpcNodeCategory) | Initializes a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other. The new reference will be a ParentToChild relation using Organizes as the type of reference. |
OpcAddReference(OpcNodeId, OpcNodeId, OpcNodeCategory, OpcReferenceDirection) | Initializes a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other using the direction specified. The new reference will use the relation defined by direction using the Organizes as the type of reference. |
OpcAddReference(OpcNodeId, OpcNodeId, OpcNodeCategory, OpcReferenceDirection, OpcNodeId) | Initializes a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other using the direction specified. The new reference will use the relation defined by direction using the type of reference identified by the referenceTypeId specified. |
OpcAddReference(OpcNodeId, OpcNodeId, OpcNodeCategory, OpcReferenceDirection, OpcReferenceType) | Initializes a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other using the direction specified. The new reference will use the relation defined by direction using the referenceType specified as the type of reference. |
Name | Description |
---|---|
Direction | Gets a value indicating the logical direction of the reference to add. |
NodeId | Gets the node identifier of the node on which a node orientated service have to operate on. (Inherited from OpcNodeServiceCommand) |
ReferenceType | Gets a value which defines a pre-defined used ReferenceTypeId as one of the members defined by the OpcReferenceType enumeration to simplify querying standard reference types. |
ReferenceTypeId | Gets the identifier which identifies the node that defines the semantic of the reference between the source and the target node and generally reflects an operation between the two, such as “A contains B”. |
SupportsNullNodeId | Gets a value indicating whether the OpcNodeServiceCommand supports instances of the OpcNodeId class its IsNull provides a value equals to the value true. (Inherited from OpcNodeServiceCommand) |
TargetNodeCategory | Gets the OpcNodeCategory of the target node identified by TargetNodeId. The client shall define the concrete category of node the TargetNodeId refers to, since the target node might not be accessible directly by the server. Additionally the server uses the category to validate that the reference to be added matches the category of node of the target node identified by the TargetNodeId. |
TargetNodeId | Gets the identifier which identifies the target node which acts as the opponent in the reference to construct between the source node (identified by NodeId) the target node. |
TargetServerUri | Gets or sets the Uri of the remote server which provides the node identified by TargetNodeId. |
Name | Description |
---|---|
DenyNullIdentifier(OpcNodeId, String) | Verifies whether the value is a null identifier by checking the IsNull property. (Inherited from OpcNodeServiceCommand) |
ToObject(OpcNodeId, OpcNodeId) | Creates a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other. The new reference will be a ParentToChild relation using Organizes as the type of reference while the target node shall be a node of the category Object. |
ToObject(OpcNodeId, OpcNodeId, OpcReferenceDirection) | Creates a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other using the direction specified. The new reference will use the relation defined by direction using the Organizes as the type of reference while the target node shall be a node of the category Object. |
ToObject(OpcNodeId, OpcNodeId, OpcReferenceDirection, OpcNodeId) | Creates a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other using the direction specified. The new reference will use the relation defined by direction using the type of reference identified by the referenceTypeId specified while the target node shall be a node of the category Object. |
ToObject(OpcNodeId, OpcNodeId, OpcReferenceDirection, OpcReferenceType) | Creates a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other using the direction specified. The new reference will use the relation defined by direction using the referenceType specified as the type of reference while the target node shall be a node of the category Object. |
ToVariable(OpcNodeId, OpcNodeId) | Creates a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other. The new reference will be a ParentToChild relation using Organizes as the type of reference while the target node shall be a node of the category Variable. |
ToVariable(OpcNodeId, OpcNodeId, OpcReferenceDirection) | Creates a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other using the direction specified. The new reference will use the relation defined by direction using the Organizes as the type of reference while the target node shall be a node of the category Variable. |
ToVariable(OpcNodeId, OpcNodeId, OpcReferenceDirection, OpcNodeId) | Creates a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other using the direction specified. The new reference will use the relation defined by direction using the type of reference identified by the referenceTypeId specified while the target node shall be a node of the category Variable. |
ToVariable(OpcNodeId, OpcNodeId, OpcReferenceDirection, OpcReferenceType) | Creates a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other using the direction specified. The new reference will use the relation defined by direction using the referenceType specified as the type of reference while the target node shall be a node of the category Variable. |