Struct ObjectPhaseRow
- Namespace
- TdbIO
- Assembly
- TdbIO.dll
Decoded row of table 141 (object_phase, size 8): project phase assignment.
public readonly record struct ObjectPhaseRow : IEquatable<ObjectPhaseRow>Implements
Inherited Members
Constructors
ObjectPhaseRow(int, int)
Decoded row of table 141 (object_phase, size 8): project phase assignment.
public ObjectPhaseRow(int ObjectId, int PhaseNumber)Parameters
Fields
ExpectedRowSize
The expected row body size in bytes: 8.
public const int ExpectedRowSize = 8Field Value
TableKey
The table key in model database sections: 141.
public const int TableKey = 141Field Value
Properties
ObjectId
The object identifier.
public int ObjectId { get; init; }Property Value
PhaseNumber
The phase number.
public int PhaseNumber { get; init; }Property Value
Methods
Decode(ReadOnlySpan<byte>)
Decodes a row body into an TdbIO.ObjectPhaseRow.
public static ObjectPhaseRow Decode(ReadOnlySpan<byte> body)Parameters
bodyReadOnlySpan<byte>
Returns
Decode(TableRow)
Decodes the body of row into an TdbIO.ObjectPhaseRow.
public static ObjectPhaseRow Decode(TableRow row)Parameters
rowTableRow