Table of Contents

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

StepIndex int

The step's index: the row's key.

PieceId int

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).

ToolId int

The id of the tool the step cut with (ToolId).

IsTouched bool

Whether the step removed material: the tool touched the workpiece (IsTouched).

Status byte

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.

IsRapid bool

Whether the step is a rapid traverse (IsRapid).

EndTimecodeTicks long

The ticks of the step's end timecode (EndTimecode).

SentenceIndex int

The 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

long

IsRapid

Whether the step is a rapid traverse (IsRapid).

public bool IsRapid { get; init; }

Property Value

bool

IsTouched

Whether the step removed material: the tool touched the workpiece (IsTouched).

public bool IsTouched { get; init; }

Property Value

bool

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

int

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

int

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

byte

StepIndex

The step's index: the row's key.

public int StepIndex { get; init; }

Property Value

int

ToolId

The id of the tool the step cut with (ToolId).

public int ToolId { get; init; }

Property Value

int