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
@@ -184,38 +184,6 @@ Class HardNcRunner
</h2>
<a id="Hi_Numerical_FilePlayers_HardNcRunner_FileIndexOnRunCommand_" data-uid="Hi.Numerical.FilePlayers.HardNcRunner.FileIndexOnRunCommand*"></a>
<h3 id="Hi_Numerical_FilePlayers_HardNcRunner_FileIndexOnRunCommand" data-uid="Hi.Numerical.FilePlayers.HardNcRunner.FileIndexOnRunCommand">
FileIndexOnRunCommand
</h3>
<div class="markdown level1 summary"><p>Gets the current file index for run commands.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int FileIndexOnRunCommand { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<a id="Hi_Numerical_FilePlayers_HardNcRunner_NcLines_" data-uid="Hi.Numerical.FilePlayers.HardNcRunner.NcLines*"></a>
<h3 id="Hi_Numerical_FilePlayers_HardNcRunner_NcLines" data-uid="Hi.Numerical.FilePlayers.HardNcRunner.NcLines">
@@ -248,73 +216,14 @@ Class HardNcRunner
<a id="Hi_Numerical_FilePlayers_HardNcRunner_PacePlayer_" data-uid="Hi.Numerical.FilePlayers.HardNcRunner.PacePlayer*"></a>
<h3 id="Hi_Numerical_FilePlayers_HardNcRunner_PacePlayer" data-uid="Hi.Numerical.FilePlayers.HardNcRunner.PacePlayer">
PacePlayer
</h3>
<div class="markdown level1 summary"><p>Gets the pace player for controlling playback.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public PacePlayer PacePlayer { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Common.PacePlayer.html">PacePlayer</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="methods">Methods
</h2>
<a id="Hi_Numerical_FilePlayers_HardNcRunner_ResetFileIndex_" data-uid="Hi.Numerical.FilePlayers.HardNcRunner.ResetFileIndex*"></a>
<h3 id="Hi_Numerical_FilePlayers_HardNcRunner_ResetFileIndex" data-uid="Hi.Numerical.FilePlayers.HardNcRunner.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">public void ResetFileIndex()</code></pre>
</div>
<a id="Hi_Numerical_FilePlayers_HardNcRunner_RunControlLines_" data-uid="Hi.Numerical.FilePlayers.HardNcRunner.RunControlLines*"></a>
<h3 id="Hi_Numerical_FilePlayers_HardNcRunner_RunControlLines_System_String_System_Collections_Generic_IEnumerable_System_String__Hi_MachiningProcs_SessionProgress_System_Threading_CancellationToken_" data-uid="Hi.Numerical.FilePlayers.HardNcRunner.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_FilePlayers_HardNcRunner_RunControlLines_System_String_System_Collections_Generic_IEnumerable_System_String__Hi_MachiningProcs_MachiningSession_Hi_MachiningProcs_SessionProgress_System_Threading_CancellationToken_" data-uid="Hi.Numerical.FilePlayers.HardNcRunner.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>
@@ -323,7 +232,7 @@ Class HardNcRunner
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public IEnumerable&lt;SourcedActEntry&gt; RunControlLines(string relNcFilePath, IEnumerable&lt;string&gt; lines, SessionProgress sessionMessageHost, CancellationToken cancellationToken)</code></pre>
<pre><code class="lang-csharp hljs">public IEnumerable&lt;SourcedActEntry&gt; RunControlLines(string relNcFilePath, IEnumerable&lt;string&gt; lines, MachiningSession machiningSession, SessionProgress sessionProgress, CancellationToken cancellationToken)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -334,7 +243,9 @@ Class HardNcRunner
<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 NC code lines</p>
</dd>
<dt><code>sessionMessageHost</code> <a class="xref" href="Hi.MachiningProcs.SessionProgress.html">SessionProgress</a></dt>
<dt><code>machiningSession</code> <a class="xref" href="Hi.MachiningProcs.MachiningSession.html">MachiningSession</a></dt>
<dd></dd>
<dt><code>sessionProgress</code> <a class="xref" href="Hi.MachiningProcs.SessionProgress.html">SessionProgress</a></dt>
<dd><p>The session message host for logging.</p>
</dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
@@ -359,33 +270,6 @@ Class HardNcRunner
<a id="Hi_Numerical_FilePlayers_HardNcRunner_RunToLineEnd_" data-uid="Hi.Numerical.FilePlayers.HardNcRunner.RunToLineEnd*"></a>
<h3 id="Hi_Numerical_FilePlayers_HardNcRunner_RunToLineEnd" data-uid="Hi.Numerical.FilePlayers.HardNcRunner.RunToLineEnd">
RunToLineEnd()
</h3>
<div class="markdown level1 summary"><p>Set <a class="xref" href="Hi.Common.EnumerablePlayer.html">EnumerablePlayer</a> before use the function.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void RunToLineEnd()</code></pre>
</div>
</article>