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
FileIndexOnRunCommand
Gets the current file index for run commands.
public int FileIndexOnRunCommand { get; }
Property Value
NcBlocker
public INcRawBlocker NcBlocker { get; set; }
Property Value
NcSyntaxList
public List<INcSyntax> NcSyntaxList { get; set; }
Property Value
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
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<SourceCommandActEntry>
Enumerable of source control line and Act pairs