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
@@ -186,8 +186,8 @@ Class MachiningActRunner
<a id="Hi_MachiningProcs_MachiningActRunner__ctor_" data-uid="Hi.MachiningProcs.MachiningActRunner.#ctor*"></a>
<h3 id="Hi_MachiningProcs_MachiningActRunner__ctor_Hi_MachiningProcs_SessionProgress_System_Action_System_Collections_Generic_IEnumerable_Hi_MillingSteps_MillingStepLuggage___System_Func_Hi_Machining_MachiningToolHouse__System_Func_Hi_Machining_MachiningEquipmentUtils_MachiningEquipment__System_Action_Hi_ScriptApiUtils_ICsScriptApi_Hi_MachiningProcs_MachiningActRunnerConfig_" data-uid="Hi.MachiningProcs.MachiningActRunner.#ctor(Hi.MachiningProcs.SessionProgress,System.Action{System.Collections.Generic.IEnumerable{Hi.MillingSteps.MillingStepLuggage}},System.Func{Hi.Machining.MachiningToolHouse},System.Func{Hi.Machining.MachiningEquipmentUtils.MachiningEquipment},System.Action,Hi.ScriptApiUtils.ICsScriptApi,Hi.MachiningProcs.MachiningActRunnerConfig)">
MachiningActRunner(SessionProgress, Action&lt;IEnumerable&lt;MillingStepLuggage&gt;&gt;, Func&lt;MachiningToolHouse&gt;, Func&lt;MachiningEquipment&gt;, Action, ICsScriptApi, MachiningActRunnerConfig)
<h3 id="Hi_MachiningProcs_MachiningActRunner__ctor_Hi_MachiningProcs_SessionProgress_System_Action_System_Collections_Generic_IEnumerable_Hi_MillingSteps_MillingStepLuggage___System_Func_Hi_Machining_MachiningToolHouse__System_Func_Hi_Machining_MachiningEquipmentUtils_MachiningEquipment__System_Func_Hi_NcMech_Workpieces_WorkpieceService__System_Action_Hi_ScriptApiUtils_ICsScriptApi_" data-uid="Hi.MachiningProcs.MachiningActRunner.#ctor(Hi.MachiningProcs.SessionProgress,System.Action{System.Collections.Generic.IEnumerable{Hi.MillingSteps.MillingStepLuggage}},System.Func{Hi.Machining.MachiningToolHouse},System.Func{Hi.Machining.MachiningEquipmentUtils.MachiningEquipment},System.Func{Hi.NcMech.Workpieces.WorkpieceService},System.Action,Hi.ScriptApiUtils.ICsScriptApi)">
MachiningActRunner(SessionProgress, Action&lt;IEnumerable&lt;MillingStepLuggage&gt;&gt;, Func&lt;MachiningToolHouse&gt;, Func&lt;MachiningEquipment&gt;, Func&lt;WorkpieceService&gt;, Action, ICsScriptApi)
</h3>
@@ -196,12 +196,12 @@ Class MachiningActRunner
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public MachiningActRunner(SessionProgress messageHost, Action&lt;IEnumerable&lt;MillingStepLuggage&gt;&gt; stepStorageWriter, Func&lt;MachiningToolHouse&gt; machiningToolHouseGetter, Func&lt;MachiningEquipment&gt; machiningEquipmentGetter, Action resetMillingStepLuggageDbAction, ICsScriptApi shellApi, MachiningActRunnerConfig config = null)</code></pre>
<pre><code class="lang-csharp hljs">public MachiningActRunner(SessionProgress sessionProgress, Action&lt;IEnumerable&lt;MillingStepLuggage&gt;&gt; stepStorageWriter, Func&lt;MachiningToolHouse&gt; machiningToolHouseGetter, Func&lt;MachiningEquipment&gt; machiningEquipmentGetter, Func&lt;WorkpieceService&gt; workpieceServiceGetter, Action resetMillingStepLuggageDbAction, ICsScriptApi shellApi)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>messageHost</code> <a class="xref" href="Hi.MachiningProcs.SessionProgress.html">SessionProgress</a></dt>
<dt><code>sessionProgress</code> <a class="xref" href="Hi.MachiningProcs.SessionProgress.html">SessionProgress</a></dt>
<dd><p>The milling message host.</p>
</dd>
<dt><code>stepStorageWriter</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="Hi.MillingSteps.MillingStepLuggage.html">MillingStepLuggage</a>&gt;&gt;</dt>
@@ -212,15 +212,15 @@ Class MachiningActRunner
</dd>
<dt><code>machiningEquipmentGetter</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a>&lt;<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html">MachiningEquipment</a>&gt;</dt>
<dd><p>The getter function for the machining equipment.</p>
</dd>
<dt><code>workpieceServiceGetter</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a>&lt;<a class="xref" href="Hi.NcMech.Workpieces.WorkpieceService.html">WorkpieceService</a>&gt;</dt>
<dd><p>The getter function for the workpiece runtime service.</p>
</dd>
<dt><code>resetMillingStepLuggageDbAction</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a></dt>
<dd><p>Action to reset the milling step luggage database.</p>
</dd>
<dt><code>shellApi</code> <a class="xref" href="Hi.ScriptApiUtils.ICsScriptApi.html">ICsScriptApi</a></dt>
<dd><p>The C# script API for the milling session.</p>
</dd>
<dt><code>config</code> <a class="xref" href="Hi.MachiningProcs.MachiningActRunnerConfig.html">MachiningActRunnerConfig</a></dt>
<dd><p>Optional configuration for the milling act runner.</p>
</dd>
</dl>
@@ -235,6 +235,41 @@ Class MachiningActRunner
<h2 class="section" id="fields">Fields
</h2>
<h3 id="Hi_MachiningProcs_MachiningActRunner_InternalMachiningStepBuilt" data-uid="Hi.MachiningProcs.MachiningActRunner.InternalMachiningStepBuilt">
InternalMachiningStepBuilt
</h3>
<div class="markdown level1 summary"><p>Internal callback fired when a step is built (same timing as <a class="xref" href="Hi.MachiningProcs.MachiningActRunner.html#Hi_MachiningProcs_MachiningActRunner_MachiningStepBuilt">MachiningStepBuilt</a>); used by host services before UI subscribers.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public MachiningActRunner.MachiningStepBuiltDelegate InternalMachiningStepBuilt</code></pre>
</div>
<h4 class="section">Field Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.MachiningProcs.MachiningActRunner.html">MachiningActRunner</a>.<a class="xref" href="Hi.MachiningProcs.MachiningActRunner.MachiningStepBuiltDelegate.html">MachiningStepBuiltDelegate</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="properties">Properties
</h2>
@@ -800,7 +835,7 @@ This property is provided as a member value getter and should not be modified.</
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public IEnumerable&lt;object&gt; ProcAct(IAct act, MachiningSession millingSession, IMachiningStepHost host, IGetSentence sourceCommand, CancellationToken cancellationToken)</code></pre>
<pre><code class="lang-csharp hljs">public IEnumerable&lt;object&gt; ProcAct(IAct act, MachiningSession machiningSession, IMachiningStepHost host, IGetSentence sourceCommand, CancellationToken cancellationToken)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -808,7 +843,7 @@ This property is provided as a member value getter and should not be modified.</
<dt><code>act</code> <a class="xref" href="Hi.Numerical.Acts.IAct.html">IAct</a></dt>
<dd><p>The act to process.</p>
</dd>
<dt><code>millingSession</code> <a class="xref" href="Hi.MachiningProcs.MachiningSession.html">MachiningSession</a></dt>
<dt><code>machiningSession</code> <a class="xref" href="Hi.MachiningProcs.MachiningSession.html">MachiningSession</a></dt>
<dd><p>The milling session.</p>
</dd>
<dt><code>host</code> <a class="xref" href="Hi.MachiningSteps.IMachiningStepHost.html">IMachiningStepHost</a></dt>