IAccessorValueFactoryCreateValue Method

Creates the symbols value from raw memory data.


Namespace: TwinCAT.ValueAccess
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

Object CreateValue(
    ISymbol symbol,
    ReadOnlyMemory<byte> sourceData,
    IDictionary<ISymbol, ReadOnlyMemory<byte>>? sourceStaticData,
    IValue? parent,
    DateTimeOffset timeStamp
)

Parameters

symbol  ISymbol

The symbol.

sourceData  ReadOnlyMemoryByte

The (non-static) raw data.

sourceStaticData  IDictionaryISymbol, ReadOnlyMemoryByte

The the static raw value data.

parent  IValue

The parent value

timeStamp  DateTimeOffset

The time stamp.

Return Value

Object
System.Object.

Remarks

The parent argument is used to organize values in hierarchies, equally to the corresponding symbol/instance trees.

Reference

IAccessorValueFactory Interface TwinCAT.ValueAccess Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026