Initialize() public method

public Initialize ( NodeSource source ) : void
source NodeSource
return void
コード例 #1
0
ファイル: ObjectSource.cs プロジェクト: fr830/OPCUA.NET
        /// <summary>
        /// Creates a new instance of the node.
        /// </summary>
        public static ObjectSource Construct(IServerInternal server)
        {
            ObjectSource instance = new ObjectSource(server, null);

            instance.Initialize(null, null, null, 0, ObjectTypes.BaseObjectType);
            return(instance);
        }
コード例 #2
0
ファイル: ObjectSource.cs プロジェクト: fr830/OPCUA.NET
 /// <summary cref="NodeSource.Clone(NodeSource)" />
 public override NodeSource Clone(NodeSource parent)
 {
     lock (DataLock)
     {
         ObjectSource clone = this;
         clone.Initialize(this);
         return(clone);
     }
 }
コード例 #3
0
ファイル: ObjectSource.cs プロジェクト: yuriik83/UA-.NET
 /// <summary>
 /// Creates a new instance of the node.
 /// </summary>
 public static ObjectSource Construct(
     IServerInternal server, 
     NodeSource      parent, 
     NodeId          referenceTypeId,
     NodeId          nodeId,
     QualifiedName   browseName,
     uint            numericId)
 {
     ObjectSource instance = new ObjectSource(server, parent);
     instance.Initialize(referenceTypeId, nodeId, browseName, numericId, ObjectTypes.BaseObjectType);
     return instance;
 }
コード例 #4
0
ファイル: ObjectSource.cs プロジェクト: fr830/OPCUA.NET
        /// <summary>
        /// Creates a new instance of the node.
        /// </summary>
        public static ObjectSource Construct(
            IServerInternal server,
            NodeSource parent,
            NodeId referenceTypeId,
            NodeId nodeId,
            QualifiedName browseName,
            uint numericId)
        {
            ObjectSource instance = new ObjectSource(server, parent);

            instance.Initialize(referenceTypeId, nodeId, browseName, numericId, ObjectTypes.BaseObjectType);
            return(instance);
        }
コード例 #5
0
ファイル: ObjectSource.cs プロジェクト: yuriik83/UA-.NET
 /// <summary>
 /// Creates a new instance of the node.
 /// </summary>
 public static ObjectSource Construct(IServerInternal server)
 {
     ObjectSource instance = new ObjectSource(server, null);
     instance.Initialize(null, null, null, 0, ObjectTypes.BaseObjectType);
     return instance;
 }