This commit is contained in:
2026-09-12 18:16:27 +08:00
parent b7f55aa631
commit 397a7a8cc4
96 changed files with 1167 additions and 1259 deletions
@@ -153,9 +153,11 @@ can put its own content on a canvas without touching the transport.</p>
Execution displayee to it</li>
</ul>
<p>Six further controllers bind content the same way — the STL preview, the Tool House, the General
Setup equipment, the machine tool, the Mech Builder general mechanism and the Controller page —
each with its own route and its own displayee, all reaching the engine through the same connection
ID.</p>
Setup equipment, the machine tool, the Mech Builder general mechanism and the legacy HardNcEnv
controller — each with its own route, all reaching the engine through the same connection ID. The
first five bind a displayee of their own; the last binds the shared Execution displayee, and it has
had no caller since the Legacy Controller page was removed on 2026-09-11 — the route is still
mounted, but no canvas in the SPA initializes against it.</p>
<h2 id="key-points">Key Points</h2>
<ul>
<li>Every canvas data-stream operation is indexed by the connection ID.</li>
@@ -186,8 +188,9 @@ Execution displayee to the engine named by the connection ID.</li>
(<code>api/mech/machine-tool/display</code>).</li>
<li><code>Mech/MechBuilder/GeneralMechanismDisplayController.cs</code> — the Mech Builder canvas binding
(<code>api/general-mechanism/display</code>).</li>
<li><code>Controller/ControllerController.cs</code> — the Controller page's canvas binding
(<code>initialize-display/{connectionId}</code>).</li>
<li><code>Controller/ControllerController.cs</code> — the legacy controller surface's canvas binding
(<code>initialize-display/{connectionId}</code>), which assigns the shared Execution displayee; still mounted,
with no SPA caller since the Legacy Controller page was removed.</li>
</ul>
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
<ul>
@@ -181,8 +181,8 @@ rendering flags and the anchor labels.</li>
control-tree node names and the mission command kinds.</li>
<li><code>wwwroot-src/src/i18n/zh-Hant/mission.ts</code> — the PreSetting command fields, including Machining
Resolution and the meshed-geometry file picker.</li>
<li><code>wwwroot-src/src/i18n/zh-Hant/controller.ts</code> and <code>wwwroot-src/src/i18n/zh-Hant/softNc.ts</code> — the
Datum Preset tab, its table, and the runner's datum-preset row.</li>
<li><code>wwwroot-src/src/i18n/zh-Hant/softNc.ts</code> — the runner's Datum Preset and Datum Shift rows and the
datum table behind them.</li>
<li><code>wwwroot-src/src/i18n/zh-Hant/execution.ts</code> — the Execution rendering flags, where Meshed
Geometry and Fixture appear together.</li>
<li><code>wwwroot-src/src/i18n/index.ts</code> — <code>createI18n()</code>, <code>applyLocale()</code> and <code>SUPPORTED_LOCALES</code>, the