Table of Contents

Class SoftNcRunner

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

Properties

FanucNcRunner

public static SoftNcRunner FanucNcRunner { get; }

Property Value

SoftNcRunner

FileIndexOnRunCommand

Gets the current file index for run commands.

public int FileIndexOnRunCommand { get; }

Property Value

int

NcActuationList

public List<INcActuation> NcActuationList { get; set; }

Property Value

List<INcActuation>

NcSemanticList

public List<INcSemantic> NcSemanticList { get; set; }

Property Value

List<INcSemantic>

NcSyntaxList

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

Property Value

List<INcSyntax>

Segmenter

public ISegmenter Segmenter { get; set; }

Property Value

ISegmenter

Methods

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

public LazyLinkedList<SemanticPiece> GetSemanticPieceLinkedList(string relFilePath, IEnumerable<string> lines, SessionMessageHost sessionMessageHost, CancellationToken cancellationToken)

Parameters

relFilePath string
lines IEnumerable<string>
sessionMessageHost SessionMessageHost
cancellationToken CancellationToken

Returns

LazyLinkedList<SemanticPiece>

GetSentenceActEntrys(LazyLinkedList<SemanticPiece>, SessionMessageHost, CancellationToken)

public IEnumerable<SentenceActEntry> GetSentenceActEntrys(LazyLinkedList<SemanticPiece> semanticPieceLinkedList, SessionMessageHost sessionMessageHost, CancellationToken cancellationToken)

Parameters

semanticPieceLinkedList LazyLinkedList<SemanticPiece>
sessionMessageHost SessionMessageHost
cancellationToken CancellationToken

Returns

IEnumerable<SentenceActEntry>

ResetFileIndex()

Resets the file index to zero.

public void ResetFileIndex()

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

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

public IEnumerable<SentenceActEntry> 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<SentenceActEntry>

Enumerable of source sentence and Act pairs