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
@@ -108,7 +108,7 @@ and derived convenience properties.</li>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public abstract class ControllerParameterTableBase : IHomeMcConfig, IMachineAxisConfig, IRapidFeedrateConfig, INcDependency, IMakeXmlSource</code></pre>
<pre><code class="lang-csharp hljs">public abstract class ControllerParameterTableBase : IHomeMcConfig, IMachineAxisConfig, IRapidFeedrateConfig, IStrokeLimitConfig, INcDependency, IMakeXmlSource</code></pre>
</div>
@@ -128,6 +128,7 @@ and derived convenience properties.</li>
<div><a class="xref" href="Hi.NcParsers.Dependencys.IHomeMcConfig.html">IHomeMcConfig</a></div>
<div><a class="xref" href="Hi.NcParsers.Dependencys.IMachineAxisConfig.html">IMachineAxisConfig</a></div>
<div><a class="xref" href="Hi.NcParsers.Dependencys.IRapidFeedrateConfig.html">IRapidFeedrateConfig</a></div>
<div><a class="xref" href="Hi.NcParsers.Dependencys.IStrokeLimitConfig.html">IStrokeLimitConfig</a></div>
<div><a class="xref" href="Hi.NcParsers.Dependencys.INcDependency.html">INcDependency</a></div>
<div><a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html">IMakeXmlSource</a></div>
</dd>
@@ -428,6 +429,72 @@ Null if not defined for this controller brand.</p>
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_StrokeLimitNegParamId_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.StrokeLimitNegParamId*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_StrokeLimitNegParamId" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.StrokeLimitNegParamId">
StrokeLimitNegParamId
</h3>
<div class="markdown level1 summary"><p>Parameter/MD/MP number for negative stroke limit per axis.
Null if not defined for this controller brand.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual int? StrokeLimitNegParamId { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_StrokeLimitPosParamId_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.StrokeLimitPosParamId*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_StrokeLimitPosParamId" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.StrokeLimitPosParamId">
StrokeLimitPosParamId
</h3>
<div class="markdown level1 summary"><p>Parameter/MD/MP number for positive stroke limit per axis.
Null if not defined for this controller brand.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual int? StrokeLimitPosParamId { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_SystemParams_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.SystemParams*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_SystemParams" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.SystemParams">
@@ -543,45 +610,6 @@ Use <a class="xref" href="Hi.NcParsers.Dependencys.ControllerParameterTableBase.
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_GetAxisRapidRate_mmdmin_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.GetAxisRapidRate_mmdmin*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_GetAxisRapidRate_mmdmin_System_String_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.GetAxisRapidRate_mmdmin(System.String)">
GetAxisRapidRate_mmdmin(string)
</h3>
<div class="markdown level1 summary"><p>Gets rapid traverse feedrate for a specific axis
in mm/min (or deg/min for rotary).
Returns a default value if the axis is not configured.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double GetAxisRapidRate_mmdmin(string axisName)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>axisName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_GetHomePosition_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.GetHomePosition*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_GetHomePosition_System_String_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.GetHomePosition(System.String)">
@@ -620,6 +648,160 @@ Returns null if the axis has no home position configured.</p>
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_GetLinearAxisRapidRate_mmdmin_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.GetLinearAxisRapidRate_mmdmin*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_GetLinearAxisRapidRate_mmdmin_System_String_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.GetLinearAxisRapidRate_mmdmin(System.String)">
GetLinearAxisRapidRate_mmdmin(string)
</h3>
<div class="markdown level1 summary"><p>Gets rapid traverse feedrate for a linear axis in mm/min.
Returns a default value if the axis is not configured.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double GetLinearAxisRapidRate_mmdmin(string axisName)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>axisName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_GetNegativeLimit_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.GetNegativeLimit*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_GetNegativeLimit_System_String_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.GetNegativeLimit(System.String)">
GetNegativeLimit(string)
</h3>
<div class="markdown level1 summary"><p>Gets the negative stroke limit for a specific axis.
Unit is mm for linear axes, deg for rotary axes.
Returns null if not configured (no limit).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double? GetNegativeLimit(string axisName)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>axisName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>?</dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_GetPositiveLimit_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.GetPositiveLimit*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_GetPositiveLimit_System_String_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.GetPositiveLimit(System.String)">
GetPositiveLimit(string)
</h3>
<div class="markdown level1 summary"><p>Gets the positive stroke limit for a specific axis.
Unit is mm for linear axes, deg for rotary axes.
Returns null if not configured (no limit).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double? GetPositiveLimit(string axisName)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>axisName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>?</dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_GetRotaryAxisRapidRate_degdmin_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.GetRotaryAxisRapidRate_degdmin*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_GetRotaryAxisRapidRate_degdmin_System_String_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.GetRotaryAxisRapidRate_degdmin(System.String)">
GetRotaryAxisRapidRate_degdmin(string)
</h3>
<div class="markdown level1 summary"><p>Gets rapid traverse feedrate for a rotary axis in deg/min.
Returns a default value if the axis is not configured.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double GetRotaryAxisRapidRate_degdmin(string axisName)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>axisName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_IntAxisParam_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.IntAxisParam*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_IntAxisParam_System_Int32_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.IntAxisParam(System.Int32)">
@@ -875,6 +1057,144 @@ Since the folder can be moving with the configuration file.</p>
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_SetLinearAxisRapidRate_mmdmin_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.SetLinearAxisRapidRate_mmdmin*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_SetLinearAxisRapidRate_mmdmin_System_String_System_Double_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.SetLinearAxisRapidRate_mmdmin(System.String,System.Double)">
SetLinearAxisRapidRate_mmdmin(string, double)
</h3>
<div class="markdown level1 summary"><p>Sets rapid traverse feedrate for a linear axis in mm/min.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void SetLinearAxisRapidRate_mmdmin(string axisName, double value)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>axisName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_SetNegativeLimit_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.SetNegativeLimit*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_SetNegativeLimit_System_String_System_Double_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.SetNegativeLimit(System.String,System.Double)">
SetNegativeLimit(string, double)
</h3>
<div class="markdown level1 summary"><p>Sets the negative stroke limit for a specific axis.
Unit is mm for linear axes, deg for rotary axes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void SetNegativeLimit(string axisName, double value)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>axisName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_SetPositiveLimit_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.SetPositiveLimit*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_SetPositiveLimit_System_String_System_Double_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.SetPositiveLimit(System.String,System.Double)">
SetPositiveLimit(string, double)
</h3>
<div class="markdown level1 summary"><p>Sets the positive stroke limit for a specific axis.
Unit is mm for linear axes, deg for rotary axes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void SetPositiveLimit(string axisName, double value)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>axisName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_SetRotaryAxisRapidRate_degdmin_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.SetRotaryAxisRapidRate_degdmin*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_SetRotaryAxisRapidRate_degdmin_System_String_System_Double_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.SetRotaryAxisRapidRate_degdmin(System.String,System.Double)">
SetRotaryAxisRapidRate_degdmin(string, double)
</h3>
<div class="markdown level1 summary"><p>Sets rapid traverse feedrate for a rotary axis in deg/min.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void SetRotaryAxisRapidRate_degdmin(string axisName, double value)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>axisName</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_WriteXml_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.WriteXml*"></a>
<h3 id="Hi_NcParsers_Dependencys_ControllerParameterTableBase_WriteXml_System_String_" data-uid="Hi.NcParsers.Dependencys.ControllerParameterTableBase.WriteXml(System.String)">