C# Class Opc.Ua.Server.BaseInstanceSource

Inheritance: NodeSource, INode
Afficher le fichier Open project: OPCFoundation/UA-.NETStandardLibrary Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

BaseInstanceSource() protected méthode

Adds the source to the type table.
protected BaseInstanceSource ( IServerInternal server, NodeSource parent ) : System
server IServerInternal
parent NodeSource
Résultat System

Create() public méthode

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
Résultat void

DeleteReplacedChild() protected méthode

Replaces a shared child in the address space.
protected DeleteReplacedChild ( BaseInstanceSource child ) : BaseInstanceSource
child BaseInstanceSource
Résultat BaseInstanceSource

Initialize() public méthode

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
Résultat NodeId

Initialize() public méthode

public Initialize ( NodeSource source ) : void
source NodeSource
Résultat void

InitializeOptionalChild() protected méthode

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
Résultat BaseInstanceSource

InitializeSharedChild() protected méthode

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
Résultat BaseInstanceSource

OnBeforeCreate() protected méthode

Initializes the instance before creating it.
protected OnBeforeCreate ( object configuration ) : object
configuration object
Résultat object

ReadAttributeValue() public méthode

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
Résultat DataValue

ReferenceSharedChild() protected méthode

Adds references to a shared child.
protected ReferenceSharedChild ( BaseInstanceSource child ) : BaseInstanceSource
child BaseInstanceSource
Résultat BaseInstanceSource

ReplaceSharedChild() protected méthode

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
Résultat BaseInstanceSource

SetMinimumSamplingInterval() public méthode

Recursively sets the minimum sampling interval for all variables.
public SetMinimumSamplingInterval ( double samplingInterval ) : void
samplingInterval double
Résultat void

UnreferenceSharedChild() protected méthode

Removes references to a shared child.
protected UnreferenceSharedChild ( BaseInstanceSource child ) : BaseInstanceSource
child BaseInstanceSource
Résultat BaseInstanceSource