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
StepIndexintExecution-order index of the step.
LineNoint?NC line number, or null where the runner carries none (CSV / CL replay).
LineKeyobjectFold key: the line number when known, else the sentence, else the step index.
CarrierISentenceCarrierNC-source carrier of the step; anchors the report. May be null.
IsRapidboolWhether the step was commanded as rapid traverse.
IsTouchedboolWhether the step touched the workpiece.
IsSpindleStoppedboolWhether the spindle was stopped on this step.
RemovedVolume_mm3doubleStock removed by this step in mm³ (0 when untouched or unknown).
CuttingDepth_mmdoubleAxial 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
CuttingDepth_mm
Axial cutting depth of this step in mm (0 when untouched).
public double CuttingDepth_mm { get; init; }
Property Value
IsRapid
Whether the step was commanded as rapid traverse.
public bool IsRapid { get; init; }
Property Value
IsSpindleStopped
Whether the spindle was stopped on this step.
public bool IsSpindleStopped { get; init; }
Property Value
IsTouched
Whether the step touched the workpiece.
public bool IsTouched { get; init; }
Property Value
LineKey
Fold key: the line number when known, else the sentence, else the step index.
public object LineKey { get; init; }
Property Value
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
StepIndex
Execution-order index of the step.
public int StepIndex { get; init; }