Opc.Ua.Server.ParsedNodeId.Construct C# (CSharp) Method

Construct() public method

Constructs a node identifier.
public Construct ( ) : Opc.Ua.NodeId
return Opc.Ua.NodeId
        public NodeId Construct()
        {
            return Construct(null);
        }

Same methods

ParsedNodeId::Construct ( int rootType, string rootId, ushort namespaceIndex ) : Opc.Ua.NodeId
ParsedNodeId::Construct ( string componentName ) : Opc.Ua.NodeId

Usage Example

コード例 #1
0
ファイル: ModelUtils.cs プロジェクト: OPCFoundation/UA-.NET
        /// <summary>
        /// Constructs a node identifier for a segment.
        /// </summary>
        /// <param name="segmentPath">The segment path.</param>
        /// <param name="namespaceIndex">Index of the namespace that qualifies the identifier.</param>
        /// <returns>The new node identifier.</returns>
        public static NodeId ConstructIdForSegment(string segmentPath, ushort namespaceIndex)
        {
            ParsedNodeId parsedNodeId = new ParsedNodeId();

            parsedNodeId.RootId = segmentPath;
            parsedNodeId.NamespaceIndex = namespaceIndex;
            parsedNodeId.RootType = 0;

            return parsedNodeId.Construct();
        }
All Usage Examples Of Opc.Ua.Server.ParsedNodeId::Construct