C# Class Opc.Ua.ReferenceTypeState

The base class for all reference type nodes.
Inheritance: BaseTypeState
Afficher le fichier Open project: OPCFoundation/UA-.NETStandardLibrary Class Usage Examples

Méthodes publiques

Свойство Type Description
OnReadInverseName NodeAttributeEventHandler
OnReadSymmetric NodeAttributeEventHandler
OnWriteInverseName NodeAttributeEventHandler
OnWriteSymmetric NodeAttributeEventHandler

Méthodes publiques

Méthode Description
Construct ( NodeState parent ) : NodeState

Constructs an instance of a node.

GetAttributesToSave ( ISystemContext context ) : AttributesToSave

Returns a mask which indicates which attributes have non-default value.

ReferenceTypeState ( ) : System

Initializes the instance with its defalt attribute values.

Save ( ISystemContext context, BinaryEncoder encoder, AttributesToSave attributesToSave ) : void

Saves object in an binary stream.

Save ( ISystemContext context, XmlEncoder encoder ) : void

Saves the attributes from the stream.

Update ( ISystemContext context, BinaryDecoder decoder, AttributesToSave attibutesToLoad ) : void

Updates the specified context.

Update ( ISystemContext context, XmlDecoder decoder ) : void

Updates the attributes from the stream.

Méthodes protégées

Méthode Description
Export ( ISystemContext context, Node node ) : void

Exports a copy of the node to a node table.

Initialize ( ISystemContext context ) : void

Initializes the instance with the default values.

Initialize ( ISystemContext context, NodeState source ) : void

Initializes the instance from another instance.

ReadNonValueAttribute ( ISystemContext context, uint attributeId, object &value ) : ServiceResult

Reads the value for any non-value attribute.

WriteNonValueAttribute ( ISystemContext context, uint attributeId, object value ) : ServiceResult

Write the value for any non-value attribute.

Method Details

Construct() public static méthode

Constructs an instance of a node.
public static Construct ( NodeState parent ) : NodeState
parent NodeState The parent.
Résultat NodeState

Export() protected méthode

Exports a copy of the node to a node table.
protected Export ( ISystemContext context, Node node ) : void
context ISystemContext The context.
node Node The node.
Résultat void

GetAttributesToSave() public méthode

Returns a mask which indicates which attributes have non-default value.
public GetAttributesToSave ( ISystemContext context ) : AttributesToSave
context ISystemContext The context for the system being accessed.
Résultat AttributesToSave

Initialize() protected méthode

Initializes the instance with the default values.
protected Initialize ( ISystemContext context ) : void
context ISystemContext
Résultat void

Initialize() protected méthode

Initializes the instance from another instance.
protected Initialize ( ISystemContext context, NodeState source ) : void
context ISystemContext
source NodeState
Résultat void

ReadNonValueAttribute() protected méthode

Reads the value for any non-value attribute.
protected ReadNonValueAttribute ( ISystemContext context, uint attributeId, object &value ) : ServiceResult
context ISystemContext
attributeId uint
value object
Résultat ServiceResult

ReferenceTypeState() public méthode

Initializes the instance with its defalt attribute values.
public ReferenceTypeState ( ) : System
Résultat System

Save() public méthode

Saves object in an binary stream.
public Save ( ISystemContext context, BinaryEncoder encoder, AttributesToSave attributesToSave ) : void
context ISystemContext The context user.
encoder BinaryEncoder The encoder to write to.
attributesToSave AttributesToSave The masks indicating what attributes to write.
Résultat void

Save() public méthode

Saves the attributes from the stream.
public Save ( ISystemContext context, XmlEncoder encoder ) : void
context ISystemContext The context for the system being accessed.
encoder XmlEncoder The encoder wrapping the stream to write.
Résultat void

Update() public méthode

Updates the specified context.
public Update ( ISystemContext context, BinaryDecoder decoder, AttributesToSave attibutesToLoad ) : void
context ISystemContext The context.
decoder BinaryDecoder The decoder.
attibutesToLoad AttributesToSave The attributes to load.
Résultat void

Update() public méthode

Updates the attributes from the stream.
public Update ( ISystemContext context, XmlDecoder decoder ) : void
context ISystemContext The context for the system being accessed.
decoder XmlDecoder The decoder wrapping the stream to read.
Résultat void

WriteNonValueAttribute() protected méthode

Write the value for any non-value attribute.
protected WriteNonValueAttribute ( ISystemContext context, uint attributeId, object value ) : ServiceResult
context ISystemContext
attributeId uint
value object
Résultat ServiceResult

Property Details

OnReadInverseName public_oe property

Raised when the InverseName attribute is read.
public NodeAttributeEventHandler OnReadInverseName
Résultat NodeAttributeEventHandler

OnReadSymmetric public_oe property

Raised when the Symmetric attribute is read.
public NodeAttributeEventHandler OnReadSymmetric
Résultat NodeAttributeEventHandler

OnWriteInverseName public_oe property

Raised when the InverseName attribute is written.
public NodeAttributeEventHandler OnWriteInverseName
Résultat NodeAttributeEventHandler

OnWriteSymmetric public_oe property

Raised when the Symmetric attribute is written.
public NodeAttributeEventHandler OnWriteSymmetric
Résultat NodeAttributeEventHandler