This commit is contained in:
2025-09-06 21:25:33 +08:00
parent f6dd232ef8
commit 878475acf8
108 changed files with 5919 additions and 4961 deletions
@@ -105,7 +105,9 @@
Console.WriteLine($"{present.ShortName}: {valueText} {present.TailUnitString} ({present.Name} [{entry.Key}])");
}
}
</code></pre><h2 id="source-code-path">Source Code Path</h2>
</code></pre><h2 id="signalr-implementation-webapi-only">SignalR Implementation (Webapi Only)</h2>
<p><code>SelectedStepInfoHub</code> provides real-time step updates with method <code>GetSelectedStepInfo()</code> and event <code>SelectedStepInfoUpdated</code>. <code>SelectedStepInfoService</code> monitors <a class="xref" href="../../../../api/Hi.MachiningProcs.LocalProjectService.html#Hi_MachiningProcs_LocalProjectService_ClStrip_PosSelected">ClStrip_PosSelected</a> and <a class="xref" href="../../../../api/Hi.MachiningProcs.LocalProjectService.html#Hi_MachiningProcs_LocalProjectService_ClStrip_MachiningStepSelected">ClStrip_MachiningStepSelected</a> events and broadcasts updates. The JavaScript component connects to <code>/selectedStepInfoHub</code> to receive step change notifications and update the UI accordingly.</p>
<h2 id="source-code-path">Source Code Path</h2>
<p>See <a href="../index.html">this page</a> for git repository.</p>
<h3 id="wpf-application-source-code-path">WPF Application Source Code Path</h3>
<ul>
@@ -113,10 +115,11 @@
</ul>
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
<ul>
<li>wwwroot/selected-step-info-panel.js (Vue component)</li>
<li>wwwroot/selected-step-info-panel.css (Styles)</li>
<li>Controllers/PlayerController.cs (REST API)</li>
<li>Hubs/PlayerHub.cs (SignalR Hub for real-time updates)</li>
<li>wwwroot/player/selected-step-info-panel.js (Vue component)</li>
<li>wwwroot/player/selected-step-info-panel.css (Styles)</li>
<li>Players/PlayerController.cs (REST API - GetSelectedStepInfo endpoint)</li>
<li>Players/SelectedStepInfoService.cs (Business logic)</li>
<li>Players/SelectedStepInfoHub.cs (SignalR Hub for real-time updates)</li>
</ul>
</article>