C# Класс Opc.Ua.Server.BaseInstanceSource

Наследование: NodeSource, INode
Показать файл Открыть проект Примеры использования класса

Private Properties

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

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

Метод Описание
Create ( NodeId parentId, NodeId referenceTypeId, NodeId nodeId, QualifiedName browseName, uint numericId, object configuration ) : void

Updates the object based from a configuration.

Initialize ( NodeId referenceTypeId, NodeId nodeId, QualifiedName browseName, uint numericId, NodeId typeDefinitionId ) : NodeId

Sets the NodeId, BrowseName and TypeDefinition

Initialize ( NodeSource source ) : void
ReadAttributeValue ( IOperationContext context, ExpandedNodeId typeDefinitionId, IList relativePath, uint attributeId, NumericRange indexRange ) : DataValue

Reads the value for an attribute of a node.

SetMinimumSamplingInterval ( double samplingInterval ) : void

Recursively sets the minimum sampling interval for all variables.

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

Метод Описание
BaseInstanceSource ( IServerInternal server, NodeSource parent ) : System

Adds the source to the type table.

DeleteReplacedChild ( BaseInstanceSource child ) : BaseInstanceSource

Replaces a shared child in the address space.

InitializeOptionalChild ( ConstructInstanceDelegate constructInstanceDelegate, NodeId referenceTypeId, QualifiedName browseName, uint numericId, object configuration ) : BaseInstanceSource

Initializes an optinal child based on what is in the address space.

InitializeSharedChild ( BaseInstanceSource sharedChild, ConstructInstanceDelegate constructInstanceDelegate, NodeId referenceTypeId, QualifiedName browseName, uint numericId, object configuration ) : BaseInstanceSource

Initializes an shared child based on what is in the address space.

OnBeforeCreate ( object configuration ) : object

Initializes the instance before creating it.

ReferenceSharedChild ( BaseInstanceSource child ) : BaseInstanceSource

Adds references to a shared child.

ReplaceSharedChild ( BaseInstanceSource child, NodeId nodeId, NodeId referenceTypeId, QualifiedName browseName, uint numericId, NodeId typeDefinitionId, object configuration ) : BaseInstanceSource

Replaces a shared child in the address space.

UnreferenceSharedChild ( BaseInstanceSource child ) : BaseInstanceSource

Removes references to a shared child.

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

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

Adds the source to the type table.
protected BaseInstanceSource ( IServerInternal server, NodeSource parent ) : System
server IServerInternal
parent NodeSource
Результат System

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

Updates the object based from a configuration.
public Create ( NodeId parentId, NodeId referenceTypeId, NodeId nodeId, QualifiedName browseName, uint numericId, object configuration ) : void
parentId NodeId
referenceTypeId NodeId
nodeId NodeId
browseName QualifiedName
numericId uint
configuration object
Результат void

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

Replaces a shared child in the address space.
protected DeleteReplacedChild ( BaseInstanceSource child ) : BaseInstanceSource
child BaseInstanceSource
Результат BaseInstanceSource

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

Sets the NodeId, BrowseName and TypeDefinition
public Initialize ( NodeId referenceTypeId, NodeId nodeId, QualifiedName browseName, uint numericId, NodeId typeDefinitionId ) : NodeId
referenceTypeId NodeId
nodeId NodeId
browseName QualifiedName
numericId uint
typeDefinitionId NodeId
Результат NodeId

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

public Initialize ( NodeSource source ) : void
source NodeSource
Результат void

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

Initializes an optinal child based on what is in the address space.
protected InitializeOptionalChild ( ConstructInstanceDelegate constructInstanceDelegate, NodeId referenceTypeId, QualifiedName browseName, uint numericId, object configuration ) : BaseInstanceSource
constructInstanceDelegate ConstructInstanceDelegate
referenceTypeId NodeId
browseName QualifiedName
numericId uint
configuration object
Результат BaseInstanceSource

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

Initializes an shared child based on what is in the address space.
protected InitializeSharedChild ( BaseInstanceSource sharedChild, ConstructInstanceDelegate constructInstanceDelegate, NodeId referenceTypeId, QualifiedName browseName, uint numericId, object configuration ) : BaseInstanceSource
sharedChild BaseInstanceSource
constructInstanceDelegate ConstructInstanceDelegate
referenceTypeId NodeId
browseName QualifiedName
numericId uint
configuration object
Результат BaseInstanceSource

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

Initializes the instance before creating it.
protected OnBeforeCreate ( object configuration ) : object
configuration object
Результат object

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

Reads the value for an attribute of a node.
public ReadAttributeValue ( IOperationContext context, ExpandedNodeId typeDefinitionId, IList relativePath, uint attributeId, NumericRange indexRange ) : DataValue
context IOperationContext
typeDefinitionId ExpandedNodeId
relativePath IList
attributeId uint
indexRange NumericRange
Результат DataValue

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

Adds references to a shared child.
protected ReferenceSharedChild ( BaseInstanceSource child ) : BaseInstanceSource
child BaseInstanceSource
Результат BaseInstanceSource

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

Replaces a shared child in the address space.
protected ReplaceSharedChild ( BaseInstanceSource child, NodeId nodeId, NodeId referenceTypeId, QualifiedName browseName, uint numericId, NodeId typeDefinitionId, object configuration ) : BaseInstanceSource
child BaseInstanceSource
nodeId NodeId
referenceTypeId NodeId
browseName QualifiedName
numericId uint
typeDefinitionId NodeId
configuration object
Результат BaseInstanceSource

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

Recursively sets the minimum sampling interval for all variables.
public SetMinimumSamplingInterval ( double samplingInterval ) : void
samplingInterval double
Результат void

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

Removes references to a shared child.
protected UnreferenceSharedChild ( BaseInstanceSource child ) : BaseInstanceSource
child BaseInstanceSource
Результат BaseInstanceSource