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

The base class for all type nodes.
Наследование: NodeState
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
OnReadIsAbstract NodeAttributeEventHandler
OnWriteIsAbstract NodeAttributeEventHandler

Открытые методы

Метод Описание
GetAttributesToSave ( ISystemContext context ) : AttributesToSave

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

MemberwiseClone ( ) : object

Makes a copy of the node and all children.

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.

Защищенные методы

Метод Описание
BaseTypeState ( NodeClass nodeClass ) : System

Initializes the type with its defalt attribute values.

Export ( ISystemContext context, Node node ) : void

Exports a copt of the node to a node table.

Initialize ( ISystemContext context, NodeState source ) : void

Initializes the instance from another instance.

PopulateBrowser ( ISystemContext context, NodeBrowser browser ) : void

Populates the browser with references that meet the criteria.

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.

Описание методов

BaseTypeState() защищенный Метод

Initializes the type with its defalt attribute values.
protected BaseTypeState ( NodeClass nodeClass ) : System
nodeClass NodeClass
Результат System

Export() защищенный Метод

Exports a copt of the node to a node table.
protected Export ( ISystemContext context, Node node ) : void
context ISystemContext The context.
node Node The node.
Результат void

GetAttributesToSave() публичный Метод

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.
Результат AttributesToSave

Initialize() защищенный Метод

Initializes the instance from another instance.
protected Initialize ( ISystemContext context, NodeState source ) : void
context ISystemContext
source NodeState
Результат void

MemberwiseClone() публичный Метод

Makes a copy of the node and all children.
public MemberwiseClone ( ) : object
Результат object

PopulateBrowser() защищенный Метод

Populates the browser with references that meet the criteria.
protected PopulateBrowser ( ISystemContext context, NodeBrowser browser ) : void
context ISystemContext The context for the current operation.
browser NodeBrowser The browser to populate.
Результат void

ReadNonValueAttribute() защищенный Метод

Reads the value for any non-value attribute.
protected ReadNonValueAttribute ( ISystemContext context, uint attributeId, object &value ) : ServiceResult
context ISystemContext
attributeId uint
value object
Результат ServiceResult

Save() публичный Метод

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.
Результат void

Save() публичный Метод

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.
Результат void

Update() публичный Метод

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.
Результат void

Update() публичный Метод

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.
Результат void

WriteNonValueAttribute() защищенный Метод

Write the value for any non-value attribute.
protected WriteNonValueAttribute ( ISystemContext context, uint attributeId, object value ) : ServiceResult
context ISystemContext
attributeId uint
value object
Результат ServiceResult

Описание свойств

OnReadIsAbstract публичное свойство

Raised when the IsAbstract attribute is read.
public NodeAttributeEventHandler OnReadIsAbstract
Результат NodeAttributeEventHandler

OnWriteIsAbstract публичное свойство

Raised when the IsAbstract attribute is written.
public NodeAttributeEventHandler OnWriteIsAbstract
Результат NodeAttributeEventHandler