This commit is contained in:
2026-02-11 04:11:05 +08:00
parent b445c3e334
commit 1a8a3b59d2
104 changed files with 10241 additions and 2457 deletions
@@ -475,8 +475,8 @@ It matches the class name to maintain consistency between code and XML represent
<a id="Hi_Mapping_TimeMapping_CallTimeShotByRelFile_" data-uid="Hi.Mapping.TimeMapping.CallTimeShotByRelFile*"></a>
<h3 id="Hi_Mapping_TimeMapping_CallTimeShotByRelFile_System_String_Hi_Common_Messages_IMessageHost_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.TimeMapping.CallTimeShotByRelFile(System.String,Hi.Common.Messages.IMessageHost,System.Nullable{System.Threading.CancellationToken})">
CallTimeShotByRelFile(string, IMessageHost, CancellationToken?)
<h3 id="Hi_Mapping_TimeMapping_CallTimeShotByRelFile_System_String_System_IProgress_System_Object__System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.TimeMapping.CallTimeShotByRelFile(System.String,System.IProgress{System.Object},System.Nullable{System.Threading.CancellationToken})">
CallTimeShotByRelFile(string, IProgress&lt;object&gt;, CancellationToken?)
</h3>
@@ -485,7 +485,7 @@ It matches the class name to maintain consistency between code and XML represent
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public List&lt;ITimeShot&gt; CallTimeShotByRelFile(string relFile, IMessageHost messageHost, CancellationToken? cancellationToken = null)</code></pre>
<pre><code class="lang-csharp hljs">public List&lt;ITimeShot&gt; CallTimeShotByRelFile(string relFile, IProgress&lt;object&gt; messageHost, CancellationToken? cancellationToken = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -493,7 +493,7 @@ It matches the class name to maintain consistency between code and XML represent
<dt><code>relFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The relative path to the file containing time shots.</p>
</dd>
<dt><code>messageHost</code> <a class="xref" href="Hi.Common.Messages.IMessageHost.html">IMessageHost</a></dt>
<dt><code>messageHost</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</dt>
<dd><p>The message host for logging progress.</p>
</dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a>?</dt>
@@ -515,7 +515,7 @@ If the file is already being loaded by another thread, waits for that operation
<h4 class="section" id="Hi_Mapping_TimeMapping_CallTimeShotByRelFile_System_String_Hi_Common_Messages_IMessageHost_System_Nullable_System_Threading_CancellationToken___remarks">Remarks</h4>
<h4 class="section" id="Hi_Mapping_TimeMapping_CallTimeShotByRelFile_System_String_System_IProgress_System_Object__System_Nullable_System_Threading_CancellationToken___remarks">Remarks</h4>
<div class="markdown level1 remarks"><p>This method is thread-safe and ensures each file is only read once, even with concurrent access.
Any exceptions during file reading are captured and can be inspected through the task's exception property.</p>
</div>
@@ -676,8 +676,8 @@ Any exceptions during file reading are captured and can be inspected through the
<a id="Hi_Mapping_TimeMapping_LoadTimeShotFiles_" data-uid="Hi.Mapping.TimeMapping.LoadTimeShotFiles*"></a>
<h3 id="Hi_Mapping_TimeMapping_LoadTimeShotFiles_Hi_Common_Messages_IMessageHost_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.TimeMapping.LoadTimeShotFiles(Hi.Common.Messages.IMessageHost,System.Nullable{System.Threading.CancellationToken})">
LoadTimeShotFiles(IMessageHost, CancellationToken?)
<h3 id="Hi_Mapping_TimeMapping_LoadTimeShotFiles_System_IProgress_System_Object__System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.TimeMapping.LoadTimeShotFiles(System.IProgress{System.Object},System.Nullable{System.Threading.CancellationToken})">
LoadTimeShotFiles(IProgress&lt;object&gt;, CancellationToken?)
</h3>
@@ -686,12 +686,12 @@ Any exceptions during file reading are captured and can be inspected through the
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void LoadTimeShotFiles(IMessageHost messageHost, CancellationToken? cancellationToken = null)</code></pre>
<pre><code class="lang-csharp hljs">public void LoadTimeShotFiles(IProgress&lt;object&gt; messageHost, CancellationToken? cancellationToken = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>messageHost</code> <a class="xref" href="Hi.Common.Messages.IMessageHost.html">IMessageHost</a></dt>
<dt><code>messageHost</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</dt>
<dd><p>The message host for logging progress.</p>
</dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a>?</dt>
@@ -766,8 +766,8 @@ Any exceptions during file reading are captured and can be inspected through the
<a id="Hi_Mapping_TimeMapping_Map_" data-uid="Hi.Mapping.TimeMapping.Map*"></a>
<h3 id="Hi_Mapping_TimeMapping_Map_Hi_Common_Range_System_Int32__Hi_Mappings_FileTimeSection_Hi_Mapping_StepTimeShotUtil_CycleSamplingMode_Hi_CutterLocations_ClStrips_ClStrip_Hi_Common_Messages_IMessageHost_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.TimeMapping.Map(Hi.Common.Range{System.Int32},Hi.Mappings.FileTimeSection,Hi.Mapping.StepTimeShotUtil.CycleSamplingMode,Hi.CutterLocations.ClStrips.ClStrip,Hi.Common.Messages.IMessageHost,System.Nullable{System.Threading.CancellationToken})">
Map(Range&lt;int&gt;, FileTimeSection, CycleSamplingMode, ClStrip, IMessageHost, CancellationToken?)
<h3 id="Hi_Mapping_TimeMapping_Map_Hi_Common_Range_System_Int32__Hi_Mappings_FileTimeSection_Hi_Mapping_StepTimeShotUtil_CycleSamplingMode_Hi_CutterLocations_ClStrips_ClStrip_System_IProgress_System_Object__System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.TimeMapping.Map(Hi.Common.Range{System.Int32},Hi.Mappings.FileTimeSection,Hi.Mapping.StepTimeShotUtil.CycleSamplingMode,Hi.CutterLocations.ClStrips.ClStrip,System.IProgress{System.Object},System.Nullable{System.Threading.CancellationToken})">
Map(Range&lt;int&gt;, FileTimeSection, CycleSamplingMode, ClStrip, IProgress&lt;object&gt;, CancellationToken?)
</h3>
@@ -777,7 +777,7 @@ This method is thread-safe and can be called concurrently.</p>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Map(Range&lt;int&gt; stepSection, FileTimeSection relFileTimeSection, StepTimeShotUtil.CycleSamplingMode cycleSamplingMode, ClStrip clStrip, IMessageHost messageHost, CancellationToken? cancellationToken = null)</code></pre>
<pre><code class="lang-csharp hljs">public void Map(Range&lt;int&gt; stepSection, FileTimeSection relFileTimeSection, StepTimeShotUtil.CycleSamplingMode cycleSamplingMode, ClStrip clStrip, IProgress&lt;object&gt; messageHost, CancellationToken? cancellationToken = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -794,7 +794,7 @@ This method is thread-safe and can be called concurrently.</p>
<dt><code>clStrip</code> <a class="xref" href="Hi.CutterLocations.ClStrips.ClStrip.html">ClStrip</a></dt>
<dd><p>The cutter location strip to map.</p>
</dd>
<dt><code>messageHost</code> <a class="xref" href="Hi.Common.Messages.IMessageHost.html">IMessageHost</a></dt>
<dt><code>messageHost</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</dt>
<dd><p>The message host for logging progress.</p>
</dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a>?</dt>
@@ -815,8 +815,8 @@ This method is thread-safe and can be called concurrently.</p>
<a id="Hi_Mapping_TimeMapping_MapSeriesByActualTime_" data-uid="Hi.Mapping.TimeMapping.MapSeriesByActualTime*"></a>
<h3 id="Hi_Mapping_TimeMapping_MapSeriesByActualTime_System_String_Hi_Mapping_StepTimeShotUtil_CycleSamplingMode_Hi_CutterLocations_ClStrips_ClStrip_Hi_Common_Messages_IMessageHost_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.TimeMapping.MapSeriesByActualTime(System.String,Hi.Mapping.StepTimeShotUtil.CycleSamplingMode,Hi.CutterLocations.ClStrips.ClStrip,Hi.Common.Messages.IMessageHost,System.Nullable{System.Threading.CancellationToken})">
MapSeriesByActualTime(string, CycleSamplingMode, ClStrip, IMessageHost, CancellationToken?)
<h3 id="Hi_Mapping_TimeMapping_MapSeriesByActualTime_System_String_Hi_Mapping_StepTimeShotUtil_CycleSamplingMode_Hi_CutterLocations_ClStrips_ClStrip_System_IProgress_System_Object__System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.TimeMapping.MapSeriesByActualTime(System.String,Hi.Mapping.StepTimeShotUtil.CycleSamplingMode,Hi.CutterLocations.ClStrips.ClStrip,System.IProgress{System.Object},System.Nullable{System.Threading.CancellationToken})">
MapSeriesByActualTime(string, CycleSamplingMode, ClStrip, IProgress&lt;object&gt;, CancellationToken?)
</h3>
@@ -825,7 +825,7 @@ This method is thread-safe and can be called concurrently.</p>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void MapSeriesByActualTime(string timeShotRelFile, StepTimeShotUtil.CycleSamplingMode cycleSamplingMode, ClStrip clStrip, IMessageHost messageHost, CancellationToken? cancellationToken = null)</code></pre>
<pre><code class="lang-csharp hljs">public void MapSeriesByActualTime(string timeShotRelFile, StepTimeShotUtil.CycleSamplingMode cycleSamplingMode, ClStrip clStrip, IProgress&lt;object&gt; messageHost, CancellationToken? cancellationToken = null)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -839,7 +839,7 @@ This method is thread-safe and can be called concurrently.</p>
<dt><code>clStrip</code> <a class="xref" href="Hi.CutterLocations.ClStrips.ClStrip.html">ClStrip</a></dt>
<dd><p>The cutter location strip to map.</p>
</dd>
<dt><code>messageHost</code> <a class="xref" href="Hi.Common.Messages.IMessageHost.html">IMessageHost</a></dt>
<dt><code>messageHost</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;</dt>
<dd><p>The session message host for logging.</p>
</dd>
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a>?</dt>