Table of Contents

Struct WeldingRow

Namespace
TdbIO
Assembly
TdbIO.dll

Decoded row of table 20 (welding, size 24): weld connection and seam references.

public readonly record struct WeldingRow : IEquatable<WeldingRow>

Implements

Inherited Members

Constructors

WeldingRow(int, int, int, int, int, int)

Decoded row of table 20 (welding, size 24): weld connection and seam references.

public WeldingRow(int Id, int CommonAttrId, int Seam1Id, int Seam2Id, int CompoundSeam1Id, int CompoundSeam2Id)

Parameters

Id int

The weld identifier (primary key).

CommonAttrId int

Identifier of common weld attributes in table 98 (welding_common_attr).

Seam1Id int

Identifier of seam 1 in table 46 (welding_attr).

Seam2Id int

Identifier of seam 2 in table 46 (welding_attr).

CompoundSeam1Id int

Compound seam 1 identifier.

CompoundSeam2Id int

Compound seam 2 identifier.

Fields

ExpectedRowSize

The expected row body size in bytes: 24.

public const int ExpectedRowSize = 24

Field Value

int

TableKey

The table key in model database sections: 20.

public const int TableKey = 20

Field Value

int

Properties

CommonAttrId

Identifier of common weld attributes in table 98 (welding_common_attr).

public int CommonAttrId { get; init; }

Property Value

int

CompoundSeam1Id

Compound seam 1 identifier.

public int CompoundSeam1Id { get; init; }

Property Value

int

CompoundSeam2Id

Compound seam 2 identifier.

public int CompoundSeam2Id { get; init; }

Property Value

int

Id

The weld identifier (primary key).

public int Id { get; init; }

Property Value

int

Seam1Id

Identifier of seam 1 in table 46 (welding_attr).

public int Seam1Id { get; init; }

Property Value

int

Seam2Id

Identifier of seam 2 in table 46 (welding_attr).

public int Seam2Id { get; init; }

Property Value

int

Methods

Decode(ReadOnlySpan<byte>)

Decodes a row body into a TdbIO.WeldingRow.

public static WeldingRow Decode(ReadOnlySpan<byte> body)

Parameters

body ReadOnlySpan<byte>

Returns

WeldingRow

Decode(TableRow)

Decodes the body of row into a TdbIO.WeldingRow.

public static WeldingRow Decode(TableRow row)

Parameters

row TableRow

Returns

WeldingRow