Table of Contents

Class SoftNcRunner

Namespace
Hi.Numerical.SoftParsers
Assembly
HiMech.dll
public class SoftNcRunner : IControlRunner
Inheritance
SoftNcRunner
Implements
Inherited Members
Extension Methods

Properties

CmdBuilderList

public List<ICmdBlockBuilder> CmdBuilderList { get; set; }

Property Value

List<ICmdBlockBuilder>

FileIndexOnRunCommand

Gets the current file index for run commands.

public int FileIndexOnRunCommand { get; }

Property Value

int

NcBlocker

public INcRawBlocker NcBlocker { get; set; }

Property Value

INcRawBlocker

NcSyntaxList

public List<INcSyntax> NcSyntaxList { get; set; }

Property Value

List<INcSyntax>

Methods

ResetFileIndex()

Resets the file index to zero.

public void ResetFileIndex()

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

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

public 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