Struct NcResultStepRow
- Namespace
- Hi.SqliteUtils
- Assembly
- HiNc.dll
Internal Use Only. The narrow row of one machining step in a result file, read without decoding the step's chunk (TryGetStepRow(int, out NcResultStepRow)): the queryable scalars of the step. Everything else of the step – its motion, its removal scalars, its collided pairs, its measured time, the pair on the workpiece geometry coordinate – is in the step's chunk and read by TryGetMachiningStep(int, out MachiningStepRecord). The two nullable columns read -1 for NULL.
public readonly record struct NcResultStepRow : IEquatable<NcResultStepRow>
- Implements
- Inherited Members
- Extension Methods
Constructors
NcResultStepRow(int, int, int, bool, byte, bool, long, int)
Internal Use Only. The narrow row of one machining step in a result file, read without decoding the step's chunk (TryGetStepRow(int, out NcResultStepRow)): the queryable scalars of the step. Everything else of the step – its motion, its removal scalars, its collided pairs, its measured time, the pair on the workpiece geometry coordinate – is in the step's chunk and read by TryGetMachiningStep(int, out MachiningStepRecord). The two nullable columns read -1 for NULL.
public NcResultStepRow(int StepIndex, int PieceId, int ToolId, bool IsTouched, byte Status, bool IsRapid, long EndTimecodeTicks, int SentenceIndex)
Parameters
StepIndexintThe step's index: the row's key.
PieceIdintThe id the recorder gave the step's sentence; -1 when it gave none, for a step without a sentence among others (the column is NULL).
ToolIdintThe id of the tool the step cut with (ToolId).
IsTouchedboolWhether the step removed material: the tool touched the workpiece (IsTouched).
StatusbyteThe force brief's tri-state tag of the step's removal scalars (MillingForceBriefTag): 0 the physics did not run, 1 no cut, 2 computed.
IsRapidboolWhether the step is a rapid traverse (IsRapid).
EndTimecodeTickslongThe ticks of the step's end timecode (EndTimecode).
SentenceIndexintThe execution-order index of the step's sentence, a diagnostic column; -1 when the step has no sentence (the column is NULL).
Properties
EndTimecodeTicks
The ticks of the step's end timecode (EndTimecode).
public long EndTimecodeTicks { get; init; }
Property Value
IsRapid
Whether the step is a rapid traverse (IsRapid).
public bool IsRapid { get; init; }
Property Value
IsTouched
Whether the step removed material: the tool touched the workpiece (IsTouched).
public bool IsTouched { get; init; }
Property Value
PieceId
The id the recorder gave the step's sentence; -1 when it gave none, for a step without a sentence among others (the column is NULL).
public int PieceId { get; init; }
Property Value
SentenceIndex
The execution-order index of the step's sentence, a diagnostic column; -1 when the step has no sentence (the column is NULL).
public int SentenceIndex { get; init; }
Property Value
Status
The force brief's tri-state tag of the step's removal scalars (MillingForceBriefTag): 0 the physics did not run, 1 no cut, 2 computed.
public byte Status { get; init; }
Property Value
StepIndex
The step's index: the row's key.
public int StepIndex { get; init; }
Property Value
ToolId
The id of the tool the step cut with (ToolId).
public int ToolId { get; init; }