Interface IControlRunner
Control Runner. The term control is machine control. The Control Line is such like the NC (Numerical Control) line.
public interface IControlRunner
- Extension Methods
Methods
RunControlLines(string, IEnumerable<string>, MachiningSession, SessionProgress, CancellationToken)
Runs raw Control lines and yields source sentence and Act pairs.
IEnumerable<SourcedActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, MachiningSession machiningSession, SessionProgress progress, CancellationToken cancellationToken)
Parameters
relFilePathstringThe relative path of the control file
linesIEnumerable<string>The enumerable collection of command (control code) lines
machiningSessionMachiningSessionSession-scoped state shared across multiple RunControlLines(string, IEnumerable<string>, MachiningSession, SessionProgress, CancellationToken) calls (e.g. lazy-initialized pipeline state, file-index counter).
progressSessionProgressSession progress and message sink.
cancellationTokenCancellationTokenCancellation token to cancel the operation
Returns
- IEnumerable<SourcedActEntry>
Enumerable of source sentence and Act pairs