deploy webservice static-file routing for docsite folder URLs, per-instance step-cache db, and constant-height panel title bars.

This commit is contained in:
2026-08-27 14:51:37 +08:00
parent 1fc510af5e
commit 2a98ae7556
1468 changed files with 182837 additions and 18888 deletions
@@ -102,7 +102,10 @@ Class NcCodeCommand
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class NcCodeCommand : ITitleCommand, ISessionCommand, IMakeXmlSource</code></pre>
<pre><code class="lang-csharp hljs">[CultureText(&quot;zh-Hant&quot;, &quot;NC程式碼&quot;)]
[CultureText(&quot;zh-Hans&quot;, &quot;NC代码&quot;)]
[CommandCatalog(CommandCategory.Program, Order = 1)]
public class NcCodeCommand : ITitleCommand, ISessionCommand, IMakeXmlSource</code></pre>
</div>
@@ -282,6 +285,43 @@ Class NcCodeCommand
<h2 class="section" id="fields">Fields
</h2>
<h3 id="Hi_SessionCommands_NcCodeCommand_ConstDisplayName" data-uid="Hi.SessionCommands.NcCodeCommand.ConstDisplayName">
ConstDisplayName
</h3>
<div class="markdown level1 summary"><p>The command's own name — the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.displaynameattribute">DisplayNameAttribute</a> value,
the localization key, AND the <a class="xref" href="Hi.SessionCommands.NcCodeCommand.html#Hi_SessionCommands_NcCodeCommand_Title">Title</a> default, which is why
<a class="xref" href="Hi.SessionCommands.NcCodeCommand.html#Hi_SessionCommands_NcCodeCommand_GetCommandTitle_Hi_Common_ICommandTextSource_">GetCommandTitle(ICommandTextSource)</a> can treat a Title equal to it as unset.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string ConstDisplayName = &quot;NC Code&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>
<h2 class="section" id="properties">Properties
</h2>
@@ -326,7 +366,9 @@ Class NcCodeCommand
</h3>
<div class="markdown level1 summary"><p>Title.
Alternative file name for the NC code file.</p>
Alternative file name for the NC code file — it doubles as the
in-memory NC program name handed to <a class="xref" href="Hi.MachiningProcs.SessionShell.html#Hi_MachiningProcs_SessionShell_RunNc_System_String_System_String_">RunNc(string, string)</a>,
so the default is a usable name rather than an empty string.</p>
</div>
<div class="markdown level1 conceptual"></div>
@@ -389,19 +431,36 @@ Alternative file name for the NC code file.</p>
<a id="Hi_SessionCommands_NcCodeCommand_GetCommandTitle_" data-uid="Hi.SessionCommands.NcCodeCommand.GetCommandTitle*"></a>
<h3 id="Hi_SessionCommands_NcCodeCommand_GetCommandTitle" data-uid="Hi.SessionCommands.NcCodeCommand.GetCommandTitle">
GetCommandTitle()
<h3 id="Hi_SessionCommands_NcCodeCommand_GetCommandTitle_Hi_Common_ICommandTextSource_" data-uid="Hi.SessionCommands.NcCodeCommand.GetCommandTitle(Hi.Common.ICommandTextSource)">
GetCommandTitle(ICommandTextSource)
</h3>
<div class="markdown level1 summary"><p>Gets the title of the command.</p>
<div class="markdown level1 summary"><p>Gets the title of the command — one row in a command list or a
mission tree — composed from the caller's vocabulary: the command owns
the composition and degradation rules, the caller owns the language.</p>
<p>
The shape is <code>Name</code>, or <code>Name [detail]</code> once there is a
detail worth showing. The NAME always leads and is never dropped:
a row must say WHAT it is even when the detail is a title the user
wrote, otherwise a newcomer cannot tell a command list from a
script. The detail trails because these rows truncate from the
right. An empty detail takes the bare-name form rather than
rendering dangling brackets.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string GetCommandTitle()</code></pre>
<pre><code class="lang-csharp hljs">public string GetCommandTitle(ICommandTextSource text)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>text</code> <a class="xref" href="Hi.Common.ICommandTextSource.html">ICommandTextSource</a></dt>
<dd><p>Culture-bearing vocabulary the static words are taken from.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">