ConstructIdForHdaBranch() public static method

Constructs the node id for a branch.
public static ConstructIdForHdaBranch ( string itemId, ushort namespaceIndex ) : Opc.Ua.NodeId
itemId string The item id.
namespaceIndex ushort Index of the namespace.
return Opc.Ua.NodeId
コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="HdaBranchState"/> class.
        /// </summary>
        /// <param name="itemId">The qualified name for the area.</param>
        /// <param name="name">The name of the area.</param>
        /// <param name="namespaceIndex">Index of the namespace.</param>
        public HdaBranchState(
            string itemId,
            string name,
            ushort namespaceIndex)
            :
            base(null)
        {
            m_itemId = itemId;

            this.SymbolicName     = name;
            this.TypeDefinitionId = Opc.Ua.ObjectTypeIds.FolderType;
            this.NodeId           = HdaModelUtils.ConstructIdForHdaBranch(itemId, namespaceIndex);
            this.BrowseName       = new QualifiedName(name, namespaceIndex);
            this.DisplayName      = this.BrowseName.Name;
            this.Description      = null;
            this.WriteMask        = 0;
            this.UserWriteMask    = 0;
            this.EventNotifier    = EventNotifiers.None;
        }