C# Class Opc.Ua.MethodNode

A method node in the server address space.
Inheritance: IMethod
ファイルを表示 Open project: OPCFoundation/UA-.NETStandardLibrary

Public Methods

Method Description
MethodNode ( ILocalNode source ) : System

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

SupportsAttribute ( uint attributeId ) : bool

Whether the node supports the specified attribute.

Protected Methods

Method Description
Read ( uint attributeId ) : object

Reads the value of an attribute.

Write ( uint attributeId, object value ) : ServiceResult

Writes the value of an attribute.

Method Details

MethodNode() public method

Creates a node from another node (copies attributes - not references).
public MethodNode ( ILocalNode source ) : System
source ILocalNode The source.
return System

Read() protected method

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

SupportsAttribute() public method

Whether the node supports the specified attribute.
public SupportsAttribute ( uint attributeId ) : bool
attributeId uint The attribute id.
return bool

Write() protected method

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