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
Idint-
The weld identifier (primary key).
CommonAttrIdint-
Identifier of common weld attributes in table 98 (
welding_common_attr). Seam1Idint-
Identifier of seam 1 in table 46 (
welding_attr). Seam2Idint-
Identifier of seam 2 in table 46 (
welding_attr). CompoundSeam1Idint-
Compound seam 1 identifier.
CompoundSeam2Idint-
Compound seam 2 identifier.
Fields
ExpectedRowSize
The expected row body size in bytes: 24.
public const int ExpectedRowSize = 24Field Value
TableKey
The table key in model database sections: 20.
public const int TableKey = 20Field Value
Properties
CommonAttrId
Identifier of common weld attributes in table 98 (welding_common_attr).
public int CommonAttrId { get; init; }Property Value
CompoundSeam1Id
Compound seam 1 identifier.
public int CompoundSeam1Id { get; init; }Property Value
CompoundSeam2Id
Compound seam 2 identifier.
public int CompoundSeam2Id { get; init; }Property Value
Id
The weld identifier (primary key).
public int Id { get; init; }Property Value
Seam1Id
Identifier of seam 1 in table 46 (welding_attr).
public int Seam1Id { get; init; }Property Value
Seam2Id
Identifier of seam 2 in table 46 (welding_attr).
public int Seam2Id { get; init; }Property Value
Methods
Decode(ReadOnlySpan<byte>)
Decodes a row body into a TdbIO.WeldingRow.
public static WeldingRow Decode(ReadOnlySpan<byte> body)Parameters
bodyReadOnlySpan<byte>
Returns
Decode(TableRow)
Decodes the body of row into a TdbIO.WeldingRow.
public static WeldingRow Decode(TableRow row)Parameters
rowTableRow