Opc.Ua.ConditionState.OnAfterCreate C# (CSharp) Method

OnAfterCreate() protected method

Called after a node is created.
protected OnAfterCreate ( ISystemContext context, NodeState node ) : void
context ISystemContext
node NodeState
return void
        protected override void OnAfterCreate(ISystemContext context, NodeState node)
        {
            base.OnAfterCreate(context, node);

            if (this.Enable != null)
            {
                this.Enable.OnCallMethod = OnEnableCalled;
            }

            if (this.Disable != null)
            {
                this.Disable.OnCallMethod = OnDisableCalled;
            }

            if (this.AddComment != null)
            {
                this.AddComment.OnCall = OnAddCommentCalled;
            }
        }
        #endregion