Table of Contents

Struct S101Attribute

Namespace
EncDotNet.S100.Datasets.S101
Assembly
EncDotNet.S100.Datasets.S101.dll

Attribute value from the ATTR field.

public readonly record struct S101Attribute : IEquatable<S101Attribute>
Implements
Inherited Members

Constructors

S101Attribute(ushort, ushort, string, ushort, S101UpdateInstruction)

Attribute value from the ATTR field.

public S101Attribute(ushort NumericCode, ushort Index, string Value, ushort ParentIndex = 0, S101UpdateInstruction UpdateInstruction = S101UpdateInstruction.None)

Parameters

NumericCode ushort

Numeric attribute code resolved against AttributeTypeCatalogue.

Index ushort

Sequence index within a complex attribute (1 marks the start of an instance); maps to ATIX.

Value string

Attribute value as a string; numeric and enumerated values are stringified.

ParentIndex ushort

Parent attribute index for nested/complex attributes (PAIX); 0 when top-level.

UpdateInstruction S101UpdateInstruction

Per-attribute update instruction (ATIN) used during update application; None in base cells.

Properties

Index

Sequence index within a complex attribute (1 marks the start of an instance); maps to ATIX.

public ushort Index { get; init; }

Property Value

ushort

NumericCode

Numeric attribute code resolved against AttributeTypeCatalogue.

public ushort NumericCode { get; init; }

Property Value

ushort

ParentIndex

Parent attribute index for nested/complex attributes (PAIX); 0 when top-level.

public ushort ParentIndex { get; init; }

Property Value

ushort

UpdateInstruction

Per-attribute update instruction (ATIN) used during update application; None in base cells.

public S101UpdateInstruction UpdateInstruction { get; init; }

Property Value

S101UpdateInstruction

Value

Attribute value as a string; numeric and enumerated values are stringified.

public string Value { get; init; }

Property Value

string