C# 클래스 Opc.Ua.Node

A node in the server address space.
상속: IFormattable, ILocalNode
파일 보기 프로젝트 열기: OPCFoundation/UA-.NETStandardLibrary 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Copy ( ILocalNode source ) : Node

Returns a copy of the node

CreateCopy ( Opc.Ua.NodeId nodeId ) : ILocalNode

Creates a copy of the node.

Find ( Opc.Ua.NodeId referenceTypeId, bool isInverse ) : IList

Returns all targets of the specified reference type.

FindTarget ( Opc.Ua.NodeId referenceTypeId, bool isInverse, int index ) : Opc.Ua.ExpandedNodeId

Returns a target of the specified reference type.

GetSuperType ( ITypeTable typeTree ) : Opc.Ua.ExpandedNodeId

Returns the supertype for the Node if one exists.

Includes subtypes of HasSubtype if typeTree != null.

Node ( ILocalNode source ) : System

Creates a node from another node (copies attributes - not references).

Node ( ReferenceDescription reference ) : System

Creates a node from a reference desciption.

Read ( IOperationContext context, uint attributeId, Opc.Ua.DataValue value ) : ServiceResult

Reads the value of a attribute.

ReferenceExists ( Opc.Ua.NodeId referenceTypeId, bool isInverse, Opc.Ua.ExpandedNodeId targetId ) : bool

Returns true if the reference exist.

SupportsAttribute ( uint attributeId ) : bool

Returns true if the node supports the attribute.

ToString ( ) : string

Returns the string representation of the object.

ToString ( string format, IFormatProvider provider ) : string

Returns the string representation of the object.

Write ( uint attributeId, Opc.Ua.DataValue value ) : ServiceResult

Writes the value of an attribute.

보호된 메소드들

메소드 설명
Read ( uint attributeId ) : object

Reads the value of an attribute.

Write ( uint attributeId, object value ) : ServiceResult

Writes the value of an attribute.

메소드 상세

Copy() 공개 정적인 메소드

Returns a copy of the node
public static Copy ( ILocalNode source ) : Node
source ILocalNode The source.
리턴 Node

CreateCopy() 공개 메소드

Creates a copy of the node.
public CreateCopy ( Opc.Ua.NodeId nodeId ) : ILocalNode
nodeId Opc.Ua.NodeId The node identifier.
리턴 ILocalNode

Find() 공개 메소드

Returns all targets of the specified reference type.
public Find ( Opc.Ua.NodeId referenceTypeId, bool isInverse ) : IList
referenceTypeId Opc.Ua.NodeId The reference type id.
isInverse bool if set to true [is inverse].
리턴 IList

FindTarget() 공개 메소드

Returns a target of the specified reference type.
public FindTarget ( Opc.Ua.NodeId referenceTypeId, bool isInverse, int index ) : Opc.Ua.ExpandedNodeId
referenceTypeId Opc.Ua.NodeId The reference type id.
isInverse bool if set to true [is inverse].
index int The index.
리턴 Opc.Ua.ExpandedNodeId

GetSuperType() 공개 메소드

Returns the supertype for the Node if one exists.
Includes subtypes of HasSubtype if typeTree != null.
public GetSuperType ( ITypeTable typeTree ) : Opc.Ua.ExpandedNodeId
typeTree ITypeTable The type tree.
리턴 Opc.Ua.ExpandedNodeId

Node() 공개 메소드

Creates a node from another node (copies attributes - not references).
public Node ( ILocalNode source ) : System
source ILocalNode The source.
리턴 System

Node() 공개 메소드

Creates a node from a reference desciption.
public Node ( ReferenceDescription reference ) : System
reference ReferenceDescription The reference.
리턴 System

Read() 공개 메소드

Reads the value of a attribute.
public Read ( IOperationContext context, uint attributeId, Opc.Ua.DataValue value ) : ServiceResult
context IOperationContext The context.
attributeId uint The attribute id.
value Opc.Ua.DataValue The value.
리턴 ServiceResult

Read() 보호된 메소드

Reads the value of an attribute.
protected Read ( uint attributeId ) : object
attributeId uint The attribute id.
리턴 object

ReferenceExists() 공개 메소드

Returns true if the reference exist.
public ReferenceExists ( Opc.Ua.NodeId referenceTypeId, bool isInverse, Opc.Ua.ExpandedNodeId targetId ) : bool
referenceTypeId Opc.Ua.NodeId The reference type id.
isInverse bool if set to true [is inverse].
targetId Opc.Ua.ExpandedNodeId The target id.
리턴 bool

SupportsAttribute() 공개 메소드

Returns true if the node supports the attribute.
public SupportsAttribute ( uint attributeId ) : bool
attributeId uint The attribute id.
리턴 bool

ToString() 공개 메소드

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

ToString() 공개 메소드

Returns the string representation of the object.
public ToString ( string format, IFormatProvider provider ) : string
format string The format.
provider IFormatProvider The provider.
리턴 string

Write() 공개 메소드

Writes the value of an attribute.
public Write ( uint attributeId, Opc.Ua.DataValue value ) : ServiceResult
attributeId uint The attribute id.
value Opc.Ua.DataValue The value.
리턴 ServiceResult

Write() 보호된 메소드

Writes the value of an attribute.
protected Write ( uint attributeId, object value ) : ServiceResult
attributeId uint The attribute id.
value object The value.
리턴 ServiceResult