This commit is contained in:
2026-09-09 17:35:23 +08:00
parent 2a98ae7556
commit 161af68fe3
1271 changed files with 58251 additions and 98639 deletions
@@ -190,6 +190,39 @@ Shared between <a class="xref" href="Hi.NcParsers.Dependencys.Fanuc.FanucParamet
<h3 id="Hi_NcParsers_Dependencys_IsoCoordinateAddressMap_G54p1CoordinateIdPrefix" data-uid="Hi.NcParsers.Dependencys.IsoCoordinateAddressMap.G54p1CoordinateIdPrefix">
G54p1CoordinateIdPrefix
</h3>
<div class="markdown level1 summary"><p>Coordinate-id prefix of the additional (G54.1 P) work coordinate
systems: the id is this prefix followed by the un-padded P index, e.g.
<code>&ldquo;G54.1P4&rdquo;</code> — the G-code spelling without its embedded space.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string G54p1CoordinateIdPrefix = &quot;G54.1P&quot;</code></pre>
</div>
<h4 class="section">Field Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h3 id="Hi_NcParsers_Dependencys_IsoCoordinateAddressMap_G54p1P1Base" data-uid="Hi.NcParsers.Dependencys.IsoCoordinateAddressMap.G54p1P1Base">
G54p1P1Base
@@ -396,6 +429,46 @@ at least one axis entry present in <code class="paramref">systemParams</code>.</
<a id="Hi_NcParsers_Dependencys_IsoCoordinateAddressMap_G54p1CoordinateId_" data-uid="Hi.NcParsers.Dependencys.IsoCoordinateAddressMap.G54p1CoordinateId*"></a>
<h3 id="Hi_NcParsers_Dependencys_IsoCoordinateAddressMap_G54p1CoordinateId_System_Int32_" data-uid="Hi.NcParsers.Dependencys.IsoCoordinateAddressMap.G54p1CoordinateId(System.Int32)">
G54p1CoordinateId(int)
</h3>
<div class="markdown level1 summary"><p>Composes the coordinate id of additional work coordinate system
<code class="paramref">p</code> (<code>&ldquo;G54.1P4&rdquo;</code> for P4). Inverse of
<a class="xref" href="Hi.NcParsers.Dependencys.IsoCoordinateAddressMap.html#Hi_NcParsers_Dependencys_IsoCoordinateAddressMap_TryParseG54p1Index_System_String_System_Int32__">TryParseG54p1Index(string, out int)</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static string G54p1CoordinateId(int p)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>p</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>P index as written in the program (1-based).</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Dependencys_IsoCoordinateAddressMap_Read_" data-uid="Hi.NcParsers.Dependencys.IsoCoordinateAddressMap.Read*"></a>
<h3 id="Hi_NcParsers_Dependencys_IsoCoordinateAddressMap_Read_System_Collections_Generic_IDictionary_System_Int32_System_Double__System_Int32_" data-uid="Hi.NcParsers.Dependencys.IsoCoordinateAddressMap.Read(System.Collections.Generic.IDictionary{System.Int32,System.Double},System.Int32)">
@@ -473,6 +546,52 @@ for these addresses, so the model matches hardware.</p>
<a id="Hi_NcParsers_Dependencys_IsoCoordinateAddressMap_TryParseG54p1Index_" data-uid="Hi.NcParsers.Dependencys.IsoCoordinateAddressMap.TryParseG54p1Index*"></a>
<h3 id="Hi_NcParsers_Dependencys_IsoCoordinateAddressMap_TryParseG54p1Index_System_String_System_Int32__" data-uid="Hi.NcParsers.Dependencys.IsoCoordinateAddressMap.TryParseG54p1Index(System.String,System.Int32@)">
TryParseG54p1Index(string, out int)
</h3>
<div class="markdown level1 summary"><p>Reads the P index back out of an additional work coordinate id
(<code>&ldquo;G54.1P4&rdquo;</code> → 4). Any integer is accepted — range checking
against the table (1..<a class="xref" href="Hi.NcParsers.Dependencys.IsoCoordinateAddressMap.html#Hi_NcParsers_Dependencys_IsoCoordinateAddressMap_G54p1PCount">G54p1PCount</a>) is
<a class="xref" href="Hi.NcParsers.Dependencys.IsoCoordinateAddressMap.html#Hi_NcParsers_Dependencys_IsoCoordinateAddressMap_TryResolveBase_System_String_">TryResolveBase(string)</a>'s job — so a caller can tell &ldquo;an
additional system whose index the table does not hold&rdquo; apart from
&ldquo;not an additional system at all&rdquo;.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool TryParseG54p1Index(string coordId, out int p)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>coordId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>Coordinate id to inspect.</p>
</dd>
<dt><code>p</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>The parsed index on success.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Dependencys_IsoCoordinateAddressMap_TryResolveBase_" data-uid="Hi.NcParsers.Dependencys.IsoCoordinateAddressMap.TryResolveBase*"></a>
<h3 id="Hi_NcParsers_Dependencys_IsoCoordinateAddressMap_TryResolveBase_System_String_" data-uid="Hi.NcParsers.Dependencys.IsoCoordinateAddressMap.TryResolveBase(System.String)">