Table of Contents

Struct RapidCutMonitor.Report

Namespace
Hi.MachiningProcs
Assembly
HiMech.dll

One closed rapid line that is to be reported, as data: the fold answers it from Observe(in Sample, double, bool, out Report) and Flush(double, out Report), and the caller that owns the message channel emits it with Emit(in Report, IProgress<StepDiagnostic>) (play-core migration P9: the fold is a pure function of the samples, the message channel stays with the caller).

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

Constructors

Report(int, ISentenceCarrier, int?, int, double, double)

One closed rapid line that is to be reported, as data: the fold answers it from Observe(in Sample, double, bool, out Report) and Flush(double, out Report), and the caller that owns the message channel emits it with Emit(in Report, IProgress<StepDiagnostic>) (play-core migration P9: the fold is a pure function of the samples, the message channel stays with the caller).

public Report(int StepIndex, ISentenceCarrier Carrier, int? LineNo, int TouchedStepCount, double RemovedVolume_mm3, double MaxCuttingDepth_mm)

Parameters

StepIndex int

The line's first touching step, which the report is anchored on.

Carrier ISentenceCarrier

The NC-source carrier of that step; may be null.

LineNo int?

The NC line number, or null where the runner carries none.

TouchedStepCount int

The number of the line's rapid steps that touched the stock.

RemovedVolume_mm3 double

The line's total removed volume in mm³.

MaxCuttingDepth_mm double

The line's largest cutting depth in mm.

Properties

Carrier

The NC-source carrier of that step; may be null.

public ISentenceCarrier Carrier { get; init; }

Property Value

ISentenceCarrier

LastTouchedStepIndex

The line's last touching step, inclusive: with StepIndex the step range the overload run fold records for IsRapidCut (NoteRapidCutLine(int, int, out int, out int)). Not the step that closed the line, which belongs to the next line or is a feed step. An init property, not a positional parameter, so that the public constructor keeps its shape; a report made without it reads its default, 0.

public int LastTouchedStepIndex { get; init; }

Property Value

int

LineNo

The NC line number, or null where the runner carries none.

public int? LineNo { get; init; }

Property Value

int?

MaxCuttingDepth_mm

The line's largest cutting depth in mm.

public double MaxCuttingDepth_mm { get; init; }

Property Value

double

RemovedVolume_mm3

The line's total removed volume in mm³.

public double RemovedVolume_mm3 { get; init; }

Property Value

double

StepIndex

The line's first touching step, which the report is anchored on.

public int StepIndex { get; init; }

Property Value

int

TouchedStepCount

The number of the line's rapid steps that touched the stock.

public int TouchedStepCount { get; init; }

Property Value

int