Struct AssemblyRow
- Namespace
- TdbIO
- Assembly
- TdbIO.dll
Decoded row of table 2 (assembly, size 92): assembly definition and main part reference.
public readonly record struct AssemblyRow : IEquatable<AssemblyRow>Implements
Inherited Members
Constructors
AssemblyRow(int, int, int, int, int, string, int, int)
Decoded row of table 2 (assembly, size 92): assembly definition and main part reference.
public AssemblyRow(int Id, int Type, int Class, int MainPartId, int Lot, string Name, int Flags, int MainPartByUser)Parameters
Idint-
The assembly identifier (primary key).
Typeint-
The assembly type code.
Classint-
The assembly class code.
MainPartIdint-
The identifier of the main part (
dum). Lotint-
The lot/tracking number.
Namestring-
The assembly name (e.g. "BEAM", "COLUMN", "SLAB").
Flagsint-
Assembly flags.
MainPartByUserint-
Whether the main part was set explicitly by the user.
Fields
ExpectedRowSize
The expected row body size in bytes: 92.
public const int ExpectedRowSize = 92Field Value
TableKey
The table key in model database sections: 2.
public const int TableKey = 2Field Value
Properties
Class
The assembly class code.
public int Class { get; init; }Property Value
Flags
Assembly flags.
public int Flags { get; init; }Property Value
Id
The assembly identifier (primary key).
public int Id { get; init; }Property Value
Lot
The lot/tracking number.
public int Lot { get; init; }Property Value
MainPartByUser
Whether the main part was set explicitly by the user.
public int MainPartByUser { get; init; }Property Value
MainPartId
The identifier of the main part (dum).
public int MainPartId { get; init; }Property Value
Name
The assembly name (e.g. "BEAM", "COLUMN", "SLAB").
public string Name { get; init; }Property Value
Type
The assembly type code.
public int Type { get; init; }Property Value
Methods
Decode(ReadOnlySpan<byte>)
Decodes a row body into an TdbIO.AssemblyRow.
public static AssemblyRow Decode(ReadOnlySpan<byte> body)Parameters
bodyReadOnlySpan<byte>
Returns
Decode(TableRow)
Decodes the body of row into an TdbIO.AssemblyRow.
public static AssemblyRow Decode(TableRow row)Parameters
rowTableRow