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
@@ -455,7 +455,7 @@ Since the folder can be moving with the configuration file.</p>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public IEnumerable&lt;(HardNcLine SrcNcLine, HardNcLine OptNcLine)&gt; Optimize(ICuttingPara millingPara, MachiningSession machiningSession, LinkedList&lt;HardNcLine&gt; srcNcLines, HardNcEnv ncEnv, List&lt;MachiningStep&gt; machiningSteps, MachiningToolHouse millingToolHouse, IProgress&lt;object&gt; messageHost, CancellationToken cancellationToken, string baseDirectory, string relFileTemplate)</code></pre>
<pre><code class="lang-csharp hljs">public IEnumerable&lt;(HardNcLine SrcNcLine, HardNcLine OptNcLine)&gt; Optimize(ICuttingPara millingPara, MachiningSession machiningSession, LinkedList&lt;HardNcLine&gt; srcNcLines, HardNcEnv ncEnv, List&lt;MachiningStep&gt; machiningSteps, MachiningToolHouse millingToolHouse, IProgress&lt;object&gt; progress, CancellationToken cancellationToken, string baseDirectory, string relFileTemplate)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -478,7 +478,7 @@ Since the folder can be moving with the configuration file.</p>
<dt><code>millingToolHouse</code> <a class="xref" href="Hi.Machining.MachiningToolHouse.html">MachiningToolHouse</a></dt>
<dd><p>The machining tool house.</p>
</dd>
<dt><code>messageHost</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</dt>
<dt><code>progress</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</dt>
<dd><p>The 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>
@@ -521,7 +521,7 @@ Since the folder can be moving with the configuration file.</p>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void OptimizeToFiles(ICuttingPara millingPara, MachiningSession machiningSession, LinkedList&lt;HardNcLine&gt; ncLines, HardNcEnv ncEnv, MachiningToolHouse millingToolHouse, ClStrip clStrip, string baseDirectory, IProgress&lt;object&gt; messageHost, CancellationToken cancellationToken, string relFileTemplate = &quot;Output/Opt-[NcName]&quot;)</code></pre>
<pre><code class="lang-csharp hljs">public void OptimizeToFiles(ICuttingPara millingPara, MachiningSession machiningSession, LinkedList&lt;HardNcLine&gt; ncLines, HardNcEnv ncEnv, MachiningToolHouse millingToolHouse, ClStrip clStrip, string baseDirectory, IProgress&lt;object&gt; progress, CancellationToken cancellationToken, string relFileTemplate = &quot;Output/Opt-[NcName]&quot;)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -547,7 +547,7 @@ Since the folder can be moving with the configuration file.</p>
<dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The base directory for output files</p>
</dd>
<dt><code>messageHost</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</dt>
<dt><code>progress</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</dt>
<dd><p>The 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>