fix bug of G53.1 and remove NcEnv.SetToolHeightCompensationOnFeatureNormal property.

This commit is contained in:
2026-03-19 17:25:33 +08:00
parent 2c586333b6
commit 52a3412ecb
826 changed files with 41648 additions and 6499 deletions
@@ -153,6 +153,151 @@ Class DictionaryUtil
</h2>
<a id="Hi_Common_Collections_DictionaryUtil_GetOrCreate_" data-uid="Hi.Common.Collections.DictionaryUtil.GetOrCreate*"></a>
<h3 id="Hi_Common_Collections_DictionaryUtil_GetOrCreate__2_System_Collections_Generic_IDictionary___0___1____0_" data-uid="Hi.Common.Collections.DictionaryUtil.GetOrCreate``2(System.Collections.Generic.IDictionary{``0,``1},``0)">
GetOrCreate&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, TKey)
</h3>
<div class="markdown level1 summary"><p>Gets the value for <code class="paramref">key</code>, or creates a new <code class="typeparamref">TValue</code>
via its parameterless constructor, stores it in the dictionary, and returns it.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static TValue GetOrCreate&lt;TKey, TValue&gt;(this IDictionary&lt;TKey, TValue&gt; src, TKey key) where TValue : new()</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2">IDictionary</a>&lt;TKey, TValue&gt;</dt>
<dd></dd>
<dt><code>key</code> <span class="xref">TKey</span></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">TValue</span></dt>
<dd></dd>
</dl>
<h4 class="section">Type Parameters</h4>
<dl class="parameters">
<dt><code>TKey</code></dt>
<dd></dd>
<dt><code>TValue</code></dt>
<dd></dd>
</dl>
<a id="Hi_Common_Collections_DictionaryUtil_GetOrCreate_" data-uid="Hi.Common.Collections.DictionaryUtil.GetOrCreate*"></a>
<h3 id="Hi_Common_Collections_DictionaryUtil_GetOrCreate__2_System_Collections_Generic_IDictionary___0___1____0_System_Func___1__" data-uid="Hi.Common.Collections.DictionaryUtil.GetOrCreate``2(System.Collections.Generic.IDictionary{``0,``1},``0,System.Func{``1})">
GetOrCreate&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TValue&gt;)
</h3>
<div class="markdown level1 summary"><p>Gets the value for <code class="paramref">key</code>, or invokes <code class="paramref">factory</code>
to create, store, and return a new value if the key is absent.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static TValue GetOrCreate&lt;TKey, TValue&gt;(this IDictionary&lt;TKey, TValue&gt; src, TKey key, Func&lt;TValue&gt; factory)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2">IDictionary</a>&lt;TKey, TValue&gt;</dt>
<dd></dd>
<dt><code>key</code> <span class="xref">TKey</span></dt>
<dd></dd>
<dt><code>factory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a>&lt;TValue&gt;</dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">TValue</span></dt>
<dd></dd>
</dl>
<h4 class="section">Type Parameters</h4>
<dl class="parameters">
<dt><code>TKey</code></dt>
<dd></dd>
<dt><code>TValue</code></dt>
<dd></dd>
</dl>
<a id="Hi_Common_Collections_DictionaryUtil_GetOrCreate_" data-uid="Hi.Common.Collections.DictionaryUtil.GetOrCreate*"></a>
<h3 id="Hi_Common_Collections_DictionaryUtil_GetOrCreate__2_System_Collections_Generic_IDictionary___0___1____0___1_" data-uid="Hi.Common.Collections.DictionaryUtil.GetOrCreate``2(System.Collections.Generic.IDictionary{``0,``1},``0,``1)">
GetOrCreate&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, TKey, TValue)
</h3>
<div class="markdown level1 summary"><p>Gets the value for <code class="paramref">key</code>, or stores and returns
<code class="paramref">defaultValue</code> if the key is absent.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static TValue GetOrCreate&lt;TKey, TValue&gt;(this IDictionary&lt;TKey, TValue&gt; src, TKey key, TValue defaultValue)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2">IDictionary</a>&lt;TKey, TValue&gt;</dt>
<dd></dd>
<dt><code>key</code> <span class="xref">TKey</span></dt>
<dd></dd>
<dt><code>defaultValue</code> <span class="xref">TValue</span></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><span class="xref">TValue</span></dt>
<dd></dd>
</dl>
<h4 class="section">Type Parameters</h4>
<dl class="parameters">
<dt><code>TKey</code></dt>
<dd></dd>
<dt><code>TValue</code></dt>
<dd></dd>
</dl>
<a id="Hi_Common_Collections_DictionaryUtil_Retrieve_" data-uid="Hi.Common.Collections.DictionaryUtil.Retrieve*"></a>
<h3 id="Hi_Common_Collections_DictionaryUtil_Retrieve__2_System_Collections_Generic_Dictionary___0___1____0___1__System_Boolean_" data-uid="Hi.Common.Collections.DictionaryUtil.Retrieve``2(System.Collections.Generic.Dictionary{``0,``1},``0,``1@,System.Boolean)">