This commit is contained in:
2025-12-08 23:08:59 +08:00
parent 6bac032549
commit e717b91020
24 changed files with 79 additions and 88 deletions
@@ -2165,7 +2165,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 TrainMillingPara(SampleFlag sampleFlags, bool enableFzOnlyDuringDrilling, double outlierRatio, string dstRelFile, CancellationToken cancellationToken, ICuttingPara paraTemplate = null)</code></pre>
<pre><code class="lang-csharp hljs">public void TrainMillingPara(SampleFlag sampleFlags, bool enableFzOnlyDuringDrilling, double outlierRatio, string dstRelFile, CancellationToken cancellationToken, ICuttingPara paraTemplate)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -216,7 +216,7 @@ Class StepTimeShotUtil
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static List&lt;ITimeShot&gt; GetTimeShotByFile(string file, Action&lt;int&gt; LineReaded, CancellationToken? cancellationToken = null)</code></pre>
<pre><code class="lang-csharp hljs">public static List&lt;ITimeShot&gt; GetTimeShotByFile(string file, Action&lt;int&gt; lineReaded, CancellationToken? cancellationToken = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -224,7 +224,7 @@ Class StepTimeShotUtil
<dt><code>file</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The file path to read time shots from.</p>
</dd>
<dt><code>LineReaded</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.int32">int</a>&gt;</dt>
<dt><code>lineReaded</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.int32">int</a>&gt;</dt>
<dd><p>Action to call when a line is read, providing progress feedback with the current line number.</p>
</dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a>?</dt>