Table of Contents

Interface IControlRunner

Namespace
Hi.Numerical
Assembly
HiMech.dll

Control Runner. The term control is machine control. The Control Line is such like the NC (Numerical Control) line.

public interface IControlRunner
Extension Methods

Methods

RunControlLines(string, IEnumerable<string>, MachiningSession, SessionProgress, CancellationToken)

Runs raw Control lines and yields source sentence and Act pairs.

IEnumerable<SourcedActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, MachiningSession machiningSession, SessionProgress progress, CancellationToken cancellationToken)

Parameters

relFilePath string

The relative path of the control file

lines IEnumerable<string>

The enumerable collection of command (control code) lines

machiningSession MachiningSession

Session-scoped state shared across multiple RunControlLines(string, IEnumerable<string>, MachiningSession, SessionProgress, CancellationToken) calls (e.g. lazy-initialized pipeline state, file-index counter).

progress SessionProgress

Session progress and message sink.

cancellationToken CancellationToken

Cancellation token to cancel the operation

Returns

IEnumerable<SourcedActEntry>

Enumerable of source sentence and Act pairs