QuickOPC User's Guide and Reference
UADataSetFieldContentMask Enumeration



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub.Configuration Namespace : UADataSetFieldContentMask Enumeration
Defines flags to include dataset field related information like status and timestamp in addition to the field value in the dataset message.
Syntax
'Declaration
 
<ComVisibleAttribute(True)>
<DisplayName2Attribute("OPC UA DataSet Field Content Mask")>
<FlagsAttribute()>
<GuidAttribute("FCD8B3CE-2C6A-4658-9463-9A1C13A3E934")>
Public Enum UADataSetFieldContentMask 
   Inherits System.Enum
   Implements System.IComparable, System.IConvertible, System.IFormattable 
'Usage
 
Dim instance As UADataSetFieldContentMask
[ComVisible(true)]
[DisplayName2("OPC UA DataSet Field Content Mask")]
[Flags()]
[Guid("FCD8B3CE-2C6A-4658-9463-9A1C13A3E934")]
public enum UADataSetFieldContentMask : System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
[ComVisible(true)]
[DisplayName2("OPC UA DataSet Field Content Mask")]
[Flags()]
[Guid("FCD8B3CE-2C6A-4658-9463-9A1C13A3E934")]
public enum class UADataSetFieldContentMask : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
Members
MemberValueDescription
None0The fields are represented as Variant.
RawData32If this flag is set, the values of the dataset are encoded as structure and all other field related flags are ignored.
ServerPicoseconds16The DataValue structure field ServerPicoSeconds is included in the DataSetMessages.

Remarks:

If this flag is set, the fields are represented as DataValue. This flag is ignored if the ServerTimestamp flag is not set.

Note that the casing (Picoseconds vs. PicoSeconds) is different from the value name in the OPC UA specification.

ServerTimestamp4The DataValue structure field ServerTimestamp is included in the DataSetMessages.

Remarks:

If this flag is set, the fields are represented as DataValue.

SourcePicoseconds8The DataValue structure field SourcePicoSeconds is included in the DataSetMessages.

Remarks:

If this flag is set, the fields are represented as DataValue. This flag is ignored if the SourceTimestamp flag is not set.

Note that the casing (Picoseconds vs. PicoSeconds) is different from the value name in the OPC UA specification.

SourceTimestamp2The DataValue structure field SourceTimestamp is included in the DataSetMessages.

Remarks:

If this flag is set, the fields are represented as DataValue.

StatusCode1The DataValue structure field StatusCode is included in the DataSetMessages.

Remarks:

If this flag is set, the fields are represented as DataValue.

Remarks

Dataset fields can be represented as raw data, Variant or DataValue.

If none of the flags are set, the fields are represented as Variant.

If the RawData flag is set, the fields are represented as RawData and all other bits are ignored.

If one of the following flags is set, the fields are represented as DataValue:

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         OpcLabs.EasyOpc.UA.PubSub.Configuration.UADataSetFieldContentMask

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also