tune
This commit is contained in:
@@ -157,6 +157,9 @@ Class FileLineIndex
|
||||
<div>
|
||||
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__2___0_System_Func___0___1__">InvokeUtil.SelfInvoke<TSrc, TDst>(TSrc, Func<TSrc, TDst>)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Hi.Geom.MathUtil.html#Hi_Geom_MathUtil_Clamp__1___0___0___0_">MathUtil.Clamp<T>(T, T, T)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Hi.Common.FileLines.FileLineUtil.html#Hi_Common_FileLines_FileLineUtil_GetFileNo_Hi_Common_FileLines_IFileLineIndex_">FileLineUtil.GetFileNo(IFileLineIndex)</a>
|
||||
</div>
|
||||
|
||||
@@ -330,6 +330,39 @@ If the display end is set to -1, returns the total number of positions.</p>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_CutterLocations_ClStrips_ClStrip_ChartRange_" data-uid="Hi.CutterLocations.ClStrips.ClStrip.ChartRange*"></a>
|
||||
|
||||
<h3 id="Hi_CutterLocations_ClStrips_ClStrip_ChartRange" data-uid="Hi.CutterLocations.ClStrips.ClStrip.ChartRange">
|
||||
ChartRange
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Synchoronized Chart Time Range.
|
||||
The value is possible to be null for the un-available status.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Range<TimeSpan> ChartRange { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="Hi.Common.Range-1.html">Range</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a>></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_CutterLocations_ClStrips_ClStrip_IsKeepingDispAlive_" data-uid="Hi.CutterLocations.ClStrips.ClStrip.IsKeepingDispAlive*"></a>
|
||||
|
||||
<h3 id="Hi_CutterLocations_ClStrips_ClStrip_IsKeepingDispAlive" data-uid="Hi.CutterLocations.ClStrips.ClStrip.IsKeepingDispAlive">
|
||||
@@ -1045,10 +1078,10 @@ A value of -1 indicates that the display should follow the end of the strip.</p>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_CutterLocations_ClStrips_ClStrip_SetDispRange_" data-uid="Hi.CutterLocations.ClStrips.ClStrip.SetDispRange*"></a>
|
||||
<a id="Hi_CutterLocations_ClStrips_ClStrip_SetDispSegment_" data-uid="Hi.CutterLocations.ClStrips.ClStrip.SetDispSegment*"></a>
|
||||
|
||||
<h3 id="Hi_CutterLocations_ClStrips_ClStrip_SetDispRange_System_Int32_System_Int32_System_Object_System_Int32_" data-uid="Hi.CutterLocations.ClStrips.ClStrip.SetDispRange(System.Int32,System.Int32,System.Object,System.Int32)">
|
||||
SetDispRange(int, int, object, int)
|
||||
<h3 id="Hi_CutterLocations_ClStrips_ClStrip_SetDispSegment_System_Int32_System_Int32_System_Object_System_Int32_" data-uid="Hi.CutterLocations.ClStrips.ClStrip.SetDispSegment(System.Int32,System.Int32,System.Object,System.Int32)">
|
||||
SetDispSegment(int, int, object, int)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -1058,7 +1091,7 @@ This method sets both the beginning and ending positions of the display range.</
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public void SetDispRange(int beginIndex, int endIndex, object caller, int lowestLength = 2)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public void SetDispSegment(int beginIndex, int endIndex, object caller, int lowestLength = 2)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -1237,6 +1270,65 @@ This method sets both the beginning and ending positions of the display range.</
|
||||
|
||||
|
||||
|
||||
<a id="Hi_CutterLocations_ClStrips_ClStrip_UpdateChartRangeByDispSegment_" data-uid="Hi.CutterLocations.ClStrips.ClStrip.UpdateChartRangeByDispSegment*"></a>
|
||||
|
||||
<h3 id="Hi_CutterLocations_ClStrips_ClStrip_UpdateChartRangeByDispSegment" data-uid="Hi.CutterLocations.ClStrips.ClStrip.UpdateChartRangeByDispSegment">
|
||||
UpdateChartRangeByDispSegment()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Update Chart Time Range By DispSegment.
|
||||
Internal Use Only.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public void UpdateChartRangeByDispSegment()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_CutterLocations_ClStrips_ClStrip_UpdateDispSegmentByChartRange_" data-uid="Hi.CutterLocations.ClStrips.ClStrip.UpdateDispSegmentByChartRange*"></a>
|
||||
|
||||
<h3 id="Hi_CutterLocations_ClStrips_ClStrip_UpdateDispSegmentByChartRange_System_Object_" data-uid="Hi.CutterLocations.ClStrips.ClStrip.UpdateDispSegmentByChartRange(System.Object)">
|
||||
UpdateDispSegmentByChartRange(object)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public void UpdateDispSegmentByChartRange(object caller)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>caller</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="events">Events
|
||||
</h2>
|
||||
|
||||
|
||||
@@ -691,6 +691,52 @@ Class MathUtil
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Geom_MathUtil_Clamp_" data-uid="Hi.Geom.MathUtil.Clamp*"></a>
|
||||
|
||||
<h3 id="Hi_Geom_MathUtil_Clamp__1___0___0___0_" data-uid="Hi.Geom.MathUtil.Clamp``1(``0,``0,``0)">
|
||||
Clamp<T>(T, T, T)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Clamps a value within an inclusive range of minimum and maximum values.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static T Clamp<T>(this T val, T min, T max) where T : IComparable<T></code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>val</code> <span class="xref">T</span></dt>
|
||||
<dd></dd>
|
||||
<dt><code>min</code> <span class="xref">T</span></dt>
|
||||
<dd></dd>
|
||||
<dt><code>max</code> <span class="xref">T</span></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><span class="xref">T</span></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Type Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>T</code></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Geom_MathUtil_Convert_inchdmin_To_mmds_" data-uid="Hi.Geom.MathUtil.Convert_inchdmin_To_mmds*"></a>
|
||||
|
||||
<h3 id="Hi_Geom_MathUtil_Convert_inchdmin_To_mmds_System_Double_" data-uid="Hi.Geom.MathUtil.Convert_inchdmin_To_mmds(System.Double)">
|
||||
|
||||
@@ -181,8 +181,8 @@ Class ClStripServiceRunner
|
||||
|
||||
<a id="Hi_Grpcs_ClStripServiceRunner__ctor_" data-uid="Hi.Grpcs.ClStripServiceRunner.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_Grpcs_ClStripServiceRunner__ctor_System_Func_Hi_MachiningProcs_MachiningProject__" data-uid="Hi.Grpcs.ClStripServiceRunner.#ctor(System.Func{Hi.MachiningProcs.MachiningProject})">
|
||||
ClStripServiceRunner(Func<MachiningProject>)
|
||||
<h3 id="Hi_Grpcs_ClStripServiceRunner__ctor_Hi_MachiningProcs_LocalProjectService_" data-uid="Hi.Grpcs.ClStripServiceRunner.#ctor(Hi.MachiningProcs.LocalProjectService)">
|
||||
ClStripServiceRunner(LocalProjectService)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -191,12 +191,12 @@ Class ClStripServiceRunner
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public ClStripServiceRunner(Func<MachiningProject> machiningProjectHost)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public ClStripServiceRunner(LocalProjectService machiningProjectHost)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>machiningProjectHost</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a><<a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>></dt>
|
||||
<dt><code>machiningProjectHost</code> <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
|
||||
<dd><p>Function to provide access to the current MachiningProject instance</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
@@ -181,8 +181,8 @@ Class PlayerServiceRunner
|
||||
|
||||
<a id="Hi_Grpcs_PlayerServiceRunner__ctor_" data-uid="Hi.Grpcs.PlayerServiceRunner.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_Grpcs_PlayerServiceRunner__ctor_System_Func_Hi_MachiningProcs_MachiningProject__" data-uid="Hi.Grpcs.PlayerServiceRunner.#ctor(System.Func{Hi.MachiningProcs.MachiningProject})">
|
||||
PlayerServiceRunner(Func<MachiningProject>)
|
||||
<h3 id="Hi_Grpcs_PlayerServiceRunner__ctor_Hi_MachiningProcs_LocalProjectService_" data-uid="Hi.Grpcs.PlayerServiceRunner.#ctor(Hi.MachiningProcs.LocalProjectService)">
|
||||
PlayerServiceRunner(LocalProjectService)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -191,14 +191,13 @@ Class PlayerServiceRunner
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public PlayerServiceRunner(Func<MachiningProject> machiningProjectHost)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public PlayerServiceRunner(LocalProjectService localProjectService)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>machiningProjectHost</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a><<a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>></dt>
|
||||
<dd><p>Function to create or retrieve a milling course instance.</p>
|
||||
</dd>
|
||||
<dt><code>localProjectService</code> <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
@@ -450,6 +450,37 @@ Host class for HiNC functionality that provides project management, path resolut
|
||||
|
||||
|
||||
|
||||
<a id="Hi_HiNcKits_HiNcHost_LocalProjectService_" data-uid="Hi.HiNcKits.HiNcHost.LocalProjectService*"></a>
|
||||
|
||||
<h3 id="Hi_HiNcKits_HiNcHost_LocalProjectService" data-uid="Hi.HiNcKits.HiNcHost.LocalProjectService">
|
||||
LocalProjectService
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public LocalProjectService LocalProjectService { get; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_HiNcKits_HiNcHost_MachiningProject_" data-uid="Hi.HiNcKits.HiNcHost.MachiningProject*"></a>
|
||||
|
||||
<h3 id="Hi_HiNcKits_HiNcHost_MachiningProject" data-uid="Hi.HiNcKits.HiNcHost.MachiningProject">
|
||||
|
||||
-73
@@ -1238,79 +1238,6 @@ This should be called after collision detection is complete.</p>
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="events">Events
|
||||
</h2>
|
||||
|
||||
|
||||
|
||||
<h3 id="Hi_Machining_MachiningEquipmentUtils_MachiningEquipment_MachiningChainChanged" data-uid="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.MachiningChainChanged">
|
||||
MachiningChainChanged
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Event that is raised when the machining chain is changed.
|
||||
Provides both the previous and new chain values.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public event Action<SeqPair<IMachiningChain>> MachiningChainChanged</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-1">Action</a><<a class="xref" href="Hi.Common.SeqPair-1.html">SeqPair</a><<a class="xref" href="Hi.Mech.IMachiningChain.html">IMachiningChain</a>>></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h3 id="Hi_Machining_MachiningEquipmentUtils_MachiningEquipment_WorkpieceChanged" data-uid="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.WorkpieceChanged">
|
||||
WorkpieceChanged
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Event that is raised when the workpiece is changed.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public event Action<SeqPair<Workpiece>> WorkpieceChanged</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-1">Action</a><<a class="xref" href="Hi.Common.SeqPair-1.html">SeqPair</a><<a class="xref" href="Hi.NcMech.Workpieces.Workpiece.html">Workpiece</a>>></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<h4 class="section" id="Hi_Machining_MachiningEquipmentUtils_MachiningEquipment_WorkpieceChanged_remarks">Remarks</h4>
|
||||
<div class="markdown level1 remarks"><p>This event is triggered whenever the workpiece property is modified.
|
||||
Subscribers can use this event to respond to changes in the workpiece configuration,
|
||||
such as updating visualizations or recalculating machining parameters.
|
||||
The event provides both the previous and new workpiece values through a SeqPair.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
@@ -180,8 +180,8 @@ Class MachiningVolumeRemovalProc
|
||||
|
||||
<a id="Hi_Machining_MachiningVolumeRemovalProc__ctor_" data-uid="Hi.Machining.MachiningVolumeRemovalProc.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_Machining_MachiningVolumeRemovalProc__ctor" data-uid="Hi.Machining.MachiningVolumeRemovalProc.#ctor">
|
||||
MachiningVolumeRemovalProc()
|
||||
<h3 id="Hi_Machining_MachiningVolumeRemovalProc__ctor_System_Func_Hi_Machining_MachiningEquipmentUtils_MachiningEquipment__" data-uid="Hi.Machining.MachiningVolumeRemovalProc.#ctor(System.Func{Hi.Machining.MachiningEquipmentUtils.MachiningEquipment})">
|
||||
MachiningVolumeRemovalProc(Func<MachiningEquipment>)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -190,9 +190,14 @@ Class MachiningVolumeRemovalProc
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public MachiningVolumeRemovalProc()</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public MachiningVolumeRemovalProc(Func<MachiningEquipment> machiningEquipmentGetter)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>machiningEquipmentGetter</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a><<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html">MachiningEquipment</a>></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
@@ -241,39 +246,6 @@ Class MachiningVolumeRemovalProc
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Machining_MachiningVolumeRemovalProc_MachiningEquipment_" data-uid="Hi.Machining.MachiningVolumeRemovalProc.MachiningEquipment*"></a>
|
||||
|
||||
<h3 id="Hi_Machining_MachiningVolumeRemovalProc_MachiningEquipment" data-uid="Hi.Machining.MachiningVolumeRemovalProc.MachiningEquipment">
|
||||
MachiningEquipment
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets the machining equipment used in the volume removal process.
|
||||
When changed, clears the internal cache.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public MachiningEquipment MachiningEquipment { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html">MachiningEquipment</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
+40
-8
@@ -190,8 +190,8 @@ obsoleted.</p>
|
||||
|
||||
<a id="Hi_MachiningProcs_DynamicMachiningProjectDisplayee0__ctor_" data-uid="Hi.MachiningProcs.DynamicMachiningProjectDisplayee0.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_DynamicMachiningProjectDisplayee0__ctor_System_Func_Hi_MachiningProcs_MachiningProject__" data-uid="Hi.MachiningProcs.DynamicMachiningProjectDisplayee0.#ctor(System.Func{Hi.MachiningProcs.MachiningProject})">
|
||||
DynamicMachiningProjectDisplayee0(Func<MachiningProject>)
|
||||
<h3 id="Hi_MachiningProcs_DynamicMachiningProjectDisplayee0__ctor_Hi_MachiningProcs_LocalProjectService_" data-uid="Hi.MachiningProcs.DynamicMachiningProjectDisplayee0.#ctor(Hi.MachiningProcs.LocalProjectService)">
|
||||
DynamicMachiningProjectDisplayee0(LocalProjectService)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -200,12 +200,12 @@ obsoleted.</p>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public DynamicMachiningProjectDisplayee0(Func<MachiningProject> machiningProjectHost)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public DynamicMachiningProjectDisplayee0(LocalProjectService machiningProjectHost)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>machiningProjectHost</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a><<a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>></dt>
|
||||
<dt><code>machiningProjectHost</code> <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
|
||||
<dd><p>Function that returns the host milling course</p>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -223,8 +223,8 @@ obsoleted.</p>
|
||||
|
||||
<a id="Hi_MachiningProcs_DynamicMachiningProjectDisplayee0__ctor_" data-uid="Hi.MachiningProcs.DynamicMachiningProjectDisplayee0.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_DynamicMachiningProjectDisplayee0__ctor_System_Func_Hi_MachiningProcs_MachiningProject__System_Collections_BitArray_System_Action_System_Collections_BitArray__" data-uid="Hi.MachiningProcs.DynamicMachiningProjectDisplayee0.#ctor(System.Func{Hi.MachiningProcs.MachiningProject},System.Collections.BitArray,System.Action{System.Collections.BitArray})">
|
||||
DynamicMachiningProjectDisplayee0(Func<MachiningProject>, BitArray, Action<BitArray>)
|
||||
<h3 id="Hi_MachiningProcs_DynamicMachiningProjectDisplayee0__ctor_Hi_MachiningProcs_LocalProjectService_System_Collections_BitArray_System_Action_System_Collections_BitArray__" data-uid="Hi.MachiningProcs.DynamicMachiningProjectDisplayee0.#ctor(Hi.MachiningProcs.LocalProjectService,System.Collections.BitArray,System.Action{System.Collections.BitArray})">
|
||||
DynamicMachiningProjectDisplayee0(LocalProjectService, BitArray, Action<BitArray>)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -233,12 +233,12 @@ obsoleted.</p>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public DynamicMachiningProjectDisplayee0(Func<MachiningProject> machiningProjectHost, BitArray renderingFlagBitArray, Action<BitArray> setRenderingFlagFunc)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public DynamicMachiningProjectDisplayee0(LocalProjectService localProjectService, BitArray renderingFlagBitArray, Action<BitArray> setRenderingFlagFunc)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>machiningProjectHost</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a><<a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>></dt>
|
||||
<dt><code>localProjectService</code> <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
|
||||
<dd><p>Function that returns the host milling course</p>
|
||||
</dd>
|
||||
<dt><code>renderingFlagBitArray</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.bitarray">BitArray</a></dt>
|
||||
@@ -264,6 +264,38 @@ obsoleted.</p>
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_DynamicMachiningProjectDisplayee0_LocalProjectService_" data-uid="Hi.MachiningProcs.DynamicMachiningProjectDisplayee0.LocalProjectService*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_DynamicMachiningProjectDisplayee0_LocalProjectService" data-uid="Hi.MachiningProcs.DynamicMachiningProjectDisplayee0.LocalProjectService">
|
||||
LocalProjectService
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Function that returns the host milling course.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public LocalProjectService LocalProjectService { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_DynamicMachiningProjectDisplayee0_MachiningProject_" data-uid="Hi.MachiningProcs.DynamicMachiningProjectDisplayee0.MachiningProject*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_DynamicMachiningProjectDisplayee0_MachiningProject" data-uid="Hi.MachiningProcs.DynamicMachiningProjectDisplayee0.MachiningProject">
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -186,17 +186,17 @@ Class MachiningActRunner
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunner__ctor_" data-uid="Hi.MachiningProcs.MachiningActRunner.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner__ctor_Hi_MachiningProcs_SessionMessageHost_MongoDB_Driver_MongoClient_MongoDB_Driver_IMongoCollection_Hi_MillingSteps_MillingStepLuggage__MongoDB_Driver_IMongoCollection_Hi_Common_Slice__System_Action_Hi_ScriptApiUtils_ICsScriptApi_Hi_MachiningProcs_MillingActRunnerConfig_" data-uid="Hi.MachiningProcs.MachiningActRunner.#ctor(Hi.MachiningProcs.SessionMessageHost,MongoDB.Driver.MongoClient,MongoDB.Driver.IMongoCollection{Hi.MillingSteps.MillingStepLuggage},MongoDB.Driver.IMongoCollection{Hi.Common.Slice},System.Action,Hi.ScriptApiUtils.ICsScriptApi,Hi.MachiningProcs.MillingActRunnerConfig)">
|
||||
MachiningActRunner(SessionMessageHost, MongoClient, IMongoCollection<MillingStepLuggage>, IMongoCollection<Slice>, Action, ICsScriptApi, MillingActRunnerConfig)
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner__ctor_Hi_MachiningProcs_SessionMessageHost_MongoDB_Driver_MongoClient_System_Func_Hi_Machining_MachiningToolHouse__System_Func_Hi_Machining_MachiningEquipmentUtils_MachiningEquipment__MongoDB_Driver_IMongoCollection_Hi_MillingSteps_MillingStepLuggage__MongoDB_Driver_IMongoCollection_Hi_Common_Slice__System_Action_Hi_ScriptApiUtils_ICsScriptApi_Hi_MachiningProcs_MachiningActRunnerConfig_" data-uid="Hi.MachiningProcs.MachiningActRunner.#ctor(Hi.MachiningProcs.SessionMessageHost,MongoDB.Driver.MongoClient,System.Func{Hi.Machining.MachiningToolHouse},System.Func{Hi.Machining.MachiningEquipmentUtils.MachiningEquipment},MongoDB.Driver.IMongoCollection{Hi.MillingSteps.MillingStepLuggage},MongoDB.Driver.IMongoCollection{Hi.Common.Slice},System.Action,Hi.ScriptApiUtils.ICsScriptApi,Hi.MachiningProcs.MachiningActRunnerConfig)">
|
||||
MachiningActRunner(SessionMessageHost, MongoClient, Func<MachiningToolHouse>, Func<MachiningEquipment>, IMongoCollection<MillingStepLuggage>, IMongoCollection<Slice>, Action, ICsScriptApi, MachiningActRunnerConfig)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.MachiningProcs.MachiningActRunner.html">MachiningActRunner</a> class.</p>
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public MachiningActRunner(SessionMessageHost messageHost, MongoClient mongoClient, IMongoCollection<MillingStepLuggage> millingStepLuggageCollection, IMongoCollection<Slice> substractionSplicDbCollection, Action resetMillingStepLuggageDbAction, ICsScriptApi shellApi, MillingActRunnerConfig config = null)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public MachiningActRunner(SessionMessageHost messageHost, MongoClient mongoClient, Func<MachiningToolHouse> machiningToolHouseGetter, Func<MachiningEquipment> machiningEquipmentGetter, IMongoCollection<MillingStepLuggage> millingStepLuggageCollection, IMongoCollection<Slice> substractionSplicDbCollection, Action resetMillingStepLuggageDbAction, ICsScriptApi shellApi, MachiningActRunnerConfig config = null)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -207,6 +207,10 @@ Class MachiningActRunner
|
||||
<dt><code>mongoClient</code> <span class="xref">MongoClient</span></dt>
|
||||
<dd><p>The MongoDB client.</p>
|
||||
</dd>
|
||||
<dt><code>machiningToolHouseGetter</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a><<a class="xref" href="Hi.Machining.MachiningToolHouse.html">MachiningToolHouse</a>></dt>
|
||||
<dd></dd>
|
||||
<dt><code>machiningEquipmentGetter</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a><<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html">MachiningEquipment</a>></dt>
|
||||
<dd></dd>
|
||||
<dt><code>millingStepLuggageCollection</code> <span class="xref">IMongoCollection</span><<a class="xref" href="Hi.MillingSteps.MillingStepLuggage.html">MillingStepLuggage</a>></dt>
|
||||
<dd><p>The MongoDB collection for milling step luggage.</p>
|
||||
</dd>
|
||||
@@ -219,7 +223,7 @@ Class MachiningActRunner
|
||||
<dt><code>shellApi</code> <a class="xref" href="Hi.ScriptApiUtils.ICsScriptApi.html">ICsScriptApi</a></dt>
|
||||
<dd><p>The C# script API for the milling session.</p>
|
||||
</dd>
|
||||
<dt><code>config</code> <a class="xref" href="Hi.MachiningProcs.MillingActRunnerConfig.html">MillingActRunnerConfig</a></dt>
|
||||
<dt><code>config</code> <a class="xref" href="Hi.MachiningProcs.MachiningActRunnerConfig.html">MachiningActRunnerConfig</a></dt>
|
||||
<dd><p>Optional configuration for the milling act runner.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -304,19 +308,19 @@ This property is provided as a member value getter and should not be modified.</
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunner_EnableCollisionDetection_" data-uid="Hi.MachiningProcs.MachiningActRunner.EnableCollisionDetection*"></a>
|
||||
<a id="Hi_MachiningProcs_MachiningActRunner_Config_" data-uid="Hi.MachiningProcs.MachiningActRunner.Config*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner_EnableCollisionDetection" data-uid="Hi.MachiningProcs.MachiningActRunner.EnableCollisionDetection">
|
||||
EnableCollisionDetection
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner_Config" data-uid="Hi.MachiningProcs.MachiningActRunner.Config">
|
||||
Config
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets whether collision detection is enabled.</p>
|
||||
<div class="markdown level1 summary"><p>Gets or sets the runner configuration.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public bool EnableCollisionDetection { get; set; }</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public MachiningActRunnerConfig Config { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -325,40 +329,7 @@ This property is provided as a member value getter and should not be modified.</
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunner_EnablePhysics_" data-uid="Hi.MachiningProcs.MachiningActRunner.EnablePhysics*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner_EnablePhysics" data-uid="Hi.MachiningProcs.MachiningActRunner.EnablePhysics">
|
||||
EnablePhysics
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets whether milling force evaluation is enabled.
|
||||
This is a runtime configuration and is not managed in XML IO.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public bool EnablePhysics { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dt><a class="xref" href="Hi.MachiningProcs.MachiningActRunnerConfig.html">MachiningActRunnerConfig</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
@@ -401,40 +372,6 @@ This is a runtime configuration and is not managed in XML IO.</p>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunner_EnableWearEffect_" data-uid="Hi.MachiningProcs.MachiningActRunner.EnableWearEffect*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner_EnableWearEffect" data-uid="Hi.MachiningProcs.MachiningActRunner.EnableWearEffect">
|
||||
EnableWearEffect
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets whether to enable coating wear effects.
|
||||
Note: This function is not fully prepared yet.
|
||||
Only affects further wear by the wear coefficient of inner material.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public bool EnableWearEffect { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunner_GrpcPostStepAction_" data-uid="Hi.MachiningProcs.MachiningActRunner.GrpcPostStepAction*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner_GrpcPostStepAction" data-uid="Hi.MachiningProcs.MachiningActRunner.GrpcPostStepAction">
|
||||
@@ -468,38 +405,6 @@ This is for internal use only.</p>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunner_MachiningEquipment_" data-uid="Hi.MachiningProcs.MachiningActRunner.MachiningEquipment*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner_MachiningEquipment" data-uid="Hi.MachiningProcs.MachiningActRunner.MachiningEquipment">
|
||||
MachiningEquipment
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets the machining equipment.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public MachiningEquipment MachiningEquipment { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html">MachiningEquipment</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunner_MachiningMotionResolution_" data-uid="Hi.MachiningProcs.MachiningActRunner.MachiningMotionResolution*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner_MachiningMotionResolution" data-uid="Hi.MachiningProcs.MachiningActRunner.MachiningMotionResolution">
|
||||
@@ -544,7 +449,7 @@ This is for internal use only.</p>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public MachiningToolHouse MachiningToolHouse { get; set; }</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public MachiningToolHouse MachiningToolHouse { get; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -596,38 +501,6 @@ This is for internal use only.</p>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunner_MillingActRunnerConfig_" data-uid="Hi.MachiningProcs.MachiningActRunner.MillingActRunnerConfig*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner_MillingActRunnerConfig" data-uid="Hi.MachiningProcs.MachiningActRunner.MillingActRunnerConfig">
|
||||
MillingActRunnerConfig
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets the runner configuration.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public MillingActRunnerConfig MillingActRunnerConfig { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="Hi.MachiningProcs.MillingActRunnerConfig.html">MillingActRunnerConfig</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunner_SessionMessageHost_" data-uid="Hi.MachiningProcs.MachiningActRunner.SessionMessageHost*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner_SessionMessageHost" data-uid="Hi.MachiningProcs.MachiningActRunner.SessionMessageHost">
|
||||
@@ -789,8 +662,7 @@ This is for internal use only.</p>
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Disposes of the resources used by the <a class="xref" href="Hi.MachiningProcs.MachiningActRunner.html">MachiningActRunner</a>.</p>
|
||||
</div>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
@@ -800,8 +672,7 @@ This is for internal use only.</p>
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>disposing</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd><p>True to release both managed and unmanaged resources; false to release only unmanaged resources.</p>
|
||||
</dd>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
@@ -992,6 +863,62 @@ This is for internal use only.</p>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunner_UpdateByMachiningChain_" data-uid="Hi.MachiningProcs.MachiningActRunner.UpdateByMachiningChain*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner_UpdateByMachiningChain" data-uid="Hi.MachiningProcs.MachiningActRunner.UpdateByMachiningChain">
|
||||
UpdateByMachiningChain()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Update By <a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html#Hi_Machining_MachiningEquipmentUtils_MachiningEquipment_MachiningChain">MachiningChain</a>.
|
||||
Internal Use Only.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public void UpdateByMachiningChain()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunner_UpdateByMachiningEquipment_" data-uid="Hi.MachiningProcs.MachiningActRunner.UpdateByMachiningEquipment*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner_UpdateByMachiningEquipment" data-uid="Hi.MachiningProcs.MachiningActRunner.UpdateByMachiningEquipment">
|
||||
UpdateByMachiningEquipment()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Update By <span class="xref">Hi.MachiningProcs.MachiningActRunner.MachiningEquipment</span>.
|
||||
Internal Use Only.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public void UpdateByMachiningEquipment()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunner_WaitAll_" data-uid="Hi.MachiningProcs.MachiningActRunner.WaitAll*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunner_WaitAll" data-uid="Hi.MachiningProcs.MachiningActRunner.WaitAll">
|
||||
|
||||
@@ -0,0 +1,627 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Class MachiningActRunnerConfig | HiAPI-C# 2025 </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Class MachiningActRunnerConfig | HiAPI-C# 2025 ">
|
||||
|
||||
<meta name="description" content="Represents the configuration for a milling act runner. Provides settings for physics simulation, evaluation, and temperature control.">
|
||||
<link rel="icon" href="../img/HiAPI.favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../img/HiAPI.logo.png" alt="">
|
||||
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="Hi.MachiningProcs.MachiningActRunnerConfig">
|
||||
|
||||
|
||||
|
||||
<h1 id="Hi_MachiningProcs_MachiningActRunnerConfig" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig" class="text-break">
|
||||
Class MachiningActRunnerConfig
|
||||
</h1>
|
||||
|
||||
<div class="facts text-secondary">
|
||||
<dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.MachiningProcs.html">MachiningProcs</a></dd></dl>
|
||||
<dl><dt>Assembly</dt><dd>HiMech.dll</dd></dl>
|
||||
</div>
|
||||
|
||||
<div class="markdown summary"><p>Represents the configuration for a milling act runner.
|
||||
Provides settings for physics simulation, evaluation, and temperature control.</p>
|
||||
</div>
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class MachiningActRunnerConfig : IMakeXmlSource</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="typelist inheritance">
|
||||
<dt>Inheritance</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
||||
<div><span class="xref">MachiningActRunnerConfig</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class="typelist implements">
|
||||
<dt>Implements</dt>
|
||||
<dd>
|
||||
<div><a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html">IMakeXmlSource</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl class="typelist inheritedMembers">
|
||||
<dt>Inherited Members</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="typelist extensionMethods">
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="Hi.Common.DuplicateUtil.html#Hi_Common_DuplicateUtil_TryDuplicate__1___0_System_Object___">DuplicateUtil.TryDuplicate<TSelf>(TSelf, params object[])</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__1___0_System_Action___0__">InvokeUtil.SelfInvoke<TSrc>(TSrc, Action<TSrc>)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__2___0_System_Func___0___1__">InvokeUtil.SelfInvoke<TSrc, TDst>(TSrc, Func<TSrc, TDst>)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Hi.Coloring.ColorUtil.html#Hi_Coloring_ColorUtil_GetGloomyColor_System_Object_System_Double_System_Double_">ColorUtil.GetGloomyColor(object, double, double)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Hi.Common.NameUtil.html#Hi_Common_NameUtil_GetSelectionName_System_Object_">NameUtil.GetSelectionName(object)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Hi.Common.StringUtil.html#Hi_Common_StringUtil_GetPropertyStringIfToStringNotOverloaded_System_Object_System_Boolean_System_Boolean_">StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Hi.Parallels.LockUtil.html#Hi_Parallels_LockUtil_Lock_System_Object_">LockUtil.Lock(object)</a>
|
||||
</div>
|
||||
</dd></dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunnerConfig__ctor_" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunnerConfig__ctor" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.#ctor">
|
||||
MachiningActRunnerConfig()
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public MachiningActRunnerConfig()</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunnerConfig__ctor_" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunnerConfig__ctor_System_Xml_Linq_XElement_System_String_" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.#ctor(System.Xml.Linq.XElement,System.String)">
|
||||
MachiningActRunnerConfig(XElement, string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.MachiningProcs.MachiningActRunnerConfig.html">MachiningActRunnerConfig</a> class from XML.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public MachiningActRunnerConfig(XElement src, string baseDirectory)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
|
||||
<dd><p>The source XML element.</p>
|
||||
</dd>
|
||||
<dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The base directory for resolving relative paths.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="properties">Properties
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunnerConfig_EnableCollisionDetection_" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.EnableCollisionDetection*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunnerConfig_EnableCollisionDetection" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.EnableCollisionDetection">
|
||||
EnableCollisionDetection
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets whether collision detection is enabled.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public bool EnableCollisionDetection { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunnerConfig_EnableDeflectionTransformation_" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.EnableDeflectionTransformation*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunnerConfig_EnableDeflectionTransformation" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.EnableDeflectionTransformation">
|
||||
EnableDeflectionTransformation
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets whether deflection transformation is enabled.
|
||||
Note: This feature is pending testing.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public bool EnableDeflectionTransformation { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunnerConfig_EnablePauseOnFailure_" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.EnablePauseOnFailure*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunnerConfig_EnablePauseOnFailure" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.EnablePauseOnFailure">
|
||||
EnablePauseOnFailure
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Enable Pause On Failure Detected.
|
||||
Only take effect if the <a class="xref" href="Hi.MachiningProcs.MachiningActRunnerConfig.html#Hi_MachiningProcs_MachiningActRunnerConfig_EnableStrokeLimitCheck">EnableStrokeLimitCheck</a> or <a class="xref" href="Hi.MachiningProcs.MachiningActRunnerConfig.html#Hi_MachiningProcs_MachiningActRunnerConfig_EnableCollisionDetection">EnableCollisionDetection</a> is enabled.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public bool EnablePauseOnFailure { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunnerConfig_EnablePhysics_" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.EnablePhysics*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunnerConfig_EnablePhysics" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.EnablePhysics">
|
||||
EnablePhysics
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets whether milling force evaluation is enabled.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public bool EnablePhysics { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunnerConfig_EnableStrokeLimitCheck_" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.EnableStrokeLimitCheck*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunnerConfig_EnableStrokeLimitCheck" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.EnableStrokeLimitCheck">
|
||||
EnableStrokeLimitCheck
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets whether stroke limit checking is enabled.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public bool EnableStrokeLimitCheck { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunnerConfig_EnableWearEffect_" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.EnableWearEffect*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunnerConfig_EnableWearEffect" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.EnableWearEffect">
|
||||
EnableWearEffect
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets whether to enable coating wear effects.
|
||||
Note: This function is not fully prepared yet.
|
||||
Only affects further wear by the wear coefficient of inner material.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public bool EnableWearEffect { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunnerConfig_InitSpindleTemperature_C_" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.InitSpindleTemperature_C*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunnerConfig_InitSpindleTemperature_C" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.InitSpindleTemperature_C">
|
||||
InitSpindleTemperature_C
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets the initial spindle temperature in Celsius.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public double InitSpindleTemperature_C { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunnerConfig_InitSpindleTemperature_K_" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.InitSpindleTemperature_K*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunnerConfig_InitSpindleTemperature_K" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.InitSpindleTemperature_K">
|
||||
InitSpindleTemperature_K
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets the initial spindle temperature in Kelvin.
|
||||
The temperature is initialized when a working session is restarted or a new session is started.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public double InitSpindleTemperature_K { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunnerConfig_XName_" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.XName*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunnerConfig_XName" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.XName">
|
||||
XName
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets the XML element name for serialization.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static string XName { get; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property 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="methods">Methods
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningActRunnerConfig_MakeXmlSource_" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.MakeXmlSource*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningActRunnerConfig_MakeXmlSource_System_String_System_String_System_Boolean_" data-uid="Hi.MachiningProcs.MachiningActRunnerConfig.MakeXmlSource(System.String,System.String,System.Boolean)">
|
||||
MakeXmlSource(string, string, bool)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Creates an XML representation of the object.
|
||||
This method may also generate additional resources such as related files.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The base directory for resolving relative paths</p>
|
||||
</dd>
|
||||
<dt><code>relFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The relative file path for the XML source</p>
|
||||
</dd>
|
||||
<dt><code>exhibitionOnly</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd><p>if true, the extended file creation is suppressed.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
|
||||
<dd><p>An XML element representing the object's state</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section" id="Hi_MachiningProcs_MachiningActRunnerConfig_MakeXmlSource_System_String_System_String_System_Boolean__remarks">Remarks</h4>
|
||||
<div class="markdown level1 remarks"><p>For the demand of easy moving source folder (especially project folder) without configuration file path corruption, the relative file path is applied.
|
||||
The <code class="paramref">baseDirectory</code> is typically the folder at the nearest configuration file folder.
|
||||
Since the folder can be moving with the configuration file.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span> Copyright © 2025 <a href='https://superhightech.com.tw'>Tech Coordinate</a>. All rights reserved. <a href='https://superhightech.com.tw'>超級高科技股份有限公司</a> © 2025 版權所有 </span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -189,44 +189,8 @@ Class MachiningProjectDisplayee
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningProjectDisplayee__ctor_" data-uid="Hi.MachiningProcs.MachiningProjectDisplayee.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningProjectDisplayee__ctor_Hi_MachiningProcs_MachiningProject_System_Collections_BitArray_" data-uid="Hi.MachiningProcs.MachiningProjectDisplayee.#ctor(Hi.MachiningProcs.MachiningProject,System.Collections.BitArray)">
|
||||
MachiningProjectDisplayee(MachiningProject, BitArray)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.MachiningProcs.MachiningProjectDisplayee.html">MachiningProjectDisplayee</a> class.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public MachiningProjectDisplayee(MachiningProject machiningProject, BitArray renderingFlagBitArray)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>machiningProject</code> <a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a></dt>
|
||||
<dd><p>The machining project to display.</p>
|
||||
</dd>
|
||||
<dt><code>renderingFlagBitArray</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.bitarray">BitArray</a></dt>
|
||||
<dd><p>The bit array controlling rendering flags.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningProjectDisplayee__ctor_" data-uid="Hi.MachiningProcs.MachiningProjectDisplayee.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningProjectDisplayee__ctor_System_Func_Hi_MachiningProcs_MachiningProject__" data-uid="Hi.MachiningProcs.MachiningProjectDisplayee.#ctor(System.Func{Hi.MachiningProcs.MachiningProject})">
|
||||
MachiningProjectDisplayee(Func<MachiningProject>)
|
||||
<h3 id="Hi_MachiningProcs_MachiningProjectDisplayee__ctor_Hi_MachiningProcs_LocalProjectService_" data-uid="Hi.MachiningProcs.MachiningProjectDisplayee.#ctor(Hi.MachiningProcs.LocalProjectService)">
|
||||
MachiningProjectDisplayee(LocalProjectService)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -235,14 +199,13 @@ Class MachiningProjectDisplayee
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public MachiningProjectDisplayee(Func<MachiningProject> machiningProjectGetter)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public MachiningProjectDisplayee(LocalProjectService localProjectService)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>machiningProjectGetter</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a><<a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>></dt>
|
||||
<dd><p>The function that provides the machining project.</p>
|
||||
</dd>
|
||||
<dt><code>localProjectService</code> <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
@@ -324,6 +287,38 @@ Class MachiningProjectDisplayee
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningProjectDisplayee_LocalProjectService_" data-uid="Hi.MachiningProcs.MachiningProjectDisplayee.LocalProjectService*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningProjectDisplayee_LocalProjectService" data-uid="Hi.MachiningProcs.MachiningProjectDisplayee.LocalProjectService">
|
||||
LocalProjectService
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets the function that provides the machining project.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public LocalProjectService LocalProjectService { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningProjectDisplayee_MachiningProject_" data-uid="Hi.MachiningProcs.MachiningProjectDisplayee.MachiningProject*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningProjectDisplayee_MachiningProject" data-uid="Hi.MachiningProcs.MachiningProjectDisplayee.MachiningProject">
|
||||
@@ -356,38 +351,6 @@ Class MachiningProjectDisplayee
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningProjectDisplayee_MachiningProjectGetter_" data-uid="Hi.MachiningProcs.MachiningProjectDisplayee.MachiningProjectGetter*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningProjectDisplayee_MachiningProjectGetter" data-uid="Hi.MachiningProcs.MachiningProjectDisplayee.MachiningProjectGetter">
|
||||
MachiningProjectGetter
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets the function that provides the machining project.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Func<MachiningProject> MachiningProjectGetter { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a><<a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_MachiningProjectDisplayee_RenderingFlagBitArray_" data-uid="Hi.MachiningProcs.MachiningProjectDisplayee.RenderingFlagBitArray*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_MachiningProjectDisplayee_RenderingFlagBitArray" data-uid="Hi.MachiningProcs.MachiningProjectDisplayee.RenderingFlagBitArray">
|
||||
|
||||
@@ -455,14 +455,14 @@ public static bool EnableIndividualStepAdjustmentLog { get; set; }</code></pre>
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Obsoleted.</p>
|
||||
<p>Gets or sets whether to pause execution when a collision is detected.
|
||||
<div class="markdown level1 summary"><p>Gets or sets whether to pause execution when a collision is detected.
|
||||
This property only has an effect if collision detection is enabled.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public bool EnablePauseOnCollision { get; set; }</code></pre>
|
||||
<pre><code class="lang-csharp hljs">[Obsolete]
|
||||
public bool EnablePauseOnCollision { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -709,8 +709,8 @@ public class RuntimeController : ControllerBase</code></pre>
|
||||
|
||||
<a id="Hi_MachiningProcs_RuntimeController__ctor_" data-uid="Hi.MachiningProcs.RuntimeController.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_RuntimeController__ctor_Hi_MachiningProcs_IProjectService_" data-uid="Hi.MachiningProcs.RuntimeController.#ctor(Hi.MachiningProcs.IProjectService)">
|
||||
RuntimeController(IProjectService)
|
||||
<h3 id="Hi_MachiningProcs_RuntimeController__ctor_Hi_MachiningProcs_LocalProjectService_" data-uid="Hi.MachiningProcs.RuntimeController.#ctor(Hi.MachiningProcs.LocalProjectService)">
|
||||
RuntimeController(LocalProjectService)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -719,12 +719,12 @@ public class RuntimeController : ControllerBase</code></pre>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public RuntimeController(IProjectService projectService)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public RuntimeController(LocalProjectService projectService)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>projectService</code> <a class="xref" href="Hi.MachiningProcs.IProjectService.html">IProjectService</a></dt>
|
||||
<dt><code>projectService</code> <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
@@ -908,40 +908,6 @@ public bool EnableCollisionDetection { get; set; }</code></pre>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_RuntimeController_EnablePauseOnCollision_" data-uid="Hi.MachiningProcs.RuntimeController.EnablePauseOnCollision*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_RuntimeController_EnablePauseOnCollision" data-uid="Hi.MachiningProcs.RuntimeController.EnablePauseOnCollision">
|
||||
EnablePauseOnCollision
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Obsoleted.</p>
|
||||
<p>Gets or sets whether to pause execution when a collision is detected.
|
||||
This property only has an effect if collision detection is enabled.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public bool EnablePauseOnCollision { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_MachiningProcs_RuntimeController_EnablePauseOnFailure_" data-uid="Hi.MachiningProcs.RuntimeController.EnablePauseOnFailure*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_RuntimeController_EnablePauseOnFailure" data-uid="Hi.MachiningProcs.RuntimeController.EnablePauseOnFailure">
|
||||
|
||||
@@ -708,8 +708,8 @@ public class SetupController : ControllerBase</code></pre>
|
||||
|
||||
<a id="Hi_MachiningProcs_SetupController__ctor_" data-uid="Hi.MachiningProcs.SetupController.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_MachiningProcs_SetupController__ctor_Hi_MachiningProcs_IProjectService_" data-uid="Hi.MachiningProcs.SetupController.#ctor(Hi.MachiningProcs.IProjectService)">
|
||||
SetupController(IProjectService)
|
||||
<h3 id="Hi_MachiningProcs_SetupController__ctor_Hi_MachiningProcs_LocalProjectService_" data-uid="Hi.MachiningProcs.SetupController.#ctor(Hi.MachiningProcs.LocalProjectService)">
|
||||
SetupController(LocalProjectService)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -718,12 +718,12 @@ public class SetupController : ControllerBase</code></pre>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public SetupController(IProjectService projectService)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public SetupController(LocalProjectService projectService)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>projectService</code> <a class="xref" href="Hi.MachiningProcs.IProjectService.html">IProjectService</a></dt>
|
||||
<dt><code>projectService</code> <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
|
||||
<dd><p>The project service.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
@@ -109,6 +109,12 @@ Apply absolute file path.</p>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="Hi.MachiningProcs.MachiningActRunner.html">MachiningActRunner</a></dt>
|
||||
<dd><p>Represents a runner for machining actions that manages milling steps, tool paths, and collision detection.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="Hi.MachiningProcs.MachiningActRunnerConfig.html">MachiningActRunnerConfig</a></dt>
|
||||
<dd><p>Represents the configuration for a milling act runner.
|
||||
Provides settings for physics simulation, evaluation, and temperature control.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
@@ -142,12 +148,6 @@ such as sweeping, subtraction, force calculation, and physics simulation.</p>
|
||||
<dd><p>Represents a machining session that manages the execution and optimization of machining operations.
|
||||
Provides functionality for controlling the machining process, handling optimization options,
|
||||
and managing session state.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="Hi.MachiningProcs.MillingActRunnerConfig.html">MillingActRunnerConfig</a></dt>
|
||||
<dd><p>Represents the configuration for a milling act runner.
|
||||
Provides settings for physics simulation, evaluation, and temperature control.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
|
||||
@@ -155,8 +155,8 @@ Class StepTimeShotUtil
|
||||
|
||||
<a id="Hi_Mapping_StepTimeShotUtil_GetStepToShotsDictionaryByActualTime_" data-uid="Hi.Mapping.StepTimeShotUtil.GetStepToShotsDictionaryByActualTime*"></a>
|
||||
|
||||
<h3 id="Hi_Mapping_StepTimeShotUtil_GetStepToShotsDictionaryByActualTime_Hi_CutterLocations_ClStrips_ClStrip_Hi_Mapping_StepTimeShotUtil_CycleSamplingMode_System_String_Hi_Mapping_StepTimeShotUtil_GetTimeShotByFileDelegate_System_Collections_Generic_IDictionary_System_Int32_System_Collections_Generic_List_Hi_Mapping_ITimeShot___Hi_MachiningProcs_SessionMessageHost_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.StepTimeShotUtil.GetStepToShotsDictionaryByActualTime(Hi.CutterLocations.ClStrips.ClStrip,Hi.Mapping.StepTimeShotUtil.CycleSamplingMode,System.String,Hi.Mapping.StepTimeShotUtil.GetTimeShotByFileDelegate,System.Collections.Generic.IDictionary{System.Int32,System.Collections.Generic.List{Hi.Mapping.ITimeShot}},Hi.MachiningProcs.SessionMessageHost,System.Nullable{System.Threading.CancellationToken})">
|
||||
GetStepToShotsDictionaryByActualTime(ClStrip, CycleSamplingMode, string, GetTimeShotByFileDelegate, IDictionary<int, List<ITimeShot>>, SessionMessageHost, CancellationToken?)
|
||||
<h3 id="Hi_Mapping_StepTimeShotUtil_GetStepToShotsDictionaryByActualTime_Hi_CutterLocations_ClStrips_ClStrip_Hi_Mapping_StepTimeShotUtil_CycleSamplingMode_System_String_Hi_Mapping_StepTimeShotUtil_GetTimeShotByFileDelegate_System_Collections_Generic_IDictionary_System_Int32_System_Collections_Generic_List_Hi_Mapping_ITimeShot___Hi_Common_Messages_IMessageHost_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.StepTimeShotUtil.GetStepToShotsDictionaryByActualTime(Hi.CutterLocations.ClStrips.ClStrip,Hi.Mapping.StepTimeShotUtil.CycleSamplingMode,System.String,Hi.Mapping.StepTimeShotUtil.GetTimeShotByFileDelegate,System.Collections.Generic.IDictionary{System.Int32,System.Collections.Generic.List{Hi.Mapping.ITimeShot}},Hi.Common.Messages.IMessageHost,System.Nullable{System.Threading.CancellationToken})">
|
||||
GetStepToShotsDictionaryByActualTime(ClStrip, CycleSamplingMode, string, GetTimeShotByFileDelegate, IDictionary<int, List<ITimeShot>>, IMessageHost, CancellationToken?)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -165,7 +165,7 @@ Class StepTimeShotUtil
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static void GetStepToShotsDictionaryByActualTime(ClStrip clStrip, StepTimeShotUtil.CycleSamplingMode cycleSamplingMode, string timeShotRelFile, StepTimeShotUtil.GetTimeShotByFileDelegate getTimeShotByRelFileFunc, IDictionary<int, List<ITimeShot>> dstStepToShotsDictionary, SessionMessageHost sessionMessageHost, CancellationToken? cancellationToken)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public static void GetStepToShotsDictionaryByActualTime(ClStrip clStrip, StepTimeShotUtil.CycleSamplingMode cycleSamplingMode, string timeShotRelFile, StepTimeShotUtil.GetTimeShotByFileDelegate getTimeShotByRelFileFunc, IDictionary<int, List<ITimeShot>> dstStepToShotsDictionary, IMessageHost sessionMessageHost, CancellationToken? cancellationToken)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -185,7 +185,7 @@ Class StepTimeShotUtil
|
||||
<dt><code>dstStepToShotsDictionary</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2">IDictionary</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="Hi.Mapping.ITimeShot.html">ITimeShot</a>>></dt>
|
||||
<dd><p>The destination dictionary to store the mapping.</p>
|
||||
</dd>
|
||||
<dt><code>sessionMessageHost</code> <a class="xref" href="Hi.MachiningProcs.SessionMessageHost.html">SessionMessageHost</a></dt>
|
||||
<dt><code>sessionMessageHost</code> <a class="xref" href="Hi.Common.Messages.IMessageHost.html">IMessageHost</a></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>
|
||||
|
||||
@@ -187,8 +187,8 @@ Class TimeMapping
|
||||
|
||||
<a id="Hi_Mapping_TimeMapping__ctor_" data-uid="Hi.Mapping.TimeMapping.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_Mapping_TimeMapping__ctor_Hi_CutterLocations_ClStrips_ClStrip_Hi_Machining_MachiningToolHouse_System_Func_System_String__" data-uid="Hi.Mapping.TimeMapping.#ctor(Hi.CutterLocations.ClStrips.ClStrip,Hi.Machining.MachiningToolHouse,System.Func{System.String})">
|
||||
TimeMapping(ClStrip, MachiningToolHouse, Func<string>)
|
||||
<h3 id="Hi_Mapping_TimeMapping__ctor_System_Func_System_String__" data-uid="Hi.Mapping.TimeMapping.#ctor(System.Func{System.String})">
|
||||
TimeMapping(Func<string>)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -197,17 +197,11 @@ Class TimeMapping
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public TimeMapping(ClStrip clStrip, MachiningToolHouse millingToolHouse, Func<string> baseDirectoryGetter)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public TimeMapping(Func<string> baseDirectoryGetter)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>clStrip</code> <a class="xref" href="Hi.CutterLocations.ClStrips.ClStrip.html">ClStrip</a></dt>
|
||||
<dd><p>The cutter location strip containing the machining steps.</p>
|
||||
</dd>
|
||||
<dt><code>millingToolHouse</code> <a class="xref" href="Hi.Machining.MachiningToolHouse.html">MachiningToolHouse</a></dt>
|
||||
<dd><p>The machining tool house containing available tools.</p>
|
||||
</dd>
|
||||
<dt><code>baseDirectoryGetter</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-1">Func</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>></dt>
|
||||
<dd><p>The function to get the base directory for file paths.</p>
|
||||
</dd>
|
||||
@@ -337,39 +331,6 @@ All relative file paths in the mapping are resolved against this directory.</p>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Mapping_TimeMapping_ClStrip_" data-uid="Hi.Mapping.TimeMapping.ClStrip*"></a>
|
||||
|
||||
<h3 id="Hi_Mapping_TimeMapping_ClStrip" data-uid="Hi.Mapping.TimeMapping.ClStrip">
|
||||
ClStrip
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets the cutter location strip containing the machining steps.
|
||||
This is used as a reference for mapping time shots to machining steps.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public ClStrip ClStrip { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="Hi.CutterLocations.ClStrips.ClStrip.html">ClStrip</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Mapping_TimeMapping_KeyToRelFileTimeSectionDictionary_" data-uid="Hi.Mapping.TimeMapping.KeyToRelFileTimeSectionDictionary*"></a>
|
||||
|
||||
<h3 id="Hi_Mapping_TimeMapping_KeyToRelFileTimeSectionDictionary" data-uid="Hi.Mapping.TimeMapping.KeyToRelFileTimeSectionDictionary">
|
||||
@@ -404,75 +365,6 @@ which portion of a measurement file corresponds to a particular machining operat
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Mapping_TimeMapping_LineReaded_" data-uid="Hi.Mapping.TimeMapping.LineReaded*"></a>
|
||||
|
||||
<h3 id="Hi_Mapping_TimeMapping_LineReaded" data-uid="Hi.Mapping.TimeMapping.LineReaded">
|
||||
LineReaded
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets the callback action that is invoked when a line is read from a measurement file.
|
||||
This can be used to track progress during file loading operations.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Action<int> LineReaded { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section" id="Hi_Mapping_TimeMapping_LineReaded_remarks">Remarks</h4>
|
||||
<div class="markdown level1 remarks"><p>The parameter passed to the action is the current line number being read.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Mapping_TimeMapping_MillingToolHouse_" data-uid="Hi.Mapping.TimeMapping.MillingToolHouse*"></a>
|
||||
|
||||
<h3 id="Hi_Mapping_TimeMapping_MillingToolHouse" data-uid="Hi.Mapping.TimeMapping.MillingToolHouse">
|
||||
MillingToolHouse
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets the machining tool house containing available tools.
|
||||
This is used to determine tool-specific parameters during mapping.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public MachiningToolHouse MillingToolHouse { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="Hi.Machining.MachiningToolHouse.html">MachiningToolHouse</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Mapping_TimeMapping_RelFileToTimeShotListDictionary_" data-uid="Hi.Mapping.TimeMapping.RelFileToTimeShotListDictionary*"></a>
|
||||
|
||||
<h3 id="Hi_Mapping_TimeMapping_RelFileToTimeShotListDictionary" data-uid="Hi.Mapping.TimeMapping.RelFileToTimeShotListDictionary">
|
||||
@@ -582,8 +474,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_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.TimeMapping.CallTimeShotByRelFile(System.String,System.Nullable{System.Threading.CancellationToken})">
|
||||
CallTimeShotByRelFile(string, CancellationToken?)
|
||||
<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>
|
||||
|
||||
@@ -592,7 +484,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<ITimeShot> CallTimeShotByRelFile(string relFile, CancellationToken? cancellationToken = null)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public List<ITimeShot> CallTimeShotByRelFile(string relFile, IMessageHost messageHost, CancellationToken? cancellationToken = null)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -600,6 +492,8 @@ 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>
|
||||
<dd></dd>
|
||||
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a>?</dt>
|
||||
<dd><p>Optional token to cancel the loading operation.</p>
|
||||
</dd>
|
||||
@@ -619,7 +513,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_System_Nullable_System_Threading_CancellationToken___remarks">Remarks</h4>
|
||||
<h4 class="section" id="Hi_Mapping_TimeMapping_CallTimeShotByRelFile_System_String_Hi_Common_Messages_IMessageHost_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>
|
||||
@@ -780,8 +674,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_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.TimeMapping.LoadTimeShotFiles(System.Nullable{System.Threading.CancellationToken})">
|
||||
LoadTimeShotFiles(CancellationToken?)
|
||||
<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>
|
||||
|
||||
@@ -790,11 +684,13 @@ 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(CancellationToken? cancellationToken = null)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public void LoadTimeShotFiles(IMessageHost 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>
|
||||
<dd></dd>
|
||||
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a>?</dt>
|
||||
<dd><p>Optional cancellation token to cancel the operation.</p>
|
||||
</dd>
|
||||
@@ -867,8 +763,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_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.TimeMapping.Map(Hi.Common.Range{System.Int32},Hi.Mappings.FileTimeSection,Hi.Mapping.StepTimeShotUtil.CycleSamplingMode,System.Nullable{System.Threading.CancellationToken})">
|
||||
Map(Range<int>, FileTimeSection, CycleSamplingMode, CancellationToken?)
|
||||
<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<int>, FileTimeSection, CycleSamplingMode, ClStrip, IMessageHost, CancellationToken?)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -878,7 +774,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<int> stepSection, FileTimeSection relFileTimeSection, StepTimeShotUtil.CycleSamplingMode cycleSamplingMode, CancellationToken? cancellationToken = null)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public void Map(Range<int> stepSection, FileTimeSection relFileTimeSection, StepTimeShotUtil.CycleSamplingMode cycleSamplingMode, ClStrip clStrip, IMessageHost messageHost, CancellationToken? cancellationToken = null)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -892,6 +788,10 @@ This method is thread-safe and can be called concurrently.</p>
|
||||
<dt><code>cycleSamplingMode</code> <a class="xref" href="Hi.Mapping.StepTimeShotUtil.html">StepTimeShotUtil</a>.<a class="xref" href="Hi.Mapping.StepTimeShotUtil.CycleSamplingMode.html">CycleSamplingMode</a></dt>
|
||||
<dd><p>The cycle sampling mode to use.</p>
|
||||
</dd>
|
||||
<dt><code>clStrip</code> <a class="xref" href="Hi.CutterLocations.ClStrips.ClStrip.html">ClStrip</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>messageHost</code> <a class="xref" href="Hi.Common.Messages.IMessageHost.html">IMessageHost</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>cancellationToken</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a>?</dt>
|
||||
<dd><p>Optional cancellation token to cancel the operation.</p>
|
||||
</dd>
|
||||
@@ -910,8 +810,8 @@ This method is thread-safe and can be called concurrently.</p>
|
||||
|
||||
<a id="Hi_Mapping_TimeMapping_MapByActualTime_" data-uid="Hi.Mapping.TimeMapping.MapByActualTime*"></a>
|
||||
|
||||
<h3 id="Hi_Mapping_TimeMapping_MapByActualTime_System_String_Hi_Mapping_StepTimeShotUtil_CycleSamplingMode_Hi_MachiningProcs_SessionMessageHost_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.TimeMapping.MapByActualTime(System.String,Hi.Mapping.StepTimeShotUtil.CycleSamplingMode,Hi.MachiningProcs.SessionMessageHost,System.Nullable{System.Threading.CancellationToken})">
|
||||
MapByActualTime(string, CycleSamplingMode, SessionMessageHost, CancellationToken?)
|
||||
<h3 id="Hi_Mapping_TimeMapping_MapByActualTime_System_String_Hi_Mapping_StepTimeShotUtil_CycleSamplingMode_Hi_CutterLocations_ClStrips_ClStrip_Hi_Common_Messages_IMessageHost_System_Nullable_System_Threading_CancellationToken__" data-uid="Hi.Mapping.TimeMapping.MapByActualTime(System.String,Hi.Mapping.StepTimeShotUtil.CycleSamplingMode,Hi.CutterLocations.ClStrips.ClStrip,Hi.Common.Messages.IMessageHost,System.Nullable{System.Threading.CancellationToken})">
|
||||
MapByActualTime(string, CycleSamplingMode, ClStrip, IMessageHost, CancellationToken?)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -920,7 +820,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 MapByActualTime(string timeShotRelFile, StepTimeShotUtil.CycleSamplingMode cycleSamplingMode, SessionMessageHost sessionMessageHost, CancellationToken? cancellationToken = null)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public void MapByActualTime(string timeShotRelFile, StepTimeShotUtil.CycleSamplingMode cycleSamplingMode, ClStrip clStrip, IMessageHost messageHost, CancellationToken? cancellationToken = null)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -931,7 +831,9 @@ This method is thread-safe and can be called concurrently.</p>
|
||||
<dt><code>cycleSamplingMode</code> <a class="xref" href="Hi.Mapping.StepTimeShotUtil.html">StepTimeShotUtil</a>.<a class="xref" href="Hi.Mapping.StepTimeShotUtil.CycleSamplingMode.html">CycleSamplingMode</a></dt>
|
||||
<dd><p>The cycle sampling mode.</p>
|
||||
</dd>
|
||||
<dt><code>sessionMessageHost</code> <a class="xref" href="Hi.MachiningProcs.SessionMessageHost.html">SessionMessageHost</a></dt>
|
||||
<dt><code>clStrip</code> <a class="xref" href="Hi.CutterLocations.ClStrips.ClStrip.html">ClStrip</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>messageHost</code> <a class="xref" href="Hi.Common.Messages.IMessageHost.html">IMessageHost</a></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>
|
||||
|
||||
@@ -186,8 +186,8 @@ Class CsvRunner
|
||||
|
||||
<a id="Hi_Numerical_FilePlayers_CsvRunner__ctor_" data-uid="Hi.Numerical.FilePlayers.CsvRunner.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_Numerical_FilePlayers_CsvRunner__ctor_Hi_Common_PacePlayer_Hi_MachiningProcs_SessionMessageHost_" data-uid="Hi.Numerical.FilePlayers.CsvRunner.#ctor(Hi.Common.PacePlayer,Hi.MachiningProcs.SessionMessageHost)">
|
||||
CsvRunner(PacePlayer, SessionMessageHost)
|
||||
<h3 id="Hi_Numerical_FilePlayers_CsvRunner__ctor_Hi_Common_PacePlayer_Hi_MachiningProcs_LocalProjectService_Hi_MachiningProcs_SessionMessageHost_" data-uid="Hi.Numerical.FilePlayers.CsvRunner.#ctor(Hi.Common.PacePlayer,Hi.MachiningProcs.LocalProjectService,Hi.MachiningProcs.SessionMessageHost)">
|
||||
CsvRunner(PacePlayer, LocalProjectService, SessionMessageHost)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -196,7 +196,7 @@ Class CsvRunner
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public CsvRunner(PacePlayer pacePlayer, SessionMessageHost sessionMessageHost)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public CsvRunner(PacePlayer pacePlayer, LocalProjectService localProjectService, SessionMessageHost sessionMessageHost)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -204,6 +204,8 @@ Class CsvRunner
|
||||
<dt><code>pacePlayer</code> <a class="xref" href="Hi.Common.PacePlayer.html">PacePlayer</a></dt>
|
||||
<dd><p>The pace player for controlling playback.</p>
|
||||
</dd>
|
||||
<dt><code>localProjectService</code> <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
|
||||
<dd></dd>
|
||||
<dt><code>sessionMessageHost</code> <a class="xref" href="Hi.MachiningProcs.SessionMessageHost.html">SessionMessageHost</a></dt>
|
||||
<dd><p>The session message host for logging.</p>
|
||||
</dd>
|
||||
|
||||
@@ -180,49 +180,6 @@ Class NcRunner
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="constructors">Constructors
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="Hi_Numerical_FilePlayers_NcRunner__ctor_" data-uid="Hi.Numerical.FilePlayers.NcRunner.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_Numerical_FilePlayers_NcRunner__ctor_Hi_Common_PacePlayer_Hi_Numerical_NcEnv_Hi_MachiningProcs_SessionMessageHost_" data-uid="Hi.Numerical.FilePlayers.NcRunner.#ctor(Hi.Common.PacePlayer,Hi.Numerical.NcEnv,Hi.MachiningProcs.SessionMessageHost)">
|
||||
NcRunner(PacePlayer, NcEnv, SessionMessageHost)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Initializes a new instance.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>pacePlayer</code> <a class="xref" href="Hi.Common.PacePlayer.html">PacePlayer</a></dt>
|
||||
<dd><p>The pace player for controlling playback.</p>
|
||||
</dd>
|
||||
<dt><code>ncEnv</code> <a class="xref" href="Hi.Numerical.NcEnv.html">NcEnv</a></dt>
|
||||
<dd><p>The NC environment settings.</p>
|
||||
</dd>
|
||||
<dt><code>millingProcessMessage</code> <a class="xref" href="Hi.MachiningProcs.SessionMessageHost.html">SessionMessageHost</a></dt>
|
||||
<dd><p>The milling process message host.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="properties">Properties
|
||||
</h2>
|
||||
|
||||
@@ -259,38 +216,6 @@ Class NcRunner
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Numerical_FilePlayers_NcRunner_NcEnv_" data-uid="Hi.Numerical.FilePlayers.NcRunner.NcEnv*"></a>
|
||||
|
||||
<h3 id="Hi_Numerical_FilePlayers_NcRunner_NcEnv" data-uid="Hi.Numerical.FilePlayers.NcRunner.NcEnv">
|
||||
NcEnv
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets the NC environment settings.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public NcEnv NcEnv { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="Hi.Numerical.NcEnv.html">NcEnv</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Numerical_FilePlayers_NcRunner_NcLines_" data-uid="Hi.Numerical.FilePlayers.NcRunner.NcLines*"></a>
|
||||
|
||||
<h3 id="Hi_Numerical_FilePlayers_NcRunner_NcLines" data-uid="Hi.Numerical.FilePlayers.NcRunner.NcLines">
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,133 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Namespace Hi.WpfPlus.Disp | HiAPI-C# 2025 </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="Namespace Hi.WpfPlus.Disp | HiAPI-C# 2025 ">
|
||||
|
||||
|
||||
<link rel="icon" href="../img/HiAPI.favicon.ico">
|
||||
<link rel="stylesheet" href="../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../public/main.css">
|
||||
<meta name="docfx:navrel" content="../toc.html">
|
||||
<meta name="docfx:tocrel" content="toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../index.html">
|
||||
<img id="logo" class="svg" src="../img/HiAPI.logo.png" alt="">
|
||||
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="Hi.WpfPlus.Disp">
|
||||
|
||||
<h1 id="Hi_WpfPlus_Disp" data-uid="Hi.WpfPlus.Disp" class="text-break">Namespace Hi.WpfPlus.Disp</h1>
|
||||
<div class="markdown level0 summary"></div>
|
||||
<div class="markdown level0 conceptual"></div>
|
||||
<div class="markdown level0 remarks"></div>
|
||||
|
||||
<h3 id="classes">
|
||||
Classes
|
||||
</h3>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="Hi.WpfPlus.Disp.RenderingCanvas.html">RenderingCanvas</a></dt>
|
||||
<dd><p>Provides a WPF rendering canvas for 3D visualization of HiAPI components.
|
||||
Handles user interactions, rendering, and integration with the DispEngine system.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="jumplist">
|
||||
<dt><a class="xref" href="Hi.WpfPlus.Disp.RenderingWindow.html">RenderingWindow</a></dt>
|
||||
<dd><p>Window for 3D rendering.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span> Copyright © 2025 <a href='https://superhightech.com.tw'>Tech Coordinate</a>. All rights reserved. <a href='https://superhightech.com.tw'>超級高科技股份有限公司</a> © 2025 版權所有 </span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -187,8 +187,8 @@ Class MachiningProjectGrpcServer
|
||||
|
||||
<a id="HiNc_Grpcs_MachiningProjectGrpcServer__ctor_" data-uid="HiNc.Grpcs.MachiningProjectGrpcServer.#ctor*"></a>
|
||||
|
||||
<h3 id="HiNc_Grpcs_MachiningProjectGrpcServer__ctor_Hi_MachiningProcs_MachiningProject_" data-uid="HiNc.Grpcs.MachiningProjectGrpcServer.#ctor(Hi.MachiningProcs.MachiningProject)">
|
||||
MachiningProjectGrpcServer(MachiningProject)
|
||||
<h3 id="HiNc_Grpcs_MachiningProjectGrpcServer__ctor_Hi_MachiningProcs_LocalProjectService_" data-uid="HiNc.Grpcs.MachiningProjectGrpcServer.#ctor(Hi.MachiningProcs.LocalProjectService)">
|
||||
MachiningProjectGrpcServer(LocalProjectService)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -197,14 +197,13 @@ Class MachiningProjectGrpcServer
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public MachiningProjectGrpcServer(MachiningProject millingCourse)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public MachiningProjectGrpcServer(LocalProjectService localProjectService)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>millingCourse</code> <a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a></dt>
|
||||
<dd><p>The machining project to expose via gRPC</p>
|
||||
</dd>
|
||||
<dt><code>localProjectService</code> <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
@@ -220,8 +219,8 @@ Class MachiningProjectGrpcServer
|
||||
|
||||
<a id="HiNc_Grpcs_MachiningProjectGrpcServer__ctor_" data-uid="HiNc.Grpcs.MachiningProjectGrpcServer.#ctor*"></a>
|
||||
|
||||
<h3 id="HiNc_Grpcs_MachiningProjectGrpcServer__ctor_System_Xml_Linq_XElement_Hi_MachiningProcs_MachiningProject_" data-uid="HiNc.Grpcs.MachiningProjectGrpcServer.#ctor(System.Xml.Linq.XElement,Hi.MachiningProcs.MachiningProject)">
|
||||
MachiningProjectGrpcServer(XElement, MachiningProject)
|
||||
<h3 id="HiNc_Grpcs_MachiningProjectGrpcServer__ctor_System_Xml_Linq_XElement_Hi_MachiningProcs_LocalProjectService_" data-uid="HiNc.Grpcs.MachiningProjectGrpcServer.#ctor(System.Xml.Linq.XElement,Hi.MachiningProcs.LocalProjectService)">
|
||||
MachiningProjectGrpcServer(XElement, LocalProjectService)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -230,7 +229,7 @@ Class MachiningProjectGrpcServer
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public MachiningProjectGrpcServer(XElement src, MachiningProject millingCourse)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public MachiningProjectGrpcServer(XElement src, LocalProjectService localProjectService)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -238,9 +237,8 @@ Class MachiningProjectGrpcServer
|
||||
<dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
|
||||
<dd><p>XML source element</p>
|
||||
</dd>
|
||||
<dt><code>millingCourse</code> <a class="xref" href="Hi.MachiningProcs.MachiningProject.html">MachiningProject</a></dt>
|
||||
<dd><p>The machining project to expose via gRPC</p>
|
||||
</dd>
|
||||
<dt><code>localProjectService</code> <a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
@@ -1281,6 +1281,9 @@
|
||||
<li>
|
||||
<a href="Hi.MachiningProcs.MachiningActRunner.MachiningStepBuiltDelegate.html" name="" title="MachiningActRunner.MachiningStepBuiltDelegate">MachiningActRunner.MachiningStepBuiltDelegate</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="Hi.MachiningProcs.MachiningActRunnerConfig.html" name="" title="MachiningActRunnerConfig">MachiningActRunnerConfig</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="Hi.MachiningProcs.MachiningParallelProc.html" name="" title="MachiningParallelProc">MachiningParallelProc</a>
|
||||
</li>
|
||||
@@ -1299,9 +1302,6 @@
|
||||
<li>
|
||||
<a href="Hi.MachiningProcs.MachiningSession.html" name="" title="MachiningSession">MachiningSession</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="Hi.MachiningProcs.MillingActRunnerConfig.html" name="" title="MillingActRunnerConfig">MillingActRunnerConfig</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="Hi.MachiningProcs.MillingUtil.html" name="" title="MillingUtil">MillingUtil</a>
|
||||
</li>
|
||||
@@ -3091,14 +3091,14 @@
|
||||
</li>
|
||||
<li>
|
||||
<span class="expand-stub"></span>
|
||||
<a href="Hi.Wpf.Disp.html" name="" title="Hi.Wpf.Disp">Hi.Wpf.Disp</a>
|
||||
<a href="Hi.WpfPlus.Disp.html" name="" title="Hi.WpfPlus.Disp">Hi.WpfPlus.Disp</a>
|
||||
|
||||
<ul class="nav level2">
|
||||
<li>
|
||||
<a href="Hi.Wpf.Disp.RenderingCanvas.html" name="" title="RenderingCanvas">RenderingCanvas</a>
|
||||
<a href="Hi.WpfPlus.Disp.RenderingCanvas.html" name="" title="RenderingCanvas">RenderingCanvas</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="Hi.Wpf.Disp.RenderingWindow.html" name="" title="RenderingWindow">RenderingWindow</a>
|
||||
<a href="Hi.WpfPlus.Disp.RenderingWindow.html" name="" title="RenderingWindow">RenderingWindow</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -90,7 +90,7 @@
|
||||
<p>This guide provides detailed implementation information for creating your own <code>RenderingCanvas</code> using the <a class="xref" href="../../../../../api/Hi.Disp.DispEngine.html">DispEngine</a>. By understanding these implementation details, you can customize the rendering component for specific application needs or create implementations for other UI frameworks.</p>
|
||||
<div class="NOTE">
|
||||
<h5>Note</h5>
|
||||
<p><strong>For Windows Applications</strong>: If you are developing for Windows systems, it is recommended to directly use the existing <code>RenderingCanvas</code> implementations in the <code>Hi.WinForm</code> or <code>Hi.Wpf</code> packages, rather than creating your own. These implementations are fully tested, optimized, and maintained.</p>
|
||||
<p><strong>For Windows Applications</strong>: If you are developing for Windows systems, it is recommended to directly use the existing <code>RenderingCanvas</code> implementations in the <code>Hi.WinForm</code> or <code>Hi.WpfPlus</code> packages, rather than creating your own. These implementations are fully tested, optimized, and maintained.</p>
|
||||
<p>The implementation details provided in this document are primarily for educational purposes or for developers who need to port RenderingCanvas to other platforms/frameworks.</p>
|
||||
</div>
|
||||
<h2 id="basic-dispengine-usage">Basic DispEngine Usage</h2>
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
<p>The <code>RenderingCanvas</code> class is available in frameworks:</p>
|
||||
<ul>
|
||||
<li><code>Hi.WinForm</code> for Windows Forms applications</li>
|
||||
<li><code>Hi.Wpf</code> for WPF applications</li>
|
||||
<li><code>Hi.WpfPlus</code> for WPF applications</li>
|
||||
</ul>
|
||||
<p>All implementations share a common architecture centered around the <a class="xref" href="../../../../../api/Hi.Disp.DispEngine.html">DispEngine</a> class, enabling consistent rendering and interaction across platforms.</p>
|
||||
<h2 id="core-concept-dispengine-and-idisplayee">Core Concept: DispEngine and IDisplayee</h2>
|
||||
@@ -159,7 +159,7 @@ myForm.Controls.Add(canvas);
|
||||
</code></pre>
|
||||
<h3 id="apply-hiwpf">Apply Hi.WPF</h3>
|
||||
<pre><code class="lang-csharp">// Create a new instance
|
||||
using Hi.Wpf.Disp;
|
||||
using Hi.WpfPlus.Disp;
|
||||
|
||||
// Create displayee object
|
||||
var displayee = new MyCompositeDisplayee();
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
</ol>
|
||||
<div class="NOTE">
|
||||
<h5>Note</h5>
|
||||
<p>Add <code>Hi.Wpf</code> packages to the project if the building WPF project.</p>
|
||||
<p>Add <code>Hi.WpfPlus</code> packages to the project if the building WPF project.</p>
|
||||
</div>
|
||||
</li>
|
||||
<li>Create Main Window, set the layout according to <a href="main-panel.html#main-panel-layout">Main Panel Layout</a>.</li>
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
<li>Machine Tool MenuItem
|
||||
Open <a href="mech/machining-chain-page.html">Machine Tool Page</a>
|
||||
Sole window in WPF app.
|
||||
The page manages <a class="xref" href="../../../api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_MachiningEquipment">MachiningEquipment</a>.<Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.MachiningChain>.</li>
|
||||
The page manages <xref:Hi.MachiningProcs.MachiningProject.MachiningEquipment>.<Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.MachiningChain>.</li>
|
||||
<li>Controller MenuItem
|
||||
Open <a href="controller/index.html">Controller Page</a></li>
|
||||
<li>Tool House MenuItem</li>
|
||||
|
||||
+2
-2
@@ -174,7 +174,7 @@ The model is <a class="xref" href="../../../../../api/Hi.Milling.Cutters.Milling
|
||||
<li>Minimum Available Cutting Thickness (μm)
|
||||
<ul>
|
||||
<li>Readonly field with format “G4”</li>
|
||||
<li>Shows calculated value from <a class="xref" href="../../../../../api/Hi.Milling.Cutters.MillingCutter.html#Hi_Milling_Cutters_MillingCutter_GetMinimumUncutChipThickness_um_Hi_MillingForces_Fittings_ICuttingPara_">GetMinimumUncutChipThickness_um(ICuttingPara)</a>. The argument (cutting parameter) is obtained by the <a class="xref" href="../../../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>.<a class="xref" href="../../../../../api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_Workpiece_">Workpiece</a>.<a class="xref" href="../../../../../api/Hi.NcMech.Workpieces.Workpiece.html#Hi_NcMech_Workpieces_Workpiece_CuttingPara">CuttingPara</a>. Series pass the models by the GUI if needed.</li>
|
||||
<li>Shows calculated value from <a class="xref" href="../../../../../api/Hi.Milling.Cutters.MillingCutter.html#Hi_Milling_Cutters_MillingCutter_GetMinimumUncutChipThickness_um_Hi_MillingForces_Fittings_ICuttingPara_">GetMinimumUncutChipThickness_um(ICuttingPara)</a>. The argument (cutting parameter) is obtained by the <a class="xref" href="../../../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>.<xref:Hi.MachiningProcs.MachiningProject.Workpiece*>.<a class="xref" href="../../../../../api/Hi.NcMech.Workpieces.Workpiece.html#Hi_NcMech_Workpieces_Workpiece_CuttingPara">CuttingPara</a>. Series pass the models by the GUI if needed.</li>
|
||||
<li>Note Label
|
||||
<ul>
|
||||
<li>Show Workpiece Cutting Parameter Name.
|
||||
@@ -383,7 +383,7 @@ Apply <a class="xref" href="../../../../../api/Hi.Physics.CoatingMaterial.html">
|
||||
<li>Limit by Theoretical Minimum Feed Per Tooth Checkbox
|
||||
<ul>
|
||||
<li>Shows calculated minimum uncut chip thickness value.
|
||||
To get the value, <a class="xref" href="../../../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>.<a class="xref" href="../../../../../api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_Workpiece_">Workpiece</a>.<a class="xref" href="../../../../../api/Hi.NcMech.Workpieces.Workpiece.html#Hi_NcMech_Workpieces_Workpiece_CuttingPara_">CuttingPara</a> and <a class="xref" href="../../../../../api/Hi.Milling.Cutters.MillingCutter.html">MillingCutter</a> are required. Series pass the model by the GUI if needed.</li>
|
||||
To get the value, <a class="xref" href="../../../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>.<xref:Hi.MachiningProcs.MachiningProject.Workpiece*>.<a class="xref" href="../../../../../api/Hi.NcMech.Workpieces.Workpiece.html#Hi_NcMech_Workpieces_Workpiece_CuttingPara_">CuttingPara</a> and <a class="xref" href="../../../../../api/Hi.Milling.Cutters.MillingCutter.html">MillingCutter</a> are required. Series pass the model by the GUI if needed.</li>
|
||||
<li>When checked, enforces minimum feed constraint</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
|
||||
<p>The page triggers by <a href="../main-panel.html">Main Panel</a>.</p>
|
||||
<p>The key model is <a class="xref" href="../../../../api/Hi.NcMech.Fixtures.Fixture.html">Fixture</a> and <a class="xref" href="../../../../api/Hi.NcMech.Fixtures.FixtureEditorDisplayeeConfig.html">FixtureEditorDisplayeeConfig</a>.
|
||||
Fixture is assigned from the Main Panel's <a class="xref" href="../../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>.<a class="xref" href="../../../../api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_MachiningEquipment">MachiningEquipment</a>.<a class="xref" href="../../../../api/Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html#Hi_Machining_MachiningEquipmentUtils_MachiningEquipment_Fixture">Fixture</a>.</p>
|
||||
Fixture is assigned from the Main Panel's <a class="xref" href="../../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>.<xref:Hi.MachiningProcs.MachiningProject.MachiningEquipment>.<a class="xref" href="../../../../api/Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html#Hi_Machining_MachiningEquipmentUtils_MachiningEquipment_Fixture">Fixture</a>.</p>
|
||||
<p><a class="xref" href="../../../../api/Hi.NcMech.Fixtures.FixtureEditorDisplayeeConfig.html">FixtureEditorDisplayeeConfig</a> is from <xref:Hi.HiNcKits.AppService>.<xref:Hi.HiNcKits.AppConfig> which assigned from the parent component.</p>
|
||||
<h2 id="layout">Layout</h2>
|
||||
<ul>
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
|
||||
<p>The page triggers by <a href="../main-panel.html">Main Panel</a>.</p>
|
||||
<p>The key model is <a class="xref" href="../../../../api/Hi.NcMech.Workpieces.Workpiece.html">Workpiece</a> and <a class="xref" href="../../../../api/Hi.NcMech.Workpieces.WorkpieceEditorDisplayeeConfig.html">WorkpieceEditorDisplayeeConfig</a>.
|
||||
Which is assigned from the Main Panel's <a class="xref" href="../../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>.<a class="xref" href="../../../../api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_Workpiece">Workpiece</a>.</p>
|
||||
Which is assigned from the Main Panel's <a class="xref" href="../../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>.<xref:Hi.MachiningProcs.MachiningProject.Workpiece>.</p>
|
||||
<p><a class="xref" href="../../../../api/Hi.NcMech.Fixtures.FixtureEditorDisplayeeConfig.html">FixtureEditorDisplayeeConfig</a> is from <xref:Hi.HiNcKits.AppService>.<xref:Hi.HiNcKits.AppConfig> which assigned from the parent component.</p>
|
||||
<h2 id="layout">Layout</h2>
|
||||
<ul>
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
<li>Pause</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Both webservice and win-desktop applications use <a class="xref" href="../../../../api/Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a> events for monitoring <a class="xref" href="../../../../api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_PacePlayer">PacePlayer</a> status changes.</li>
|
||||
<li>Both webservice and win-desktop applications use <a class="xref" href="../../../../api/Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a> events for monitoring <xref:Hi.MachiningProcs.MachiningProject.PacePlayer> status changes.</li>
|
||||
<li>In webservice applications, the <code>PlayerStatusService</code> subscribes to these <a class="xref" href="../../../../api/Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a> events and broadcasts status changes via <code>PlayerStatusHub</code> using SignalR for real-time communication.</li>
|
||||
<li>Win-desktop applications can directly subscribe to <a class="xref" href="../../../../api/Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a> events for status updates.</li>
|
||||
<li>Alter the background color of the <code>Status Text Field</code> if the status changed.
|
||||
@@ -162,7 +162,7 @@
|
||||
<li>Players/PlayerStatusService.cs</li>
|
||||
</ul>
|
||||
<h4 id="signalr-implementation-webapi-only">SignalR Implementation (Webapi Only)</h4>
|
||||
<p><code>PlayerStatusHub</code> provides real-time player status updates, with methods <code>GetPlayerStatus()</code> and event <code>PlayerStatusUpdated</code>. <code>PlayerStatusService</code> monitors <a class="xref" href="../../../../api/Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a> events (<a class="xref" href="../../../../api/Hi.MachiningProcs.LocalProjectService.html#Hi_MachiningProcs_LocalProjectService_PacePlayer_IsRunningChangedEvent">PacePlayer_IsRunningChangedEvent</a>, <a class="xref" href="../../../../api/Hi.MachiningProcs.LocalProjectService.html#Hi_MachiningProcs_LocalProjectService_PacePlayer_IsLockedChangedEvent">PacePlayer_IsLockedChangedEvent</a>, <a class="xref" href="../../../../api/Hi.MachiningProcs.LocalProjectService.html#Hi_MachiningProcs_LocalProjectService_PacePlayer_IsFinishedChangedEvent">PacePlayer_IsFinishedChangedEvent</a>, <a class="xref" href="../../../../api/Hi.MachiningProcs.LocalProjectService.html#Hi_MachiningProcs_LocalProjectService_PacePlayer_ResetedEvent">PacePlayer_ResetedEvent</a>) and broadcasts changes via SignalR. The JavaScript component connects to <code>/playerStatusHub</code> and listens for status updates. API endpoints include <code>/api/player/start</code>, <code>/api/player/pause</code>, <code>/api/player/resume</code>, <code>/api/player/run-line</code>, <code>/api/player/run-step</code>, <code>/api/player/stop</code>, and <code>/api/player/reset</code>.</p>
|
||||
<p><code>PlayerStatusHub</code> provides real-time player status updates, with methods <code>GetPlayerStatus()</code> and event <code>PlayerStatusUpdated</code>. <code>PlayerStatusService</code> monitors <a class="xref" href="../../../../api/Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a> events (<xref:Hi.MachiningProcs.LocalProjectService.PacePlayer_IsRunningChangedEvent>, <xref:Hi.MachiningProcs.LocalProjectService.PacePlayer_IsLockedChangedEvent>, <xref:Hi.MachiningProcs.LocalProjectService.PacePlayer_IsFinishedChangedEvent>, <xref:Hi.MachiningProcs.LocalProjectService.PacePlayer_ResetedEvent>) and broadcasts changes via SignalR. The JavaScript component connects to <code>/playerStatusHub</code> and listens for status updates. API endpoints include <code>/api/player/start</code>, <code>/api/player/pause</code>, <code>/api/player/resume</code>, <code>/api/player/run-line</code>, <code>/api/player/run-step</code>, <code>/api/player/stop</code>, and <code>/api/player/reset</code>.</p>
|
||||
<h3 id="razor-page-source-code">Razor Page Source Code</h3>
|
||||
<pre><code class="lang-csharp" name="SampleCode-razor">@using Hi.Common.PathUtils;
|
||||
@using Hi.HiNcKits;
|
||||
@@ -173,6 +173,7 @@
|
||||
|
||||
@{
|
||||
MachiningProject machiningProject = hiNcHost.MachiningProject;
|
||||
var localProjectService = hiNcHost.LocalProjectService;
|
||||
bool disabledByMachiningProject = machiningProject == null;
|
||||
}
|
||||
|
||||
@@ -186,15 +187,15 @@
|
||||
<div class="d-inline-block" style="width: 4rem">
|
||||
@{
|
||||
if (machiningProject == null) { }
|
||||
else if (machiningProject.PacePlayer.IsRunning)
|
||||
else if (localProjectService.PacePlayer.IsRunning)
|
||||
{
|
||||
<span class="badge text-bg-warning">@Loc["Running"]</span>
|
||||
}
|
||||
else if (machiningProject.PacePlayer.IsLocked)
|
||||
else if (localProjectService.PacePlayer.IsLocked)
|
||||
{
|
||||
<span class="badge text-bg-secondary">@Loc["Pause"]</span>
|
||||
}
|
||||
else if (machiningProject.PacePlayer.IsFinished)
|
||||
else if (localProjectService.PacePlayer.IsFinished)
|
||||
{
|
||||
<span class="badge text-bg-success">@Loc["Finish"]</span>
|
||||
}
|
||||
@@ -210,11 +211,11 @@
|
||||
<div id="player-@Tid" class="btn-group collapse collapse-horizontal show" role="group">
|
||||
|
||||
@if (machiningProject == null) { }
|
||||
else if (!machiningProject.PacePlayer.IsLocked)
|
||||
else if (!localProjectService.PacePlayer.IsLocked)
|
||||
{
|
||||
<button class="btn btn-primary text-nowrap" title="@Loc["Start"] (S)"
|
||||
accesskey="s"
|
||||
disabled="@(disabledByMachiningProject||machiningProject.PacePlayer.IsFinished)"
|
||||
disabled="@(disabledByMachiningProject||localProjectService.PacePlayer.IsFinished)"
|
||||
@onclick="StartOrContinue">
|
||||
<span class="oi oi-media-play me-1"></span>
|
||||
</button>
|
||||
@@ -224,27 +225,27 @@
|
||||
<button class="btn btn-primary text-nowrap" title="@Loc["Continue"] (S)"
|
||||
accesskey="s"
|
||||
@onclick="StartOrContinue"
|
||||
disabled="@(disabledByMachiningProject||machiningProject.PacePlayer.IsFinished||machiningProject.PacePlayer.IsRunning)">
|
||||
disabled="@(disabledByMachiningProject||localProjectService.PacePlayer.IsFinished||localProjectService.PacePlayer.IsRunning)">
|
||||
<span class="oi oi-media-play me-1"></span>
|
||||
</button>
|
||||
}
|
||||
<button class="btn btn-primary text-nowrap" title="@Loc["Pause"] (P)"
|
||||
accesskey="p"
|
||||
@onclick="Pause"
|
||||
disabled="@(disabledByMachiningProject||!machiningProject.PacePlayer.IsRunning)">
|
||||
disabled="@(disabledByMachiningProject||!localProjectService.PacePlayer.IsRunning)">
|
||||
<span class="oi oi-media-pause me-1"></span>
|
||||
</button>
|
||||
<button class="btn btn-primary text-nowrap" title="@Loc["Run One Line"] (L)"
|
||||
accesskey="l"
|
||||
@onclick="RunToLineEnd"
|
||||
disabled="@(disabledByMachiningProject||machiningProject.PacePlayer.IsFinished)">
|
||||
disabled="@(disabledByMachiningProject||localProjectService.PacePlayer.IsFinished)">
|
||||
<span class="oi oi-media-step-forward me-1"></span>
|
||||
</button>
|
||||
|
||||
<button class="btn btn-primary text-nowrap" title="@Loc["Run One Step"] (K)"
|
||||
accesskey="k"
|
||||
@onclick="RunToNextPace"
|
||||
disabled="@(disabledByMachiningProject||machiningProject.PacePlayer.IsFinished)">
|
||||
disabled="@(disabledByMachiningProject||localProjectService.PacePlayer.IsFinished)">
|
||||
<CommonRcl.Shared.CombinedIcon>
|
||||
<IconA>
|
||||
<span class="oi oi-media-step-forward me-1"></span>
|
||||
@@ -259,7 +260,7 @@
|
||||
|
||||
<button class="btn btn-primary text-nowrap" title="@Loc["Break"]"
|
||||
@onclick="@Break"
|
||||
disabled="@(disabledByMachiningProject||!(machiningProject.PacePlayer.IsLocked||machiningProject.PacePlayer.IsFinished))">
|
||||
disabled="@(disabledByMachiningProject||!(localProjectService.PacePlayer.IsLocked||localProjectService.PacePlayer.IsFinished))">
|
||||
<span class="oi oi-media-stop me-1"></span>
|
||||
</button>
|
||||
|
||||
@@ -285,6 +286,7 @@ namespace HiNcRcl.Areas.Player
|
||||
StringLocalizer Loc { get; } = new StringLocalizer(typeof(PlayerDiv));
|
||||
SemaphoreSlim DisposeSemaphore { get; } = new SemaphoreSlim(1);
|
||||
MachiningProject MachiningProject => hiNcHost.MachiningProject;
|
||||
LocalProjectService LocalProjectService => hiNcHost.LocalProjectService;
|
||||
bool disposedValue = false;
|
||||
/// <inheritdoc/>
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
@@ -297,11 +299,11 @@ namespace HiNcRcl.Areas.Player
|
||||
var machiningProject = MachiningProject;
|
||||
if (machiningProject != null)
|
||||
{
|
||||
machiningProject.PacePlayer.IsLockedChangedEvent
|
||||
LocalProjectService.PacePlayer.IsLockedChangedEvent
|
||||
+= EnumerablePlayer_IsLockedEventHandler;
|
||||
machiningProject.PacePlayer.IsRunningChangedEvent
|
||||
LocalProjectService.PacePlayer.IsRunningChangedEvent
|
||||
+= EnumerablePlayer_IsLockedEventHandler;
|
||||
machiningProject.PacePlayer.IsFinishedChangedEvent
|
||||
LocalProjectService.PacePlayer.IsFinishedChangedEvent
|
||||
+= EnumerablePlayer_IsLockedEventHandler;
|
||||
}
|
||||
}
|
||||
@@ -314,11 +316,11 @@ namespace HiNcRcl.Areas.Player
|
||||
var machiningProject = MachiningProject;
|
||||
if (machiningProject != null)
|
||||
{
|
||||
machiningProject.PacePlayer.IsLockedChangedEvent
|
||||
LocalProjectService.PacePlayer.IsLockedChangedEvent
|
||||
-= EnumerablePlayer_IsLockedEventHandler;
|
||||
machiningProject.PacePlayer.IsRunningChangedEvent
|
||||
LocalProjectService.PacePlayer.IsRunningChangedEvent
|
||||
-= EnumerablePlayer_IsLockedEventHandler;
|
||||
machiningProject.PacePlayer.IsFinishedChangedEvent
|
||||
LocalProjectService.PacePlayer.IsFinishedChangedEvent
|
||||
-= EnumerablePlayer_IsLockedEventHandler;
|
||||
}
|
||||
disposedValue = true;
|
||||
@@ -333,14 +335,15 @@ namespace HiNcRcl.Areas.Player
|
||||
{
|
||||
await Task.Run(() =>
|
||||
{
|
||||
if (!MachiningProject.PacePlayer.IsLocked)
|
||||
var pacePlayer = LocalProjectService.PacePlayer;
|
||||
if (!pacePlayer.IsLocked)
|
||||
{
|
||||
MachiningProject.PacePlayer.Start();
|
||||
pacePlayer.Start();
|
||||
}
|
||||
else if (!MachiningProject.PacePlayer.IsRunning
|
||||
&& !MachiningProject.PacePlayer.IsFinished)
|
||||
else if (!pacePlayer.IsRunning
|
||||
&& !pacePlayer.IsFinished)
|
||||
{
|
||||
MachiningProject.PacePlayer.Resume();
|
||||
pacePlayer.Resume();
|
||||
}
|
||||
}).ShowIfCatched(this);
|
||||
}
|
||||
@@ -348,35 +351,35 @@ namespace HiNcRcl.Areas.Player
|
||||
{
|
||||
await Task.Run(() =>
|
||||
{
|
||||
MachiningProject?.PacePlayer.Pause();
|
||||
LocalProjectService.PacePlayer.Pause();
|
||||
}).ShowIfCatched(this);
|
||||
}
|
||||
public async Task RunToLineEnd()
|
||||
{
|
||||
await Task.Run(() =>
|
||||
{
|
||||
MachiningProject?.NcRunner.RunToLineEnd();
|
||||
LocalProjectService.NcRunner.RunToLineEnd();
|
||||
}).ShowIfCatched(this);
|
||||
}
|
||||
public async Task RunToNextPace()
|
||||
{
|
||||
await Task.Run(() =>
|
||||
{
|
||||
MachiningProject?.PacePlayer.RunToNextPace();
|
||||
LocalProjectService.PacePlayer.RunToNextPace();
|
||||
}).ShowIfCatched(this);
|
||||
}
|
||||
public async Task Break()
|
||||
{
|
||||
await Task.Run(() =>
|
||||
{
|
||||
MachiningProject?.PacePlayer.Terminate();
|
||||
LocalProjectService.PacePlayer.Terminate();
|
||||
}).ShowIfCatched(this);
|
||||
}
|
||||
public async Task Reset()
|
||||
{
|
||||
await Task.Run(() =>
|
||||
{
|
||||
MachiningProject?.PacePlayer.Reset();
|
||||
LocalProjectService.PacePlayer.Reset();
|
||||
}).ShowIfCatched(this);
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -89,7 +89,7 @@
|
||||
|
||||
<p>The panel locates on the <a href="index.html">Player Panel</a>.</p>
|
||||
<p>The model is <a class="xref" href="../../../../api/Hi.MachiningSteps.MachiningStep.html">MachiningStep</a> and <xref:Hi.HiNcKits.AppService>.</p>
|
||||
<p>The <a class="xref" href="../../../../api/Hi.MachiningSteps.MachiningStep.html">MachiningStep</a> is assigned by <a class="xref" href="../../../../api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_ClStrip">ClStrip</a>.<a class="xref" href="../../../../api/Hi.CutterLocations.ClStrips.ClStrip.html#Hi_CutterLocations_ClStrips_ClStrip_PosSelected">PosSelected</a>.</p>
|
||||
<p>The <a class="xref" href="../../../../api/Hi.MachiningSteps.MachiningStep.html">MachiningStep</a> is assigned by <xref:Hi.MachiningProcs.MachiningProject.ClStrip>.<a class="xref" href="../../../../api/Hi.CutterLocations.ClStrips.ClStrip.html#Hi_CutterLocations_ClStrips_ClStrip_PosSelected">PosSelected</a>.</p>
|
||||
<p>Show step infomation from <xref:Hi.HiNcKits.AppService>.<xref:Hi.HiNcKits.AppService.DisplayedStepPresentAccessList>.</p>
|
||||
<p>The resx of <a class="xref" href="../../../../api/Hi.MachiningSteps.MachiningStep.html">MachiningStep</a> contains the translation of <a class="xref" href="../../../../api/Hi.MachiningSteps.PresentAttribute.html">PresentAttribute</a>.<a class="xref" href="../../../../api/Hi.MachiningSteps.PresentAttribute.html#Hi_MachiningSteps_PresentAttribute_Name">Name</a>, apply the translation to the GUI. If the translation not existed, use the original value.</p>
|
||||
<p>See Also <a href="../preference/step-present-preference-page.html">Step Present Preference Page</a>.</p>
|
||||
@@ -106,7 +106,7 @@
|
||||
}
|
||||
}
|
||||
</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>
|
||||
<p><code>SelectedStepInfoHub</code> provides real-time step updates with method <code>GetSelectedStepInfo()</code> and event <code>SelectedStepInfoUpdated</code>. <code>SelectedStepInfoService</code> monitors <xref:Hi.MachiningProcs.LocalProjectService.ClStrip_PosSelected> and <xref:Hi.MachiningProcs.LocalProjectService.ClStrip_MachiningStepSelected> 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>
|
||||
|
||||
+6
-6
@@ -217,11 +217,11 @@ Apply <a class="xref" href="../../../../api/Hi.MachiningSteps.PresentAttribute.h
|
||||
<div class="@cardTextClass">
|
||||
<p class="@pCalss">
|
||||
@{
|
||||
var mcCodes = HostMachiningProject?.MachiningEquipment?.GetMachiningChain()?.McCodes;
|
||||
if (mcCodes != null)
|
||||
{
|
||||
var mcTransformers = HostMachiningProject
|
||||
?.MachiningEquipment?.GetMachiningChain()?.McTransformers;
|
||||
var mcCodes = LocalProjectService.MachiningEquipment?.GetMachiningChain()?.McCodes;
|
||||
if (mcCodes != null)
|
||||
{
|
||||
var mcTransformers = LocalProjectService
|
||||
?.MachiningEquipment?.GetMachiningChain()?.McTransformers;
|
||||
for (int i = 0; i < mcCodes.Length; i++)
|
||||
{
|
||||
if (mcTransformers[i] == null)
|
||||
@@ -414,7 +414,7 @@ Apply <a class="xref" href="../../../../api/Hi.MachiningSteps.PresentAttribute.h
|
||||
{
|
||||
foreach(var entry in flexDictionary)
|
||||
{
|
||||
if(HostMachiningProject?.StepPropertyAccessDictionary.TryGetValue(
|
||||
if(LocalProjectService.StepPropertyAccessDictionary.TryGetValue(
|
||||
entry.Key, out var stepPropertyAccess)==true)
|
||||
{
|
||||
<div class="w-auto" title="@(stepPropertyAccess.PresentAttribute?.Name)">
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
<article data-uid="">
|
||||
<h1 id="session-message-panel">Session Message Panel</h1>
|
||||
|
||||
<p>The model is <a class="xref" href="../../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>.<a class="xref" href="../../../../api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_SessionMessageHost">SessionMessageHost</a>.</p>
|
||||
<p>The model is <a class="xref" href="../../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a>.<xref:Hi.MachiningProcs.MachiningProject.SessionMessageHost>.</p>
|
||||
<p><a class="xref" href="../../../../api/Hi.MachiningProcs.MachiningProject.html">MachiningProject</a> is assigned from the <a href="../player/index.html">Player Panel</a>.</p>
|
||||
<h2 id="layout">Layout</h2>
|
||||
<ul>
|
||||
@@ -114,9 +114,9 @@
|
||||
<h2 id="central-message-table">Central Message Table</h2>
|
||||
<p>The model of Central Message Table is <a class="xref" href="../../../../api/Hi.MachiningProcs.SessionMessageHost.html">SessionMessageHost</a>.<a class="xref" href="../../../../api/Hi.MachiningProcs.SessionMessageHost.html#Hi_MachiningProcs_SessionMessageHost_MessageCollection">MessageCollection</a>.</p>
|
||||
<p>Only take last 1000 filtered elements in the <a class="xref" href="../../../../api/Hi.MachiningProcs.SessionMessageHost.html#Hi_MachiningProcs_SessionMessageHost_MessageCollection">MessageCollection</a> by <a class="xref" href="../../../../api/Hi.MachiningProcs.SessionMessageHost.html#Hi_MachiningProcs_SessionMessageHost_GetFliteredList_Hi_MachiningProcs_SessionMessageHost_FilterFlag_System_String_">GetFliteredList(FilterFlag, string)</a> to show for user experience. Find the usage example in the code:</p>
|
||||
<pre><code class="lang-csharp" name="Demo_UseSessionMessageHost">internal static void DemoUseSessionMessageHost(MachiningProject project)
|
||||
<pre><code class="lang-csharp" name="Demo_UseSessionMessageHost">internal static void DemoUseSessionMessageHost(LocalProjectService localProjectService)
|
||||
{
|
||||
SessionMessageHost sessionMessageHost = project.SessionMessageHost;
|
||||
SessionMessageHost sessionMessageHost = localProjectService.SessionMessageHost;
|
||||
|
||||
SessionMessageHost.FilterFlag filterFlags =
|
||||
SessionMessageHost.FilterFlag.NC |
|
||||
@@ -162,7 +162,7 @@
|
||||
<h2 id="behavior-of-export-button">Behavior of Export Button</h2>
|
||||
<p>Export ALL filtered elements in the <a class="xref" href="../../../../api/Hi.MachiningProcs.SessionMessageHost.html#Hi_MachiningProcs_SessionMessageHost_MessageCollection">MessageCollection</a> by <a class="xref" href="../../../../api/Hi.MachiningProcs.SessionMessageHost.html#Hi_MachiningProcs_SessionMessageHost_GetFliteredList_Hi_MachiningProcs_SessionMessageHost_FilterFlag_System_String_">GetFliteredList(FilterFlag, string)</a>.</p>
|
||||
<h2 id="signalr-implementation-webapi-only">SignalR Implementation (Webapi Only)</h2>
|
||||
<p><code>SessionMessageHub</code> provides real-time message updates with method <code>GetSessionMessages(string filterFlags, string filterText, int limit)</code> and event <code>SessionMessagesUpdated</code>. <code>SessionMessageService</code> monitors <a class="xref" href="../../../../api/Hi.MachiningProcs.LocalProjectService.html#Hi_MachiningProcs_LocalProjectService_SessionMessageHost_CollectionItemChanged">SessionMessageHost_CollectionItemChanged</a> and broadcasts updates. The service uses <a class="xref" href="../../../../api/Hi.Common.LooseRunner.html">LooseRunner</a> for non-blocking async operations. The JavaScript component connects to <code>/sessionMessageHub</code> to receive real-time message updates.</p>
|
||||
<p><code>SessionMessageHub</code> provides real-time message updates with method <code>GetSessionMessages(string filterFlags, string filterText, int limit)</code> and event <code>SessionMessagesUpdated</code>. <code>SessionMessageService</code> monitors <xref:Hi.MachiningProcs.LocalProjectService.SessionMessageHost_CollectionItemChanged> and broadcasts updates. The service uses <a class="xref" href="../../../../api/Hi.Common.LooseRunner.html">LooseRunner</a> for non-blocking async operations. The JavaScript component connects to <code>/sessionMessageHub</code> to receive real-time message updates.</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>
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
</ul>
|
||||
<p>The PlayerCommand is typically a <a class="xref" href="../../../api/Hi.ShellCommands.ListCommand.html">ListCommand</a> that contains a sequence of command entries to be executed during the simulation.</p>
|
||||
<h2 id="4-run-the-tasks-simulation-and-optimization">4. Run the Tasks (Simulation and Optimization)</h2>
|
||||
<p>Run <a class="xref" href="../../../api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_PlayerCommand">PlayerCommand</a> through <a class="xref" href="../../../api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_PacePlayer">PacePlayer</a>.</p>
|
||||
<p>Run <a class="xref" href="../../../api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_PlayerCommand">PlayerCommand</a> through <xref:Hi.MachiningProcs.MachiningProject.PacePlayer>.</p>
|
||||
<p>At this stage, the simulation process is similar to video playback, which can be:</p>
|
||||
<ul>
|
||||
<li>Started</li>
|
||||
@@ -141,7 +141,7 @@
|
||||
<li>Run one step</li>
|
||||
<li>Reset</li>
|
||||
</ul>
|
||||
<p>The <a class="xref" href="../../../api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_PacePlayer">PacePlayer</a> controls the execution pace of the simulation, allowing you to observe the machining process in detail or run it at full speed.</p>
|
||||
<p>The <xref:Hi.MachiningProcs.MachiningProject.PacePlayer> controls the execution pace of the simulation, allowing you to observe the machining process in detail or run it at full speed.</p>
|
||||
<h3 id="view-the-analysis-during-process-or-result">View the Analysis During Process or Result</h3>
|
||||
<p><a class="xref" href="../../../api/Hi.MachiningProcs.SessionMessageHost.html">SessionMessageHost</a> contains a sequence of simulation messages and step data, which can be used to monitor and analyze the simulation process and results.</p>
|
||||
<h2 id="ui-pattern">UI Pattern</h2>
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
<pre><code class="lang-xml"><ItemGroup>
|
||||
<PackageReference Include="HiNc" Version="3.1.*" />
|
||||
<!--optional-->
|
||||
<PackageReference Include="Hi.Wpf" Version="*" />
|
||||
<PackageReference Include="Hi.WpfPlus" Version="*" />
|
||||
</ItemGroup>
|
||||
</code></pre>
|
||||
</li>
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
HiUniNc --> HiNc
|
||||
|
||||
HiDisp --> Hi.WinForm
|
||||
HiDisp --> Hi.Wpf
|
||||
HiDisp --> Hi.WpfPlus
|
||||
|
||||
style HiNc fill:#d3d,stroke:#333,stroke-width:2px
|
||||
</code></pre>
|
||||
@@ -117,7 +117,7 @@
|
||||
<p>If you need to develop Windows desktop applications:</p>
|
||||
<ul>
|
||||
<li>For Windows Forms applications, use the <code>Hi.WinForm</code> package.</li>
|
||||
<li>For WPF applications, use the <code>Hi.Wpf</code> package.</li>
|
||||
<li>For WPF applications, use the <code>Hi.WpfPlus</code> package.</li>
|
||||
</ul>
|
||||
<div class="NOTE">
|
||||
<h5>Note</h5>
|
||||
@@ -130,9 +130,9 @@
|
||||
<li><a href="https://superhightech-gitea.webredirect.org/HiNC-Deploy/Hi.WinForm.git">https://superhightech-gitea.webredirect.org/HiNC-Deploy/Hi.WinForm.git</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Hi.Wpf
|
||||
<li>Hi.WpfPlus
|
||||
<ul>
|
||||
<li><a href="https://superhightech-gitea.webredirect.org/HiNC-Deploy/Hi.Wpf.git">https://superhightech-gitea.webredirect.org/HiNC-Deploy/Hi.WinForm.git</a></li>
|
||||
<li><a href="https://superhightech-gitea.webredirect.org/HiNC-Deploy/Hi.WpfPlus.git">https://superhightech-gitea.webredirect.org/HiNC-Deploy/Hi.WpfPlus.git</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -172,9 +172,9 @@ namespace Sample.Common
|
||||
public static class DemoSessionMessage
|
||||
{
|
||||
#region Demo_UseSessionMessageHost
|
||||
internal static void DemoUseSessionMessageHost(MachiningProject project)
|
||||
internal static void DemoUseSessionMessageHost(LocalProjectService localProjectService)
|
||||
{
|
||||
SessionMessageHost sessionMessageHost = project.SessionMessageHost;
|
||||
SessionMessageHost sessionMessageHost = localProjectService.SessionMessageHost;
|
||||
|
||||
SessionMessageHost.FilterFlag filterFlags =
|
||||
SessionMessageHost.FilterFlag.NC |
|
||||
@@ -208,10 +208,10 @@ namespace Sample.Common
|
||||
}
|
||||
#endregion
|
||||
|
||||
internal static void DemoUseSessionMessageHost2(MachiningProject project)
|
||||
internal static void DemoUseSessionMessageHost2(LocalProjectService localProjectService)
|
||||
{
|
||||
SessionMessageHost sessionMessageHost = project.SessionMessageHost;
|
||||
IMachiningChain machiningChain = project.MachiningEquipment?.MachiningChain;
|
||||
SessionMessageHost sessionMessageHost = localProjectService.SessionMessageHost;
|
||||
IMachiningChain machiningChain = localProjectService.MachiningChain;
|
||||
|
||||
PresentAttribute mrrPresent = typeof(MachiningStep).GetProperty(nameof(MachiningStep.Mrr_mm3ds)).GetCustomAttribute<PresentAttribute>();
|
||||
string mrrUnit = mrrPresent?.TailUnitString;
|
||||
|
||||
@@ -155,7 +155,7 @@ Handles common initialization and cleanup tasks for visualization examples.</p>
|
||||
using Hi.HiNcKits;
|
||||
using Hi.Licenses;
|
||||
using Hi.MongoUtils;
|
||||
using Hi.Wpf.Disp;
|
||||
using Hi.WpfPlus.Disp;
|
||||
using System.Windows;
|
||||
|
||||
namespace Sample.Disp
|
||||
|
||||
+9
-7
@@ -193,11 +193,13 @@ namespace Sample.Machining
|
||||
static void Main()
|
||||
{
|
||||
LocalApp.AppBegin();
|
||||
LocalProjectService localProjectService = new LocalProjectService();
|
||||
|
||||
var projectPath = "C:/HiNC-Projects/NewProject/Main.hincproj";
|
||||
var projectDirectory = Path.GetDirectoryName(projectPath);
|
||||
Console.WriteLine($"Directory of the New Project: {projectDirectory}");
|
||||
MachiningProject machiningProject = new MachiningProject(projectDirectory);
|
||||
localProjectService.LoadProject(projectPath);
|
||||
MachiningProject machiningProject = localProjectService.MachiningProject;
|
||||
|
||||
CylindroidHolder cylindroidHolder = new CylindroidHolder()
|
||||
{
|
||||
@@ -205,7 +207,7 @@ namespace Sample.Machining
|
||||
Cylindroid = new Cylindroid([ new PairZr(0,12),new PairZr(20,12),
|
||||
new PairZr(20,16),new PairZr(30,16)])
|
||||
};
|
||||
machiningProject.MachiningToolHouse = new MachiningToolHouse()
|
||||
localProjectService.MachiningToolHouse = new MachiningToolHouse()
|
||||
{
|
||||
[1] = new MillingTool()
|
||||
{
|
||||
@@ -216,13 +218,13 @@ namespace Sample.Machining
|
||||
},
|
||||
};
|
||||
|
||||
machiningProject.MachiningEquipment.Fixture = new Fixture()
|
||||
localProjectService.Fixture = new Fixture()
|
||||
{
|
||||
Geom = new Box3d(new Vec3d(-40, -40, 0), new Vec3d(40, 40, 10)),
|
||||
GeomToWorkpieceTransformer = new StaticTranslation(new Vec3d(0, 0, 10)),
|
||||
};
|
||||
|
||||
machiningProject.MachiningEquipment.Workpiece = new Workpiece()
|
||||
localProjectService.Workpiece = new Workpiece()
|
||||
{
|
||||
InitResolution = 0.25,
|
||||
InitGeom = new Box3d(0, 0, -50, 70, 50, 0),
|
||||
@@ -230,12 +232,12 @@ namespace Sample.Machining
|
||||
WorkpieceGeomToFixtureBuckleTransformer = new StaticTranslation(new Vec3d(0, 0, 0)),
|
||||
};
|
||||
|
||||
machiningProject.MachiningEquipment.MachiningChain
|
||||
localProjectService.MachiningChain
|
||||
= XFactory.GenByFile<CodeXyzabcMachineTool>(
|
||||
"Resource", "MachineTool/PMC-B1/PMC-B1.mt", GenMode.Default);
|
||||
machiningProject.MachiningEquipment.MachiningChainFile = "PMC-B1/PMC-B1.mt";
|
||||
localProjectService.MachiningChainFile = "PMC-B1/PMC-B1.mt";
|
||||
|
||||
machiningProject.MakeXmlSourceFile(projectPath);
|
||||
localProjectService.SaveProject();
|
||||
|
||||
machiningProject.Dispose();
|
||||
LocalApp.AppEnd();
|
||||
|
||||
+7
-5
@@ -297,14 +297,16 @@ namespace Sample.Machining
|
||||
static void Main()
|
||||
{
|
||||
LocalApp.AppBegin();
|
||||
LocalProjectService localProjectService = new LocalProjectService();
|
||||
|
||||
var projectPath = "C:/HiNC-Projects/NewProject/Main.hincproj";
|
||||
var projectDirectory = Path.GetDirectoryName(projectPath);
|
||||
Console.WriteLine($"Directory of the New Project: {projectDirectory}");
|
||||
MachiningProject machiningProject = new MachiningProject(projectDirectory);
|
||||
localProjectService.LoadProject(projectPath);
|
||||
MachiningProject machiningProject = localProjectService.MachiningProject;
|
||||
|
||||
#region ConfigureMachiningToolHouse
|
||||
machiningProject.MachiningToolHouse = new MachiningToolHouse()
|
||||
localProjectService.MachiningToolHouse = new MachiningToolHouse()
|
||||
{
|
||||
[1] = new MillingTool()
|
||||
{
|
||||
@@ -331,7 +333,7 @@ namespace Sample.Machining
|
||||
#endregion
|
||||
|
||||
#region ConfigureFixture
|
||||
machiningProject.MachiningEquipment.Fixture = new Fixture()
|
||||
localProjectService.Fixture = new Fixture()
|
||||
{
|
||||
Geom = new Box3d(new Vec3d(-40, -40, 0), new Vec3d(40, 40, 10)),
|
||||
GeomToWorkpieceTransformer = new StaticTranslation(new Vec3d(0, 0, 10)),
|
||||
@@ -339,7 +341,7 @@ namespace Sample.Machining
|
||||
#endregion
|
||||
|
||||
#region ConfigureWorkpiece
|
||||
machiningProject.MachiningEquipment.Workpiece = new Workpiece()
|
||||
localProjectService.Workpiece = new Workpiece()
|
||||
{
|
||||
InitResolution = 0.25,
|
||||
InitGeom = new Box3d(0, 0, -50, 70, 50, 0),
|
||||
@@ -353,7 +355,7 @@ namespace Sample.Machining
|
||||
#endregion
|
||||
|
||||
#region ConfigureMachineChain
|
||||
machiningProject.MachiningEquipment.MachiningChain
|
||||
localProjectService.MachiningChain
|
||||
= XFactory.GenByFile<CodeXyzabcMachineTool>(
|
||||
"Resource", "MachineTool/PMC-B1/PMC-B1.mt", GenMode.Default);
|
||||
#endregion
|
||||
|
||||
+23
-23
@@ -155,7 +155,7 @@ using Hi.Geom.Resolution;
|
||||
using Hi.HiNcKits;
|
||||
using Hi.MachiningProcs;
|
||||
using Hi.Numerical.Acts;
|
||||
using Hi.Wpf.Disp;
|
||||
using Hi.WpfPlus.Disp;
|
||||
using HiMachining.Milling;
|
||||
using System;
|
||||
using System.IO;
|
||||
@@ -192,21 +192,21 @@ namespace Sample.Machining
|
||||
//var projectPath = "C:/HiNC-Projects/DemoStandardPath/Main.hincproj";
|
||||
var projectPath = "C:/HiNC-Projects/demo-test-1/Main.hincproj";
|
||||
Console.WriteLine($"Load Project: {projectPath}");
|
||||
localProjectService.LoadProject(projectPath).ShowIfCatched(null);
|
||||
localProjectService.LoadProject(projectPath);
|
||||
var project = localProjectService.MachiningProject;
|
||||
#endregion
|
||||
|
||||
var projectDisplayee = new MachiningProjectDisplayee(()=> localProjectService.MachiningProject);
|
||||
var projectDisplayee = new MachiningProjectDisplayee(localProjectService);
|
||||
var device = new ClMillingDevice();
|
||||
project.MachiningEquipment.MachiningChain = device;
|
||||
project.ClStrip.IsShowDot = true;
|
||||
localProjectService.MachiningEquipment.MachiningChain = device;
|
||||
localProjectService.ClStrip.IsShowDot = true;
|
||||
double resolution_mm = 0.5;
|
||||
var projectDir = Path.GetDirectoryName(projectPath);
|
||||
project.Workpiece.InitGeom = new StlFile(stlFile_CylinderR20, projectDir);
|
||||
project.Workpiece.IdealGeom = new StlFile(stlFile_CylinderR19, projectDir);
|
||||
project.Workpiece.InitResolution = resolution_mm;
|
||||
localProjectService.Workpiece.InitGeom = new StlFile(stlFile_CylinderR20, projectDir);
|
||||
localProjectService.Workpiece.IdealGeom = new StlFile(stlFile_CylinderR19, projectDir);
|
||||
localProjectService.Workpiece.InitResolution = resolution_mm;
|
||||
|
||||
RuntimeApi runtimeApi = project.RuntimeApi;
|
||||
RuntimeApi runtimeApi = localProjectService.RuntimeApi;
|
||||
runtimeApi.SetNcResolutionFixed(9999, 15);
|
||||
runtimeApi.EnableCollisionDetection = false;
|
||||
runtimeApi.EnablePhysics = false;
|
||||
@@ -215,13 +215,13 @@ namespace Sample.Machining
|
||||
//RunConsole(project, projectDisplayee, resolution_mm);
|
||||
RunWindow(localProjectService, projectDisplayee, resolution_mm);
|
||||
}
|
||||
static void RunConsole(IProjectService projectService,
|
||||
static void RunConsole(LocalProjectService projectService,
|
||||
MachiningProjectDisplayee projectDisplayee, double resolution_mm)
|
||||
{
|
||||
RunSession(projectService, resolution_mm);
|
||||
DispEngine dispEngine = new DispEngine(projectDisplayee);
|
||||
dispEngine.SetViewToIsometricView();
|
||||
dispEngine.SketchView = projectService.MachiningProject.ClStrip.GetFittingView(dispEngine.SketchView);
|
||||
dispEngine.SketchView = projectService.ClStrip.GetFittingView(dispEngine.SketchView);
|
||||
dispEngine.SketchView = dispEngine.SketchView.Scale(0.5);
|
||||
dispEngine.Snapshot($"Cache/result.bmp", 1000, 1000);
|
||||
|
||||
@@ -229,7 +229,7 @@ namespace Sample.Machining
|
||||
LocalApp.AppEnd();
|
||||
Console.WriteLine($"App exit.");
|
||||
}
|
||||
static void RunWindow(IProjectService projectService,
|
||||
static void RunWindow(LocalProjectService projectService,
|
||||
MachiningProjectDisplayee projectDisplayee, double resolution_mm)
|
||||
{
|
||||
var task = Task.Run(() =>
|
||||
@@ -256,16 +256,16 @@ namespace Sample.Machining
|
||||
});
|
||||
#endregion
|
||||
}
|
||||
static void RunSession(IProjectService projectService, double resolution_mm)
|
||||
static void RunSession(LocalProjectService localProjectService, double resolution_mm)
|
||||
{
|
||||
var project=projectService.MachiningProject;
|
||||
RuntimeApi runtimeApi = project.RuntimeApi;
|
||||
var project=localProjectService.MachiningProject;
|
||||
RuntimeApi runtimeApi = localProjectService.RuntimeApi;
|
||||
|
||||
project.BeginSession();
|
||||
localProjectService.BeginSession();
|
||||
double radius = 20;
|
||||
double z = -1;
|
||||
project.Act(new ActToolingTeleport(1));//equip tool
|
||||
project.Act(new ActClTeleport(new DVec3d(radius, 0, z, 0, 0, 1)));//goto initial position
|
||||
localProjectService.Act(new ActToolingTeleport(1));//equip tool
|
||||
localProjectService.Act(new ActClTeleport(new DVec3d(radius, 0, z, 0, 0, 1)));//goto initial position
|
||||
//run an arbitrary contour.
|
||||
int divNum = 36;
|
||||
for (int i = 0; i <= divNum; i++)
|
||||
@@ -275,16 +275,16 @@ namespace Sample.Machining
|
||||
radius * Math.Sin(i * Math.PI * 2 / divNum), z,
|
||||
0, 0, 1);
|
||||
Console.WriteLine($"{cl.Point.CsvText},{cl.Normal.CsvText},");
|
||||
project.Act(new ActClStep(cl));
|
||||
localProjectService.Act(new ActClStep(cl));
|
||||
}
|
||||
double diffLimit_mm = resolution_mm * 2;
|
||||
runtimeApi.Diff(resolution_mm * 2);
|
||||
Console.WriteLine($"IsDifferenceAceptable: {IsDifferenceAceptable(project, diffLimit_mm)}");
|
||||
project.EndSession();
|
||||
Console.WriteLine($"IsDifferenceAceptable: {IsDifferenceAceptable(localProjectService, diffLimit_mm)}");
|
||||
localProjectService.EndSession();
|
||||
}
|
||||
static bool IsDifferenceAceptable(MachiningProject project, double diffLimit)
|
||||
static bool IsDifferenceAceptable(LocalProjectService localProjectService, double diffLimit)
|
||||
{
|
||||
foreach (var attachment in project.Workpiece.DiffAttachmentBag)
|
||||
foreach (var attachment in localProjectService.Workpiece.DiffAttachmentBag)
|
||||
{
|
||||
if (double.IsNaN(attachment.Diff) || Math.Abs(attachment.Diff) > diffLimit)
|
||||
{
|
||||
|
||||
+7
-5
@@ -151,7 +151,7 @@ Provides a complete example of a 3D visualization application with HiAPI and WPF
|
||||
|
||||
<h2 id="Sample_Machining_DemoRenderingMachiningProcessAndStripPosSelection_remarks">Remarks</h2>
|
||||
<div class="markdown level0 remarks"><h3 id="source-code">Source Code</h3>
|
||||
<pre><code class="lang-csharp" name="SampleCode">using Hi.Wpf.Disp;
|
||||
<pre><code class="lang-csharp" name="SampleCode">using Hi.WpfPlus.Disp;
|
||||
using System;
|
||||
using Hi.MachiningProcs;
|
||||
using Hi.Common.FileLines;
|
||||
@@ -176,22 +176,24 @@ namespace Sample.Machining
|
||||
static void Main(string[] args)
|
||||
{
|
||||
LocalApp.AppBegin();
|
||||
LocalProjectService localProjectService = new LocalProjectService();
|
||||
|
||||
#region Load Machining Project
|
||||
var projectPath = "C:/HiNC-Projects/DemoStandardPath/Main.hincproj";
|
||||
Console.WriteLine($"Load Project: {projectPath}");
|
||||
MachiningProject machiningProject = MachiningProject.LoadFile(projectPath);
|
||||
localProjectService.LoadProject(projectPath);
|
||||
MachiningProject machiningProject = localProjectService.MachiningProject;
|
||||
|
||||
machiningProject.RuntimeApi.MachiningStepSelected += (MachiningStep step) =>
|
||||
localProjectService.RuntimeApi.MachiningStepSelected += (MachiningStep step) =>
|
||||
{
|
||||
var sourceCommand = step.SourceCommand;
|
||||
Console.WriteLine($"Step Selected: MRR = {step.Mrr_mm3ds} At \"{sourceCommand?.FilePath}\" (Line {sourceCommand?.GetLineNo()}) \"{sourceCommand?.Line}\"");
|
||||
};
|
||||
machiningProject.PacePlayer.Start();
|
||||
localProjectService.PacePlayer.Start();
|
||||
#endregion
|
||||
|
||||
#region Configure Rendering Options
|
||||
var projectDisplayee = new MachiningProjectDisplayee(()=>machiningProject);
|
||||
var projectDisplayee = new MachiningProjectDisplayee(localProjectService);
|
||||
projectDisplayee.RenderingFlagBitArray[(int)RenderingFlag.Mech] = true;
|
||||
projectDisplayee.RenderingFlagBitArray[(int)RenderingFlag.Fixture] = true;
|
||||
projectDisplayee.RenderingFlagBitArray[(int)RenderingFlag.WorkpieceGeom] = true;
|
||||
|
||||
+14
-12
@@ -176,11 +176,13 @@ namespace Sample.Machining
|
||||
static void Main()
|
||||
{
|
||||
LocalApp.AppBegin();
|
||||
LocalProjectService localProjectService = new LocalProjectService();
|
||||
|
||||
#region ProjectLoading
|
||||
var projectPath = "C:/HiNC-Projects/DemoStandardPath/Main.hincproj";
|
||||
Console.WriteLine($"Load Project: {projectPath}");
|
||||
MachiningProject machiningProject = MachiningProject.LoadFile(projectPath);
|
||||
localProjectService.LoadProject(projectPath);
|
||||
MachiningProject machiningProject = localProjectService.MachiningProject;
|
||||
#endregion
|
||||
|
||||
#region EventHandling
|
||||
@@ -188,7 +190,7 @@ namespace Sample.Machining
|
||||
|
||||
using StreamWriter writer = new StreamWriter("msg.txt");
|
||||
//show message if something abnormal.
|
||||
machiningProject.SessionMessageHost.CollectionItemAdded += pack =>
|
||||
localProjectService.SessionMessageHost.CollectionItemAdded += pack =>
|
||||
{
|
||||
if (pack.Tags.Contains(MessageFlag.Warning.ToString()) ||
|
||||
pack.Tags.Contains(MessageFlag.Error.ToString()) ||
|
||||
@@ -200,7 +202,7 @@ namespace Sample.Machining
|
||||
};
|
||||
Console.WriteLine($"Set machining step event.");
|
||||
//show MRR.
|
||||
machiningProject.RuntimeApi.MachiningStepBuilt += (preStep, curStep) =>
|
||||
localProjectService.RuntimeApi.MachiningStepBuilt += (preStep, curStep) =>
|
||||
{
|
||||
var sourceCommand = curStep.SourceCommand;
|
||||
if (curStep.Mrr_mm3ds > 500) //show only the step that contains large MRR.
|
||||
@@ -210,18 +212,18 @@ namespace Sample.Machining
|
||||
|
||||
#region MachiningExecution
|
||||
Console.WriteLine($"Reset runtime status.");
|
||||
machiningProject.ResetRuntime();
|
||||
localProjectService.ResetRuntime();
|
||||
|
||||
Console.WriteLine($"Session begin.");
|
||||
machiningProject.BeginSession();
|
||||
machiningProject.RuntimeApi.MachiningResolution_mm = 1;
|
||||
machiningProject.RuntimeApi.EnableCollisionDetection = true;
|
||||
machiningProject.RuntimeApi.EnablePauseOnFailure = false;
|
||||
machiningProject.RuntimeApi.EnablePhysics = false;
|
||||
localProjectService.BeginSession();
|
||||
localProjectService.RuntimeApi.MachiningResolution_mm = 1;
|
||||
localProjectService.RuntimeApi.EnableCollisionDetection = true;
|
||||
localProjectService.RuntimeApi.EnablePauseOnFailure = false;
|
||||
localProjectService.RuntimeApi.EnablePhysics = false;
|
||||
//the path from Shell-API is relative by project directory.
|
||||
machiningProject.RuntimeApi.PlayNcFile("NC/side.ptp");
|
||||
machiningProject.RuntimeApi.PlayNcFile("NC/circle.ptp");
|
||||
machiningProject.EndSession();
|
||||
localProjectService.RuntimeApi.PlayNcFile("NC/side.ptp");
|
||||
localProjectService.RuntimeApi.PlayNcFile("NC/circle.ptp");
|
||||
localProjectService.EndSession();
|
||||
Console.WriteLine($"Session end.");
|
||||
#endregion
|
||||
|
||||
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 153 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 253 KiB |
+136
@@ -0,0 +1,136 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>關於仿真過程CPU的使用率 | HiAPI-C# 2025 </title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="title" content="關於仿真過程CPU的使用率 | HiAPI-C# 2025 ">
|
||||
|
||||
|
||||
<link rel="icon" href="../../../../../img/HiAPI.favicon.ico">
|
||||
<link rel="stylesheet" href="../../../../../public/docfx.min.css">
|
||||
<link rel="stylesheet" href="../../../../../public/main.css">
|
||||
<meta name="docfx:navrel" content="../../../../../toc.html">
|
||||
<meta name="docfx:tocrel" content="../../toc.html">
|
||||
|
||||
<meta name="docfx:rel" content="../../../../../">
|
||||
|
||||
|
||||
|
||||
<meta name="loc:inThisArticle" content="In this article">
|
||||
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
||||
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
||||
<meta name="loc:tocFilter" content="Filter by title">
|
||||
<meta name="loc:nextArticle" content="Next">
|
||||
<meta name="loc:prevArticle" content="Previous">
|
||||
<meta name="loc:themeLight" content="Light">
|
||||
<meta name="loc:themeDark" content="Dark">
|
||||
<meta name="loc:themeAuto" content="Auto">
|
||||
<meta name="loc:changeTheme" content="Change theme">
|
||||
<meta name="loc:copy" content="Copy">
|
||||
<meta name="loc:downloadPdf" content="Download PDF">
|
||||
|
||||
<script type="module" src="./../../../../../public/docfx.min.js"></script>
|
||||
|
||||
<script>
|
||||
const theme = localStorage.getItem('theme') || 'auto'
|
||||
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="">
|
||||
<header class="bg-body border-bottom">
|
||||
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
||||
<div class="container-xxl flex-nowrap">
|
||||
<a class="navbar-brand" href="../../../../../index.html">
|
||||
<img id="logo" class="svg" src="../../../../../img/HiAPI.logo.png" alt="">
|
||||
|
||||
</a>
|
||||
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<i class="bi bi-three-dots"></i>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navpanel">
|
||||
<div id="navbar">
|
||||
<form class="search" role="search" id="search">
|
||||
<i class="bi bi-search"></i>
|
||||
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="container-xxl">
|
||||
<div class="toc-offcanvas">
|
||||
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body">
|
||||
<nav class="toc" id="toc"></nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<div class="actionbar">
|
||||
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
||||
<i class="bi bi-list"></i>
|
||||
</button>
|
||||
|
||||
<nav id="breadcrumb"></nav>
|
||||
</div>
|
||||
|
||||
<article data-uid="">
|
||||
<h1 id="關於仿真過程cpu的使用率">關於仿真過程CPU的使用率</h1>
|
||||
|
||||
<h2 id="仿真的運算線程">仿真的運算線程</h2>
|
||||
<p>時序資料的計算是單線程(同一時間只使用一個CPU核心),其他資料則可以平行計算。</p>
|
||||
<h3 id="幾何移除">幾何移除</h3>
|
||||
<p>幾何移除是單線程,因為按照次序切削才能得到正確的CWE(刀具工件接觸面)。幾何移除後的工件幾何表面是淡粉色,通常代表該處的物理量尚未計算完成。</p>
|
||||
<h3 id="物理計算">物理計算</h3>
|
||||
<p>切削力的計算在取得CWE之後,因其不受計算次序影響,一般模式下為多線程計算。力矩等物理量也會在這個步驟多線程計算。</p>
|
||||
<p>溫度的計算必須是時序,所以又會收斂至單線程。</p>
|
||||
<p>整個加工仿真的計算過程就這樣分分合合,一個步被計算完成後會在該步著上指定指標的顏色。</p>
|
||||
<h2 id="cpu的使用率">CPU的使用率</h2>
|
||||
<h3 id="幾何解析度大時">幾何解析度大時</h3>
|
||||
<p>幾何解析度大的時候,幾何移除較物理計算快,所以仿真過程會看到一大片的淡粉色跟在刀具後面跑。未計算完成的步數有數量限制,幾何移除在該數量內才會運行。</p>
|
||||
<p>這種情況主要是CPU的多核運算(物理計算),比較容易看到CPU多核使用率偏高。</p>
|
||||
<p><img src="geom-quick.png" alt="幾何解析度大時"></p>
|
||||
<h3 id="幾何解析度小時">幾何解析度小時</h3>
|
||||
<p>幾何解析度小的時候,幾何移除較物理計算慢,所以幾乎看不到淡粉色。</p>
|
||||
<p>這種情況主要是CPU的單核運算(幾何計算)。</p>
|
||||
<p><img src="geom-slow.png" alt="幾何解析度小時"></p>
|
||||
<h3 id="平衡狀態">平衡狀態</h3>
|
||||
<p>如果幾何解析度剛好使得幾何計算與物理計算不互相拖累,那淡粉色區域會出現但快速消失。此時物理計算不會拖累幾何計算,通常幾何計算才是運算速度的瓶頸。</p>
|
||||
<h3 id="cpu未跑滿的情況">CPU未跑滿的情況</h3>
|
||||
<p>至於CPU沒有跑滿,可能是作業系統為了確保GUI能即時反應,所以預留空間不讓跑。這部分目前沒有解法。</p>
|
||||
|
||||
</article>
|
||||
|
||||
<div class="contribution d-print-none">
|
||||
</div>
|
||||
|
||||
<div class="next-article d-print-none border-top" id="nextArticle"></div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="affix">
|
||||
<nav id="affix"></nav>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div class="container-xxl search-results" id="search-results"></div>
|
||||
|
||||
<footer class="border-top text-secondary">
|
||||
<div class="container-xxl">
|
||||
<div class="flex-fill">
|
||||
<span> Copyright © 2025 <a href='https://superhightech.com.tw'>Tech Coordinate</a>. All rights reserved. <a href='https://superhightech.com.tw'>超級高科技股份有限公司</a> © 2025 版權所有 </span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -214,6 +214,9 @@
|
||||
<li>
|
||||
<a href="technique/relief-face-avoidance/index.html" name="" title="第一離隙角避讓">第一離隙角避讓</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="theory-and-technique/cpu-usage/index.html" name="" title="仿真CPU使用率">仿真CPU使用率</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@
|
||||
"HiMech/HiMech.csproj",
|
||||
"HiUniNc/HiUniNc.csproj",
|
||||
"HiNc/HiNc.csproj",
|
||||
"Hi.Wpf/Hi.Wpf.csproj",
|
||||
"Hi.WpfPlus/Hi.WpfPlus.csproj",
|
||||
"Hi.WinForm/Hi.WinForm.csproj"
|
||||
]
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -5330,6 +5330,20 @@
|
||||
"Title": "Hi.MachiningProcs.MachiningActRunner",
|
||||
"Summary": "<p sourcefile=\"api/Hi.MachiningProcs.MachiningActRunner.yml\" sourcestartlinenumber=\"1\">Represents a runner for machining actions that manages milling steps, tool paths, and collision detection.</p>\n"
|
||||
},
|
||||
{
|
||||
"type": "ManagedReference",
|
||||
"source_relative_path": "api/Hi.MachiningProcs.MachiningActRunnerConfig.yml",
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "api/Hi.MachiningProcs.MachiningActRunnerConfig.html"
|
||||
}
|
||||
},
|
||||
"version": "",
|
||||
"Uid": null,
|
||||
"IsMRef": true,
|
||||
"Title": "Hi.MachiningProcs.MachiningActRunnerConfig",
|
||||
"Summary": "<p sourcefile=\"api/Hi.MachiningProcs.MachiningActRunnerConfig.yml\" sourcestartlinenumber=\"1\">Represents the configuration for a milling act runner.\nProvides settings for physics simulation, evaluation, and temperature control.</p>\n"
|
||||
},
|
||||
{
|
||||
"type": "ManagedReference",
|
||||
"source_relative_path": "api/Hi.MachiningProcs.MachiningParallelProc.StepTaskBundle.yml",
|
||||
@@ -5414,20 +5428,6 @@
|
||||
"Title": "Hi.MachiningProcs.MachiningSession",
|
||||
"Summary": "<p sourcefile=\"api/Hi.MachiningProcs.MachiningSession.yml\" sourcestartlinenumber=\"1\">Represents a machining session that manages the execution and optimization of machining operations.\nProvides functionality for controlling the machining process, handling optimization options,\nand managing session state.</p>\n"
|
||||
},
|
||||
{
|
||||
"type": "ManagedReference",
|
||||
"source_relative_path": "api/Hi.MachiningProcs.MillingActRunnerConfig.yml",
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "api/Hi.MachiningProcs.MillingActRunnerConfig.html"
|
||||
}
|
||||
},
|
||||
"version": "",
|
||||
"Uid": null,
|
||||
"IsMRef": true,
|
||||
"Title": "Hi.MachiningProcs.MillingActRunnerConfig",
|
||||
"Summary": "<p sourcefile=\"api/Hi.MachiningProcs.MillingActRunnerConfig.yml\" sourcestartlinenumber=\"1\">Represents the configuration for a milling act runner.\nProvides settings for physics simulation, evaluation, and temperature control.</p>\n"
|
||||
},
|
||||
{
|
||||
"type": "ManagedReference",
|
||||
"source_relative_path": "api/Hi.MachiningProcs.MillingUtil.yml",
|
||||
@@ -12878,44 +12878,44 @@
|
||||
},
|
||||
{
|
||||
"type": "ManagedReference",
|
||||
"source_relative_path": "api/Hi.Wpf.Disp.RenderingCanvas.yml",
|
||||
"source_relative_path": "api/Hi.WpfPlus.Disp.RenderingCanvas.yml",
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "api/Hi.Wpf.Disp.RenderingCanvas.html"
|
||||
"relative_path": "api/Hi.WpfPlus.Disp.RenderingCanvas.html"
|
||||
}
|
||||
},
|
||||
"version": "",
|
||||
"Uid": null,
|
||||
"IsMRef": true,
|
||||
"Title": "Hi.Wpf.Disp.RenderingCanvas",
|
||||
"Summary": "<p sourcefile=\"api/Hi.Wpf.Disp.RenderingCanvas.yml\" sourcestartlinenumber=\"1\">Provides a WPF rendering canvas for 3D visualization of HiAPI components.\nHandles user interactions, rendering, and integration with the DispEngine system.</p>\n"
|
||||
"Title": "Hi.WpfPlus.Disp.RenderingCanvas",
|
||||
"Summary": "<p sourcefile=\"api/Hi.WpfPlus.Disp.RenderingCanvas.yml\" sourcestartlinenumber=\"1\">Provides a WPF rendering canvas for 3D visualization of HiAPI components.\nHandles user interactions, rendering, and integration with the DispEngine system.</p>\n"
|
||||
},
|
||||
{
|
||||
"type": "ManagedReference",
|
||||
"source_relative_path": "api/Hi.Wpf.Disp.RenderingWindow.yml",
|
||||
"source_relative_path": "api/Hi.WpfPlus.Disp.RenderingWindow.yml",
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "api/Hi.Wpf.Disp.RenderingWindow.html"
|
||||
"relative_path": "api/Hi.WpfPlus.Disp.RenderingWindow.html"
|
||||
}
|
||||
},
|
||||
"version": "",
|
||||
"Uid": null,
|
||||
"IsMRef": true,
|
||||
"Title": "Hi.Wpf.Disp.RenderingWindow",
|
||||
"Summary": "<p sourcefile=\"api/Hi.Wpf.Disp.RenderingWindow.yml\" sourcestartlinenumber=\"1\">Window for 3D rendering.</p>\n"
|
||||
"Title": "Hi.WpfPlus.Disp.RenderingWindow",
|
||||
"Summary": "<p sourcefile=\"api/Hi.WpfPlus.Disp.RenderingWindow.yml\" sourcestartlinenumber=\"1\">Window for 3D rendering.</p>\n"
|
||||
},
|
||||
{
|
||||
"type": "ManagedReference",
|
||||
"source_relative_path": "api/Hi.Wpf.Disp.yml",
|
||||
"source_relative_path": "api/Hi.WpfPlus.Disp.yml",
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "api/Hi.Wpf.Disp.html"
|
||||
"relative_path": "api/Hi.WpfPlus.Disp.html"
|
||||
}
|
||||
},
|
||||
"version": "",
|
||||
"Uid": null,
|
||||
"IsMRef": true,
|
||||
"Title": "Hi.Wpf.Disp",
|
||||
"Title": "Hi.WpfPlus.Disp",
|
||||
"Summary": null
|
||||
},
|
||||
{
|
||||
@@ -15213,6 +15213,36 @@
|
||||
},
|
||||
"version": ""
|
||||
},
|
||||
{
|
||||
"type": "Resource",
|
||||
"source_relative_path": "brief/user-guide/zh-Hant/theory-and-technique/cpu-usage/geom-quick.png",
|
||||
"output": {
|
||||
"resource": {
|
||||
"relative_path": "brief/user-guide/zh-Hant/theory-and-technique/cpu-usage/geom-quick.png"
|
||||
}
|
||||
},
|
||||
"version": ""
|
||||
},
|
||||
{
|
||||
"type": "Resource",
|
||||
"source_relative_path": "brief/user-guide/zh-Hant/theory-and-technique/cpu-usage/geom-slow.png",
|
||||
"output": {
|
||||
"resource": {
|
||||
"relative_path": "brief/user-guide/zh-Hant/theory-and-technique/cpu-usage/geom-slow.png"
|
||||
}
|
||||
},
|
||||
"version": ""
|
||||
},
|
||||
{
|
||||
"type": "Conceptual",
|
||||
"source_relative_path": "brief/user-guide/zh-Hant/theory-and-technique/cpu-usage/index.md",
|
||||
"output": {
|
||||
".html": {
|
||||
"relative_path": "brief/user-guide/zh-Hant/theory-and-technique/cpu-usage/index.html"
|
||||
}
|
||||
},
|
||||
"version": ""
|
||||
},
|
||||
{
|
||||
"type": "Resource",
|
||||
"source_relative_path": "brief/user-guide/zh-Hant/theory-and-technique/img/Machining-3-Coordinate.png",
|
||||
|
||||
+1288
-1227
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user