Table of Contents

Struct RapidCutMonitor.Sample

Namespace
Hi.MachiningProcs
Assembly
HiMech.dll

One built step as the monitor sees it — the few facts the fold needs, detached from MachiningStep so the fold is testable on synthetic steps.

public readonly record struct RapidCutMonitor.Sample : IEquatable<RapidCutMonitor.Sample>
Implements
Inherited Members
Extension Methods

Constructors

Sample(int, int?, object, ISentenceCarrier, bool, bool, bool, double, double)

One built step as the monitor sees it — the few facts the fold needs, detached from MachiningStep so the fold is testable on synthetic steps.

public Sample(int StepIndex, int? LineNo, object LineKey, ISentenceCarrier Carrier, bool IsRapid, bool IsTouched, bool IsSpindleStopped, double RemovedVolume_mm3, double CuttingDepth_mm)

Parameters

StepIndex int

Execution-order index of the step.

LineNo int?

NC line number, or null where the runner carries none (CSV / CL replay).

LineKey object

Fold key: the line number when known, else the sentence, else the step index.

Carrier ISentenceCarrier

NC-source carrier of the step; anchors the report. May be null.

IsRapid bool

Whether the step was commanded as rapid traverse.

IsTouched bool

Whether the step touched the workpiece.

IsSpindleStopped bool

Whether the spindle was stopped on this step.

RemovedVolume_mm3 double

Stock removed by this step in mm³ (0 when untouched or unknown).

CuttingDepth_mm double

Axial cutting depth of this step in mm (0 when untouched).

Properties

Carrier

NC-source carrier of the step; anchors the report. May be null.

public ISentenceCarrier Carrier { get; init; }

Property Value

ISentenceCarrier

CuttingDepth_mm

Axial cutting depth of this step in mm (0 when untouched).

public double CuttingDepth_mm { get; init; }

Property Value

double

IsRapid

Whether the step was commanded as rapid traverse.

public bool IsRapid { get; init; }

Property Value

bool

IsSpindleStopped

Whether the spindle was stopped on this step.

public bool IsSpindleStopped { get; init; }

Property Value

bool

IsTouched

Whether the step touched the workpiece.

public bool IsTouched { get; init; }

Property Value

bool

LineKey

Fold key: the line number when known, else the sentence, else the step index.

public object LineKey { get; init; }

Property Value

object

LineNo

NC line number, or null where the runner carries none (CSV / CL replay).

public int? LineNo { get; init; }

Property Value

int?

RemovedVolume_mm3

Stock removed by this step in mm³ (0 when untouched or unknown).

public double RemovedVolume_mm3 { get; init; }

Property Value

double

StepIndex

Execution-order index of the step.

public int StepIndex { get; init; }

Property Value

int