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

ResetFileIndex()

Resets the file index to zero.

void ResetFileIndex()

RunControlLines(string, IEnumerable<string>, SessionMessageHost, CancellationToken)

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

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

Parameters

relFilePath string

The relative path of the control file

lines IEnumerable<string>

The enumerable collection of command (control code) lines

sessionMessageHost SessionMessageHost
cancellationToken CancellationToken

Cancellation token to cancel the operation

Returns

IEnumerable<SourceCommandActEntry>

Enumerable of source control line and Act pairs