C# Class Opc.Ua.Server.BaseInstanceSource

Inheritance: NodeSource, INode
Exibir arquivo Open project: OPCFoundation/UA-.NETStandardLibrary Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method 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.

Protected Methods

Method 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 method

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

Create() public method

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
return void

DeleteReplacedChild() protected method

Replaces a shared child in the address space.
protected DeleteReplacedChild ( BaseInstanceSource child ) : BaseInstanceSource
child BaseInstanceSource
return BaseInstanceSource

Initialize() public method

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
return NodeId

Initialize() public method

public Initialize ( NodeSource source ) : void
source NodeSource
return void

InitializeOptionalChild() protected method

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
return BaseInstanceSource

InitializeSharedChild() protected method

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
return BaseInstanceSource

OnBeforeCreate() protected method

Initializes the instance before creating it.
protected OnBeforeCreate ( object configuration ) : object
configuration object
return object

ReadAttributeValue() public method

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
return DataValue

ReferenceSharedChild() protected method

Adds references to a shared child.
protected ReferenceSharedChild ( BaseInstanceSource child ) : BaseInstanceSource
child BaseInstanceSource
return BaseInstanceSource

ReplaceSharedChild() protected method

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
return BaseInstanceSource

SetMinimumSamplingInterval() public method

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

UnreferenceSharedChild() protected method

Removes references to a shared child.
protected UnreferenceSharedChild ( BaseInstanceSource child ) : BaseInstanceSource
child BaseInstanceSource
return BaseInstanceSource