fix SoftNcRunner GM code normalization.

This commit is contained in:
2026-05-06 13:21:19 +08:00
parent 0fe9497552
commit 2f57932000
1238 changed files with 69405 additions and 22511 deletions
@@ -148,37 +148,10 @@ The Control Line is such like the NC (Numerical Control) line.</p>
</h2>
<a id="Hi_Numerical_IControlRunner_ResetFileIndex_" data-uid="Hi.Numerical.IControlRunner.ResetFileIndex*"></a>
<h3 id="Hi_Numerical_IControlRunner_ResetFileIndex" data-uid="Hi.Numerical.IControlRunner.ResetFileIndex">
ResetFileIndex()
</h3>
<div class="markdown level1 summary"><p>Resets the file index to zero.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void ResetFileIndex()</code></pre>
</div>
<a id="Hi_Numerical_IControlRunner_RunControlLines_" data-uid="Hi.Numerical.IControlRunner.RunControlLines*"></a>
<h3 id="Hi_Numerical_IControlRunner_RunControlLines_System_String_System_Collections_Generic_IEnumerable_System_String__Hi_MachiningProcs_SessionProgress_System_Threading_CancellationToken_" data-uid="Hi.Numerical.IControlRunner.RunControlLines(System.String,System.Collections.Generic.IEnumerable{System.String},Hi.MachiningProcs.SessionProgress,System.Threading.CancellationToken)">
RunControlLines(string, IEnumerable&lt;string&gt;, SessionProgress, CancellationToken)
<h3 id="Hi_Numerical_IControlRunner_RunControlLines_System_String_System_Collections_Generic_IEnumerable_System_String__Hi_MachiningProcs_MachiningSession_Hi_MachiningProcs_SessionProgress_System_Threading_CancellationToken_" data-uid="Hi.Numerical.IControlRunner.RunControlLines(System.String,System.Collections.Generic.IEnumerable{System.String},Hi.MachiningProcs.MachiningSession,Hi.MachiningProcs.SessionProgress,System.Threading.CancellationToken)">
RunControlLines(string, IEnumerable&lt;string&gt;, MachiningSession, SessionProgress, CancellationToken)
</h3>
@@ -187,7 +160,7 @@ The Control Line is such like the NC (Numerical Control) line.</p>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">IEnumerable&lt;SourcedActEntry&gt; RunControlLines(string relFilePath, IEnumerable&lt;string&gt; lines, SessionProgress sessionMessageHost, CancellationToken cancellationToken)</code></pre>
<pre><code class="lang-csharp hljs">IEnumerable&lt;SourcedActEntry&gt; RunControlLines(string relFilePath, IEnumerable&lt;string&gt; lines, MachiningSession machiningSession, SessionProgress progress, CancellationToken cancellationToken)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -198,8 +171,14 @@ The Control Line is such like the NC (Numerical Control) line.</p>
<dt><code>lines</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</dt>
<dd><p>The enumerable collection of command (control code) lines</p>
</dd>
<dt><code>sessionMessageHost</code> <a class="xref" href="Hi.MachiningProcs.SessionProgress.html">SessionProgress</a></dt>
<dd></dd>
<dt><code>machiningSession</code> <a class="xref" href="Hi.MachiningProcs.MachiningSession.html">MachiningSession</a></dt>
<dd><p>Session-scoped state shared across multiple
<a class="xref" href="Hi.Numerical.IControlRunner.html#Hi_Numerical_IControlRunner_RunControlLines_System_String_System_Collections_Generic_IEnumerable_System_String__Hi_MachiningProcs_MachiningSession_Hi_MachiningProcs_SessionProgress_System_Threading_CancellationToken_">RunControlLines(string, IEnumerable&lt;string&gt;, MachiningSession, SessionProgress, CancellationToken)</a> calls (e.g. lazy-initialized pipeline state,
file-index counter).</p>
</dd>
<dt><code>progress</code> <a class="xref" href="Hi.MachiningProcs.SessionProgress.html">SessionProgress</a></dt>
<dd><p>Session progress and message sink.</p>
</dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
<dd><p>Cancellation token to cancel the operation</p>
</dd>