Table of Contents

Interface IControlRunner

Namespace
Hi.Numerical.FilePlayers
Assembly
HiNc.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

ResetFileIndex()

Resets the file index to zero.

void ResetFileIndex()

RunControlLines(string, IEnumerable<string>, CancellationToken)

Runs raw Control lines and yields source control line and Act pairs.

IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)

Parameters

relFilePath string

The relative path of the control file

lines IEnumerable<string>

The enumerable collection of command (control code) lines

cancellationToken CancellationToken

Cancellation token to cancel the operation

Returns

IEnumerable<SourceCommandActEntry>

Enumerable of source control line and Act pairs