Table of Contents

Class HardNcRunner

Namespace
Hi.Numerical.FilePlayers
Assembly
HiNc.dll

Provides functionality for running and processing NC code lines.

public class HardNcRunner : IControlRunner
Inheritance
HardNcRunner
Implements
Inherited Members
Extension Methods

Properties

NcLines

Gets the linked list of NC lines.

public LinkedList<HardNcLine> NcLines { get; }

Property Value

LinkedList<HardNcLine>

Methods

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

Runs raw NC lines and yields NcLine and Act pairs.

public IEnumerable<SourcedActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, MachiningSession machiningSession, SessionProgress sessionProgress, CancellationToken cancellationToken)

Parameters

relNcFilePath string

The relative path of the NC file

lines IEnumerable<string>

The enumerable collection of NC code lines

machiningSession MachiningSession

The machining session that owns runtime state for this run.

sessionProgress SessionProgress

The session message host for logging.

cancellationToken CancellationToken

Cancellation token to cancel the operation

Returns

IEnumerable<SourcedActEntry>

Enumerable of NcLine and Act pairs