C# Класс Opc.Ua.Node

A node in the server address space.
Наследование: IFormattable, ILocalNode
Показать файл Открыть проект Примеры использования класса

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