This commit is contained in:
2026-09-16 00:00:49 +08:00
parent 1a75503105
commit bfa3106a69
60 changed files with 696 additions and 268 deletions
@@ -2222,7 +2222,7 @@ no-op, for hosts without a setup face (e.g. test stubs).</p>
</h3>
<div class="markdown level1 summary"><p>Forwards the authored environment values (background temperature,
<div class="markdown level1 summary"><p>Forwards the authored environment values (ambient temperature,
coolant condition, spindle capability) onto the runtime face. These are
pure data with no topology involvement, so eager forwarding is safe and
keeps environment edits immediate — a full materialise is not needed
@@ -3735,6 +3735,46 @@ The previous step is null if no previous step exists.</p>
<h3 id="Hi_MachiningProcs_LocalProjectService_OnNcPipelineReset" data-uid="Hi.MachiningProcs.LocalProjectService.OnNcPipelineReset">
OnNcPipelineReset
</h3>
<div class="markdown level1 summary"><p>App-lifetime event raised after the per-session NC pipeline state has been
rewound (<span class="xref">Hi.MachiningProcs.LocalProjectService.ResetNcPipelineState()</span>): the next
<a class="xref" href="Hi.Numerical.INcRunner.html#Hi_Numerical_INcRunner_RunNcLines_System_String_System_Collections_Generic_IEnumerable_System_String__Hi_MachiningProcs_MachiningSession_Hi_MachiningProcs_StepDiagnosticProgress_Hi_NcParsers_NcDiagnosticProgress_System_Threading_CancellationToken_">RunNcLines(string, IEnumerable&lt;string&gt;, MachiningSession, StepDiagnosticProgress, NcDiagnosticProgress, CancellationToken)</a> re-initialises from scratch, so its
FileIndex / SentenceIndex counters restart at 0. Raised on EVERY rewind path —
a runner-suit rewire (brand switch), <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html#Hi_MachiningProcs_LocalProjectService_PowerReset">PowerReset()</a> and
<a class="xref" href="Hi.MachiningProcs.LocalProjectService.html#Hi_MachiningProcs_LocalProjectService_ResetRuntime_System_IProgress_Hi_Common_Messages_IMessage__">ResetRuntime(IProgress&lt;IMessage&gt;)</a> (including a mission script's <code>ResetRuntime()</code>
between two NC files) — not only on a PacePlayer reset or a project swap,
which are the two boundaries a session-lifetime consumer already sees. Anything
keyed by those counters must drop its index here, or the next file's pieces
land under the previous file's numbers.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public event Action OnNcPipelineReset</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action">Action</a></dt>
<dd></dd>
</dl>
<h3 id="Hi_MachiningProcs_LocalProjectService_OnShellMessageAdded" data-uid="Hi.MachiningProcs.LocalProjectService.OnShellMessageAdded">
OnShellMessageAdded