C# 클래스 Opc.Ua.Server.NodeSource

상속: ILocalNode, IDisposable, IFormattable, ICloneable
파일 보기 프로젝트 열기: OPCFoundation/UA-.NETStandardLibrary 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Clone ( NodeSource parent ) : NodeSource

Makes a copy of the node without any node ids specified.

Create ( NodeId parentId, NodeId referenceTypeId, NodeId nodeId, QualifiedName browseName, uint numericId, object configuration ) : void

Updates the object based from a configuration.

CreateCopy ( NodeId nodeId ) : ILocalNode
Delete ( ) : void

Deletes the Node from the address space.

This method is called deletes all nodes created when the type was instantiated. The subclass must implement DeleteChildren() to remove nodes that are not part of the type model. Before any processing starts this method calls OnBeforeDelete(). After successfully deleting all nodes this method calls OnAfterDelete().

Dispose ( ) : void

Frees any unmanaged resources.

GetDisplayPath ( int count ) : LocalizedText

Builds a path of display names starting with the top most parent.

Initialize ( NodeSource source ) : void

Initializes a node from another node.

MemberwiseClone ( ) : object

Makes a copy of the node without any node ids specified.

OverrideValueStatus ( StatusCode statusCode ) : void

Recursively overrides the status for value of any child variables.

Read ( IOperationContext context, uint attributeId, DataValue value ) : ServiceResult
Subscribe ( IMonitoredItem monitoredItem ) : void

Adds a subscription to the source.

SupportsAttribute ( uint attributeId ) : bool
ToString ( ) : string

Returns a string representation of the HierarchyReference.

ToString ( string format, IFormatProvider formatProvider ) : string

Returns a string representation of the HierarchyReference.

Unsubscribe ( IMonitoredItem monitoredItem ) : void

Removes a subscription from the source.

Write ( uint attributeId, DataValue value ) : ServiceResult

보호된 메소드들

메소드 설명
AddChild ( NodeSource child ) : void

Adds a child to the node.

ApplyConfiguration ( object configuration ) : void

Applies the configuration to the node.

CheckNodeManagerState ( ) : void

Verified that the current thread has locked the NodeManager.

CreateChildren ( object configuration ) : void

Creates the children for the node.

CreateNode ( NodeId parentId, NodeId referenceTypeId ) : void

Creates the node in the server's address space.

DeleteChild ( BaseInstanceSource child ) : BaseInstanceSource

Creates the children for the node.

DeleteChildren ( ) : void

Deletes the children for the node.

Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

Find ( IList relativePath, int index ) : NodeSource

Finds the node identified by the relative path.

FindMonitoredItem ( uint id ) : IMonitoredItem

Returns the specified monitored item. Null if it does not exist.

GetNamespaceIndex ( string namespaceUri ) : ushort

Returns the index for the namespace uri (adds it to the table if it does not already exist).

Initialize ( NodeId nodeId, QualifiedName browseName, uint numericId ) : void

Initializes a node before it is created.

InitializeChildren ( ) : void

Initializes the child nodes.

NodeSource ( IServerInternal server, NodeSource parent ) : System

Associates the object with a server (mandatory) and its model parent (optional).

OnAfterCreate ( object configuration ) : void

Called when the node has been created in address space.

OnAfterDelete ( ) : void

Called after the object is deletes its nodes.

OnAfterInitialize ( ) : void

Called after the node has been initialized from a source.

OnBeforeCreate ( object configuration ) : object

Called before the node is created in the address space,

OnBeforeDelete ( ) : void

Called before the object deletes its nodes from the address space.

OnBeforeInitialize ( ) : void

Called before the node is initialized from a source

ReadAttribute ( IOperationContext context, uint attributeId, DataValue value ) : ServiceResult

Reads an attribute for the node.

RemoveChild ( NodeSource child ) : void

Adds a child from the node.

UpdateAttributes ( ILocalNode source ) : void

Updates the attributes of the node.

UpdateReferences ( ILocalNode source ) : void

Copies the references from the source.

WriteAttribute ( uint attributeId, DataValue value ) : ServiceResult

Updates an attribute for the node.

메소드 상세

AddChild() 보호된 메소드

Adds a child to the node.
protected AddChild ( NodeSource child ) : void
child NodeSource
리턴 void

ApplyConfiguration() 보호된 메소드

Applies the configuration to the node.
protected ApplyConfiguration ( object configuration ) : void
configuration object
리턴 void

CheckNodeManagerState() 보호된 메소드

Verified that the current thread has locked the NodeManager.
protected CheckNodeManagerState ( ) : void
리턴 void

Clone() 공개 추상적인 메소드

Makes a copy of the node without any node ids specified.
public abstract Clone ( NodeSource parent ) : NodeSource
parent NodeSource
리턴 NodeSource

Create() 공개 메소드

Updates the object based from a configuration.
public Create ( NodeId parentId, NodeId referenceTypeId, NodeId nodeId, QualifiedName browseName, uint numericId, object configuration ) : void
parentId NodeId
referenceTypeId NodeId
nodeId NodeId
browseName QualifiedName
numericId uint
configuration object
리턴 void

CreateChildren() 보호된 메소드

Creates the children for the node.
protected CreateChildren ( object configuration ) : void
configuration object
리턴 void

CreateCopy() 공개 메소드

public CreateCopy ( NodeId nodeId ) : ILocalNode
nodeId NodeId
리턴 ILocalNode

CreateNode() 보호된 메소드

Creates the node in the server's address space.
protected CreateNode ( NodeId parentId, NodeId referenceTypeId ) : void
parentId NodeId
referenceTypeId NodeId
리턴 void

Delete() 공개 메소드

Deletes the Node from the address space.
This method is called deletes all nodes created when the type was instantiated. The subclass must implement DeleteChildren() to remove nodes that are not part of the type model. Before any processing starts this method calls OnBeforeDelete(). After successfully deleting all nodes this method calls OnAfterDelete().
public Delete ( ) : void
리턴 void

DeleteChild() 보호된 메소드

Creates the children for the node.
protected DeleteChild ( BaseInstanceSource child ) : BaseInstanceSource
child BaseInstanceSource
리턴 BaseInstanceSource

DeleteChildren() 보호된 메소드

Deletes the children for the node.
protected DeleteChildren ( ) : void
리턴 void

Dispose() 공개 메소드

Frees any unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Find() 보호된 메소드

Finds the node identified by the relative path.
protected Find ( IList relativePath, int index ) : NodeSource
relativePath IList
index int
리턴 NodeSource

FindMonitoredItem() 보호된 메소드

Returns the specified monitored item. Null if it does not exist.
protected FindMonitoredItem ( uint id ) : IMonitoredItem
id uint
리턴 IMonitoredItem

GetDisplayPath() 공개 메소드

Builds a path of display names starting with the top most parent.
public GetDisplayPath ( int count ) : LocalizedText
count int
리턴 LocalizedText

GetNamespaceIndex() 보호된 메소드

Returns the index for the namespace uri (adds it to the table if it does not already exist).
protected GetNamespaceIndex ( string namespaceUri ) : ushort
namespaceUri string
리턴 ushort

Initialize() 보호된 메소드

Initializes a node before it is created.
protected Initialize ( NodeId nodeId, QualifiedName browseName, uint numericId ) : void
nodeId NodeId
browseName QualifiedName
numericId uint
리턴 void

Initialize() 공개 메소드

Initializes a node from another node.
public Initialize ( NodeSource source ) : void
source NodeSource
리턴 void

InitializeChildren() 보호된 메소드

Initializes the child nodes.
protected InitializeChildren ( ) : void
리턴 void

MemberwiseClone() 공개 메소드

Makes a copy of the node without any node ids specified.
public MemberwiseClone ( ) : object
리턴 object

NodeSource() 보호된 메소드

Associates the object with a server (mandatory) and its model parent (optional).
protected NodeSource ( IServerInternal server, NodeSource parent ) : System
server IServerInternal
parent NodeSource
리턴 System

OnAfterCreate() 보호된 메소드

Called when the node has been created in address space.
protected OnAfterCreate ( object configuration ) : void
configuration object
리턴 void

OnAfterDelete() 보호된 메소드

Called after the object is deletes its nodes.
protected OnAfterDelete ( ) : void
리턴 void

OnAfterInitialize() 보호된 메소드

Called after the node has been initialized from a source.
protected OnAfterInitialize ( ) : void
리턴 void

OnBeforeCreate() 보호된 메소드

Called before the node is created in the address space,
protected OnBeforeCreate ( object configuration ) : object
configuration object
리턴 object

OnBeforeDelete() 보호된 메소드

Called before the object deletes its nodes from the address space.
protected OnBeforeDelete ( ) : void
리턴 void

OnBeforeInitialize() 보호된 메소드

Called before the node is initialized from a source
protected OnBeforeInitialize ( ) : void
리턴 void

OverrideValueStatus() 공개 메소드

Recursively overrides the status for value of any child variables.
public OverrideValueStatus ( StatusCode statusCode ) : void
statusCode StatusCode
리턴 void

Read() 공개 메소드

public Read ( IOperationContext context, uint attributeId, DataValue value ) : ServiceResult
context IOperationContext
attributeId uint
value DataValue
리턴 ServiceResult

ReadAttribute() 보호된 메소드

Reads an attribute for the node.
protected ReadAttribute ( IOperationContext context, uint attributeId, DataValue value ) : ServiceResult
context IOperationContext
attributeId uint
value DataValue
리턴 ServiceResult

RemoveChild() 보호된 메소드

Adds a child from the node.
protected RemoveChild ( NodeSource child ) : void
child NodeSource
리턴 void

Subscribe() 공개 메소드

Adds a subscription to the source.
public Subscribe ( IMonitoredItem monitoredItem ) : void
monitoredItem IMonitoredItem
리턴 void

SupportsAttribute() 공개 메소드

public SupportsAttribute ( uint attributeId ) : bool
attributeId uint
리턴 bool

ToString() 공개 메소드

Returns a string representation of the HierarchyReference.
public ToString ( ) : string
리턴 string

ToString() 공개 메소드

Returns a string representation of the HierarchyReference.
public ToString ( string format, IFormatProvider formatProvider ) : string
format string
formatProvider IFormatProvider
리턴 string

Unsubscribe() 공개 메소드

Removes a subscription from the source.
public Unsubscribe ( IMonitoredItem monitoredItem ) : void
monitoredItem IMonitoredItem
리턴 void

UpdateAttributes() 보호된 메소드

Updates the attributes of the node.
protected UpdateAttributes ( ILocalNode source ) : void
source ILocalNode
리턴 void

UpdateReferences() 보호된 메소드

Copies the references from the source.
protected UpdateReferences ( ILocalNode source ) : void
source ILocalNode
리턴 void

Write() 공개 메소드

public Write ( uint attributeId, DataValue value ) : ServiceResult
attributeId uint
value DataValue
리턴 ServiceResult

WriteAttribute() 보호된 메소드

Updates an attribute for the node.
protected WriteAttribute ( uint attributeId, DataValue value ) : ServiceResult
attributeId uint
value DataValue
리턴 ServiceResult