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
StepIndexintThe line's first touching step, which the report is anchored on.
CarrierISentenceCarrierThe NC-source carrier of that step; may be null.
LineNoint?The NC line number, or null where the runner carries none.
TouchedStepCountintThe number of the line's rapid steps that touched the stock.
RemovedVolume_mm3doubleThe line's total removed volume in mm³.
MaxCuttingDepth_mmdoubleThe 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
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
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
RemovedVolume_mm3
The line's total removed volume in mm³.
public double RemovedVolume_mm3 { get; init; }
Property Value
StepIndex
The line's first touching step, which the report is anchored on.
public int StepIndex { get; init; }
Property Value
TouchedStepCount
The number of the line's rapid steps that touched the stock.
public int TouchedStepCount { get; init; }