Class SoftNcRunner
public class SoftNcRunner : IControlRunner
- Inheritance
-
SoftNcRunner
- Implements
- Inherited Members
- Extension Methods
Properties
FanucNcRunner
public static SoftNcRunner FanucNcRunner { get; }
Property Value
FileIndexOnRunCommand
Gets the current file index for run commands.
public int FileIndexOnRunCommand { get; }
Property Value
NcActuationList
public List<INcActuation> NcActuationList { get; set; }
Property Value
NcSemanticList
public List<INcSemantic> NcSemanticList { get; set; }
Property Value
NcSyntaxList
public List<INcSyntax> NcSyntaxList { get; set; }
Property Value
Segmenter
public ISegmenter Segmenter { get; set; }
Property Value
Methods
GetSemanticPieceLinkedList(string, IEnumerable<string>, SessionMessageHost, CancellationToken)
public LazyLinkedList<SemanticPiece> GetSemanticPieceLinkedList(string relFilePath, IEnumerable<string> lines, SessionMessageHost sessionMessageHost, CancellationToken cancellationToken)
Parameters
relFilePathstringlinesIEnumerable<string>sessionMessageHostSessionMessageHostcancellationTokenCancellationToken
Returns
GetSentenceActEntrys(LazyLinkedList<SemanticPiece>, SessionMessageHost, CancellationToken)
public IEnumerable<SentenceActEntry> GetSentenceActEntrys(LazyLinkedList<SemanticPiece> semanticPieceLinkedList, SessionMessageHost sessionMessageHost, CancellationToken cancellationToken)
Parameters
semanticPieceLinkedListLazyLinkedList<SemanticPiece>sessionMessageHostSessionMessageHostcancellationTokenCancellationToken
Returns
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
relFilePathstringThe relative path of the control file
linesIEnumerable<string>The enumerable collection of command (control code) lines
sessionMessageHostSessionMessageHostcancellationTokenCancellationTokenCancellation token to cancel the operation
Returns
- IEnumerable<SentenceActEntry>
Enumerable of source sentence and Act pairs