-Interface ISourceCommand
+
+Interface IIndexedFileLine
- Represents a source command interface that provides access to file line information and command flags.
-
+
- public interface ISourceCommand : IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public interface IIndexedFileLine : IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex
@@ -132,14 +131,23 @@ Interface ISourceCommand
-
- Extension Methods
-
+
+
+
+
@@ -167,43 +175,6 @@ Interface ISourceCommand
-
Properties
-
-
-
-
-
-
- FlagsText
-
-
-
- Gets the text representation of command flags.
-
-
-
-
- [Present("NC Flag", "NC Flag", PhysicsUnit.None, "G")]
-string FlagsText { get; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
Represents a source command interface that provides access to file line information and command flags.
-public interface ISourceCommand : IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public interface IIndexedFileLine : IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex
Properties -
- - - - -- FlagsText - -
- -Gets the text representation of command flags.
-[Present("NC Flag", "NC Flag", PhysicsUnit.None, "G")]
-string FlagsText { get; }
- Property Value
--
-
- string - -
public class IndexedFileLine : IFileLine, IFileLineIndex, IGetFileLineIndex, IGetIndexedFileLine
+ public class IndexedFileLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex
- Implements
- + - +
+ IndexedFileLine(IIndexedFileLine) + +
+ + + + +public IndexedFileLine(IIndexedFileLine src)
+ Parameters
+-
+
src
IIndexedFileLine
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Common.FileLines.html b/App/wwwroot/HiAPI-docsite/api/Hi.Common.FileLines.html
index 82b8d11..6c87ad6 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Common.FileLines.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Common.FileLines.html
@@ -172,6 +172,10 @@ Interfaces
Interface for objects that can provide a file line.
+
+ - IIndexedFileLine
+
+
- ILineChangedEventSupport
Interface for objects that support line change events.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningActRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningActRunner.html
index 4283630..eca84f5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningActRunner.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningActRunner.html
@@ -889,8 +889,8 @@ This is for internal use only.
-
- ProcAct(IAct, MachiningSession, IMachiningStepHost, ISourceCommand, CancellationToken)
+
+ ProcAct(IAct, MachiningSession, IMachiningStepHost, IIndexedFileLine, CancellationToken)
@@ -899,7 +899,7 @@ This is for internal use only.
- public IEnumerable<object> ProcAct(IAct act, MachiningSession millingSession, IMachiningStepHost host, ISourceCommand sourceCommand, CancellationToken cancellationToken)
+ public IEnumerable<object> ProcAct(IAct act, MachiningSession millingSession, IMachiningStepHost host, IIndexedFileLine sourceCommand, CancellationToken cancellationToken)
Parameters
@@ -913,7 +913,7 @@ This is for internal use only.
host
IMachiningStepHost
The milling step host.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
cancellationToken
CancellationToken
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningParallelProc.StepTaskBundle.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningParallelProc.StepTaskBundle.html
index bfab579..c86a2dc 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningParallelProc.StepTaskBundle.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningParallelProc.StepTaskBundle.html
@@ -218,10 +218,10 @@ Class MachiningParallelProc.StepTaskBundle
-
+
-
- MachiningStep
+
+ MachiningMotionStep
@@ -230,7 +230,7 @@ Class MachiningParallelProc.StepTaskBundle
- public MachineMotionStep MachiningStep { get; }
+ public MachineMotionStep MachiningMotionStep { get; }
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningProject.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningProject.html
index 89f544e..2aedd74 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningProject.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningProject.html
@@ -497,6 +497,37 @@ Uses the default MongoDB connection.
+
+
+
+ CsvRunner
+
+
+
+
+
+
+
+ public CsvRunner CsvRunner { get; }
+
+
+
+
+
+
+ Property Value
+
+ - CsvRunner
+
+
+
+
+
+
+
+
+
+
@@ -1438,8 +1469,8 @@ Ensures proper initialization of workpiece properties.
-
- Act(IAct, ISourceCommand, CancellationToken?)
+
+ Act(IAct, IIndexedFileLine, CancellationToken?)
@@ -1448,7 +1479,7 @@ Ensures proper initialization of workpiece properties.
- public void Act(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+ public void Act(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -1456,7 +1487,7 @@ Ensures proper initialization of workpiece properties.
act
IAct
The act to execute.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command that triggered the act.
cancellationToken
CancellationToken?
@@ -1783,6 +1814,39 @@ Since the folder can be moving with the configuration file.
+
+
+
+ PlayCsvFile(string, string)
+
+
+
+
+
+
+
+ public void PlayCsvFile(string baseDirectory, string relFilePath)
+
+
+ Parameters
+
+ baseDirectory
string
+
+ relFilePath
string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1831,15 +1895,15 @@ Since the folder can be moving with the configuration file.
- public void PlayNcFile(string rootDirectory, string relNcFilePath)
+ public void PlayNcFile(string baseDirectory, string relFilePath)
Parameters
- rootDirectory
string
- Root directory for resolving relative paths
+ baseDirectory
string
+ Base directory for resolving relative paths
- relNcFilePath
string
+ relFilePath
string
Relative path to the NC file
@@ -1857,8 +1921,8 @@ Since the folder can be moving with the configuration file.
-
- ProcAct(IAct, ISourceCommand, CancellationToken?)
+
+ ProcAct(IAct, IIndexedFileLine, CancellationToken?)
@@ -1867,7 +1931,7 @@ Since the folder can be moving with the configuration file.
- public IEnumerable<object> ProcAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+ public IEnumerable<object> ProcAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -1875,7 +1939,7 @@ Since the folder can be moving with the configuration file.
act
IAct
The act to process.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command that triggered the act.
cancellationToken
CancellationToken?
@@ -1992,6 +2056,44 @@ Since the folder can be moving with the configuration file.
+
+
+
+ RunCsvFile(string, string)
+
+
+
+
+
+
+
+ public IEnumerable<Action> RunCsvFile(string baseDirectory, string relFilePath)
+
+
+ Parameters
+
+ baseDirectory
string
+
+ relFilePath
string
+
+
+
+ Returns
+
+ - IEnumerable<Action>
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2046,107 +2148,16 @@ Since the folder can be moving with the configuration file.
- public IEnumerable<Action> RunNcFile(string rootDirectory, string relNcFilePath)
+ public IEnumerable<Action> RunNcFile(string baseDirectory, string relFilePath)
Parameters
- rootDirectory
string
- Root directory for resolving relative paths
-
- relNcFilePath
string
- Relative path to the NC file
-
-
-
- Returns
-
- - IEnumerable<Action>
- An enumerable of actions to be executed
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- RunNcFile(string, string, CancellationToken)
-
-
-
- Runs an NC file from the specified path with cancellation support.
-
-
-
-
- public IEnumerable<Action> RunNcFile(string rootDirectory, string relNcFilePath, CancellationToken cancellationToken)
-
-
- Parameters
-
- rootDirectory
string
- Root directory for resolving relative paths. If the value is null, BaseDirectory substitudes the value.
-
- relNcFilePath
string
- Relative path to the NC file
-
- cancellationToken
CancellationToken
- Token to monitor for cancellation requests
-
-
-
- Returns
-
- - IEnumerable<Action>
- An enumerable of actions to be executed
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
-
-
-
- Runs NC commands from raw text lines.
-
-
-
-
- public IEnumerable<Action> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
-
-
- Parameters
-
- relNcFilePath
string
- Name to associate with the NC program
-
- lines
IEnumerable<string>
- The NC command lines to execute
-
- cancellationToken
CancellationToken
- Token to monitor for cancellation requests
+ baseDirectory
string
+ Base directory for resolving relative paths. If the value is null, BaseDirectory substitudes the value.
+ relFilePath
string
+
Returns
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
index 2b97cbb..8922dc8 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
@@ -192,7 +192,7 @@ and managing session state.
- public ISourceCommand CurrentSourceCommand { get; set; }
+ public IIndexedFileLine CurrentSourceCommand { get; set; }
@@ -201,7 +201,7 @@ and managing session state.
Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
index ddf6ead..445bef9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
@@ -317,38 +317,6 @@ Note: This feature is pending testing.
-
-
-
- EnableExternalEvaluation
-
-
-
- Gets or sets whether external evaluation is enabled.
-
-
-
-
- public bool EnableExternalEvaluation { get; set; }
-
-
-
-
-
-
- Property Value
-
- - bool
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
index 7ee0ca3..ed00538 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
@@ -2344,8 +2344,8 @@ public void Pause()
-
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
+ PlayAct(IAct, IIndexedFileLine, CancellationToken?)
@@ -2355,7 +2355,7 @@ public void Pause()
[JsAce]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -2363,7 +2363,7 @@ public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationT
act
IAct
The act to play.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
cancellationToken
CancellationToken?
@@ -2431,6 +2431,40 @@ public void PlayClTeleport(double x, double y, double z, double i, double j, dou
+
+
+
+ PlayCsvFile(string)
+
+
+
+ Plays an Csv file with the specified relative path.
+
+
+
+
+ [JsAce("PlayCsvFile($1\"csvFile\");")]
+public void PlayCsvFile(string relFilePath)
+
+
+ Parameters
+
+ relFilePath
string
+ Relative path to the CSV file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
index db3a162..5a4db0b 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
@@ -2951,26 +2951,26 @@ public void Pause()
-
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
+ PlayAct(IAct, IIndexedFileLine, CancellationToken?)
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
[JsAce]
[NonAction]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
act
IAct
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
cancellationToken
CancellationToken?
@@ -3031,6 +3031,41 @@ public void PlayClTeleport(double x, double y, double z, double i, double j, dou
+
+
+
+ PlayCsvFile(string)
+
+
+
+ Plays an CSV file with the specified relative path.
+
+
+
+
+ [JsAce("PlayCsvFile($1\"csvFile\");")]
+[HttpPost]
+public void PlayCsvFile(string relFilePath)
+
+
+ Parameters
+
+ relFilePath
string
+ Relative path to the CSV file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
index 0cb5836..056d581 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
@@ -289,12 +289,12 @@ gets null if the Gets or sets the direct source command from the data.
-gets null if the Data is not ISourceCommand.
+gets null if the Data is not IIndexedFileLine.
- public ISourceCommand DirectInstantSourceCommand { get; set; }
+ public IIndexedFileLine DirectInstantSourceCommand { get; set; }
@@ -303,7 +303,7 @@ gets null if the Property Value
- - ISourceCommand
+ - IIndexedFileLine
@@ -395,7 +395,7 @@ from
- public ISourceCommand InstantSourceCommand { get; }
+ public IIndexedFileLine InstantSourceCommand { get; }
@@ -404,7 +404,7 @@ from Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
index 39823de..6d4611d 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
@@ -374,7 +374,7 @@ The term stable means it is thread safe to access range from 0 to StableIndex(ex
- public ISourceCommand GetSourceCommand(SessionMessage machiningMessage)
+ public IIndexedFileLine GetSourceCommand(SessionMessage machiningMessage)
Parameters
@@ -386,7 +386,7 @@ The term stable means it is thread safe to access range from 0 to StableIndex(ex
Returns
- - ISourceCommand
+ - IIndexedFileLine
The source command that generated the message, or null if not found.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
index a787af7..a9e3816 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
@@ -358,7 +358,7 @@ Class SessionMessagePack
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -367,7 +367,7 @@ Class SessionMessagePack
Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
similarity index 82%
rename from App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
index 00932f2..ca51dc1 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
@@ -2,11 +2,11 @@
- Interface IGetSourceCommand | HiAPI-C# 2025
+ Interface IFlagText | HiAPI-C# 2025
-
+
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetSourceCommand
+
+Interface IFlagText
@@ -97,12 +97,12 @@ Interface IGetSourceCommand
- Assembly
- HiMech.dll
- Defines an interface for retrieving source command information.
+ temperary design for showing flag text.
- public interface IGetSourceCommand
+ public interface IFlagText
@@ -142,31 +142,34 @@ Interface IGetSourceCommand
- Methods
+ Properties
-
+
-
- GetSourceCommand()
+
+ FlagsText
- Gets the source command associated with this instance.
+ Gets the text representation of command flags.
- ISourceCommand GetSourceCommand()
+ [Present("NC Flag", "NC Flag", PhysicsUnit.None, "G")]
+string FlagsText { get; }
- Returns
+
+
+
+ Property Value
- - ISourceCommand
- The source command object.
-
+ - string
+
@@ -177,9 +180,6 @@ Interface IGetSourceCommand
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
index 7395b7c..a9e5448 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
@@ -102,7 +102,7 @@ Class MachiningStep
- public class MachiningStep : IGetSourceCommand, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
+ public class MachiningStep : IGetIndexedFileLine, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
@@ -119,7 +119,7 @@ Class MachiningStep
- Implements
-
-
+
@@ -199,8 +199,8 @@ Class MachiningStep
-
- MachiningStep(IMachiningStepHost, int, ISourceCommand, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
+
+ MachiningStep(IMachiningStepHost, int, IIndexedFileLine, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
@@ -209,7 +209,7 @@ Class MachiningStep
- public MachiningStep(IMachiningStepHost host, int stepIndex, ISourceCommand sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
+ public MachiningStep(IMachiningStepHost host, int stepIndex, IIndexedFileLine sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
Parameters
@@ -220,7 +220,7 @@ Class MachiningStep
stepIndex
int
The index of the step.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
machiningStep
MachineMotionStep
@@ -2795,7 +2795,7 @@ public List<double> SideCuspList_um { get; }
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -2804,7 +2804,7 @@ public List<double> SideCuspList_um { get; }
Property Value
@@ -3034,7 +3034,7 @@ public double? SpindleWorkingTemperatureRatio { get; }
- [Present("Step Duration", null, PhysicsUnit.sec, "ss\\.ffffff")]
+ [Present("Step Duration", "duration", PhysicsUnit.sec, "ss\\.ffffff")]
[JsAce(ClassExt = "MachiningStep")]
public TimeSpan StepDuration { get; }
@@ -3511,6 +3511,39 @@ public double GetCutterDermisTemperature_C(double depth_mm)
+
+
+
+ GetIndexedFileLine()
+
+
+
+ Gets the file line associated with this object.
+
+
+
+
+ public IndexedFileLine GetIndexedFileLine()
+
+
+
+ Returns
+
+ - IndexedFileLine
+ The file line object.
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3666,39 +3699,6 @@ public double? GetMcValue(int index)
-
-
-
- GetSourceCommand()
-
-
-
- Gets the source command associated with this instance.
-
-
-
-
- public ISourceCommand GetSourceCommand()
-
-
-
- Returns
-
- - ISourceCommand
- The source command object.
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3711,7 +3711,9 @@ public double? GetMcValue(int index)
- public SpindleDirection GetSpindleDirection()
+ [Present("Spindle Direction", "Spd.Dir.", PhysicsUnit.None, "G")]
+[JsAce(ClassExt = "MachiningStep")]
+public SpindleDirection GetSpindleDirection()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
index f3a5dcc..5761a41 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
@@ -134,8 +134,8 @@ Note that the spindle information is only for milling behavior.
Interfaces
- - IGetSourceCommand
- Defines an interface for retrieving source command information.
+ - IFlagText
+ temperary design for showing flag text.
@@ -143,11 +143,6 @@ Interfaces
Represents a host interface for milling steps that provides access to milling equipment and related resources.
-
- - ISourceCommand
- Represents a source command interface that provides access to file line information and command flags.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
similarity index 91%
rename from App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
index 1544f8b..156049e 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
@@ -2,9 +2,9 @@
- Interface IGetNcStep | HiAPI-C# 2025
+ Interface IGetNcStep0 | HiAPI-C# 2025
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetNcStep
+
+Interface IGetNcStep0
@@ -97,12 +97,12 @@ Interface IGetNcStep
- Assembly
- HiMech.dll
- Interface of GetNcStep()
+ Interface of GetNcStep()
- public interface IGetNcStep
+ public interface IGetNcStep0
@@ -146,9 +146,9 @@ Interface IGetNcStep
-
+
-
+
GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
index 2462794..3e1dda5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
@@ -104,7 +104,7 @@ Contains basic information of NC step.
- public interface INcStep0 : IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
+ public interface INcStep0 : IGetNcStep0, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
@@ -117,7 +117,7 @@ Contains basic information of NC step.
- Inherited Members
-
IGetFeedrate.GetFeedrate_mmds()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
index 03634d5..490edec 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
@@ -103,8 +103,8 @@ Classes
Interfaces
- - IGetNcStep
- Interface of GetNcStep()
+ - IGetNcStep0
+ Interface of GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
new file mode 100644
index 0000000..739bfe1
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActData | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActData
+
+
+
+
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
+
+
+
+
+ public class ActData : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActData
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActData()
+
+
+
+
+
+
+
+ public ActData()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActData(Dictionary<string, object>)
+
+
+
+
+
+
+
+ public ActData(Dictionary<string, object> data)
+
+
+ Parameters
+
+ data
Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Data
+
+
+
+
+
+
+
+ public Dictionary<string, object> Data { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
index b0d77a3..e475246 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
@@ -213,8 +213,8 @@ Class ActLineBegin
-
- ActLineBegin(ISourceCommand)
+
+ ActLineBegin(IIndexedFileLine)
@@ -223,12 +223,12 @@ Class ActLineBegin
- public ActLineBegin(ISourceCommand sourceCommand)
+ public ActLineBegin(IIndexedFileLine sourceCommand)
Parameters
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command associated with this line beginning.
@@ -260,7 +260,7 @@ Class ActLineBegin
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -269,7 +269,7 @@ Class ActLineBegin
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
index cb16ac3..3509ff5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
@@ -292,7 +292,7 @@ Class ActLineEnd
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -301,7 +301,7 @@ Class ActLineEnd
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
new file mode 100644
index 0000000..34907de
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActSpindleDirection | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActSpindleDirection
+
+
+
+
+
+
+
+
+ public class ActSpindleDirection : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActSpindleDirection
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActSpindleDirection()
+
+
+
+ Initializes a new instance.
+
+
+
+
+ public ActSpindleDirection()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActSpindleDirection(SpindleDirection)
+
+
+
+
+
+
+
+ public ActSpindleDirection(SpindleDirection spindleDirection)
+
+
+ Parameters
+
+ spindleDirection
SpindleDirection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ SpindleDirection
+
+
+
+ Gets or sets the spindle rotation direction.
+
+
+
+
+ public SpindleDirection SpindleDirection { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SpindleDirection
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
index 8af839d..1e3235a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
@@ -212,38 +212,6 @@ Class ActSpindleSpeed
-
-
-
- SpindleDirection
-
-
-
- Gets or sets the spindle rotation direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
index 2b36500..44b712a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
@@ -117,6 +117,12 @@ Classes
- ActCooling
Represents a cooling action for machining operations.
+
+
+
+ - ActData
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
@@ -196,6 +202,10 @@ This class handles complex tool movements with both position and orientation con
Rapid feedrate.
+
+ - ActSpindleDirection
+
+
- ActSpindleSpeed
Represents an act that controls the spindle speed in numerical control operations.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
new file mode 100644
index 0000000..a5dba2a
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
@@ -0,0 +1,471 @@
+
+
+
+
+ Class CsvRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunner : IControlRunner
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunner
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ CsvRunner(PacePlayer, SessionMessageHost)
+
+
+
+
+
+
+
+ public CsvRunner(PacePlayer pacePlayer, SessionMessageHost sessionMessageHost)
+
+
+ Parameters
+
+ pacePlayer
PacePlayer
+
+ sessionMessageHost
SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Config
+
+
+
+
+
+
+
+ public CsvRunnerConfig Config { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - CsvRunnerConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SessionMessageHost
+
+
+
+ External Hosted.
+
+
+
+
+ public SessionMessageHost SessionMessageHost { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ Reset()
+
+
+
+ Reset runtime data.
+
+
+
+
+ public void Reset()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunToLineEnd()
+
+
+
+ Set EnumerablePlayer before use the function.
+
+
+
+
+ public void RunToLineEnd()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
new file mode 100644
index 0000000..6ab2a13
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
@@ -0,0 +1,522 @@
+
+
+
+
+ Class CsvRunnerConfig | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunnerConfig
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunnerConfig
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunnerConfig
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ CutterLocationPrefixTag
+
+
+
+ Cutter Location Prefix Tag for CSV Parsing.
+
+
+
+
+ public string CutterLocationPrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DurationTag
+
+
+
+
+
+
+
+ public string DurationTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FeedrateTag_mmdmin
+
+
+
+ Feedrate for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string FeedrateTag_mmdmin { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineBeginCsScriptTag
+
+
+
+ LineBeginCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineBeginCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineEndCsScriptTag
+
+
+
+ LineEndCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineEndCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MachineCoordinatePrefixTag
+
+
+
+ Machine Coordinate Prefix Tag for CSV Parsing.
+
+
+
+
+ public string MachineCoordinatePrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ParsingDictionary
+
+
+
+
+
+
+
+ public Dictionary<string, Func<string, object>> ParsingDictionary { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, Func<string, object>>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleDirectionTag
+
+
+
+ Spindle direction Tag for CSV Parsing.
+
+
+
+
+ public string SpindleDirectionTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleSpeedTag_rpm
+
+
+
+ Spindle speed for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string SpindleSpeedTag_rpm { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ToolIdTag
+
+
+
+ Tool ID Tag for CSV Parsing.
+
+
+
+
+ public string ToolIdTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
new file mode 100644
index 0000000..12cff17
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
@@ -0,0 +1,247 @@
+
+
+
+
+ Interface IControlRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Interface IControlRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
+
+
+
+
+ public interface IControlRunner
+
+
+
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
index 3ceffd3..f421ea3 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
@@ -102,7 +102,7 @@ Class NcRunner
- public class NcRunner
+ public class NcRunner : IControlRunner
@@ -116,6 +116,12 @@ Class NcRunner
+
+ - Implements
+ -
+
+
+
@@ -180,8 +186,8 @@ Class NcRunner
-
- NcRunner(NcEnv, SessionMessageHost)
+
+ NcRunner(PacePlayer, NcEnv, SessionMessageHost)
@@ -190,11 +196,13 @@ Class NcRunner
- public NcRunner(NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)
Parameters
+ pacePlayer
PacePlayer
+
ncEnv
NcEnv
The NC environment settings
@@ -314,6 +322,37 @@ Class NcRunner
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
@@ -350,10 +389,37 @@ Class NcRunner
-
+
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunner
- public IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunner
Returns
- - IEnumerable<(NcLine NcLine, IAct Act)>
+ - IEnumerable<SourceCommandActEntry>
Enumerable of NcLine and Act pairs
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
new file mode 100644
index 0000000..c88a807
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
@@ -0,0 +1,309 @@
+
+
+
+
+ Class SourceCommandActEntry | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class SourceCommandActEntry
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ SourceCommandActEntry
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ SourceCommandActEntry(IIndexedFileLine, IAct)
+
+
+
+
+
+
+
+ public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+
+
+ Parameters
+
+ SourceCommand
IIndexedFileLine
+
+ Act
IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Act
+
+
+
+
+
+
+
+ public IAct Act { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SourceCommand
+
+
+
+
+
+
+
+ public IIndexedFileLine SourceCommand { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IIndexedFileLine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
index a1f84b3..2a85897 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
@@ -94,9 +94,31 @@
Classes
+
+ - CsvRunner
+
+
+
+ - CsvRunnerConfig
+
+
- NcRunner
Provides functionality for running and processing NC code lines.
+
+
+
+ - SourceCommandActEntry
+
+
+
+Interfaces
+
+
+ - IControlRunner
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
index a5c0a20..ada38ff 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
@@ -102,7 +102,7 @@ Class NcLine
- public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
@@ -119,12 +119,12 @@ Class NcLine
- Implements
-
-
+
-
+
@@ -2221,20 +2221,18 @@ So be care that do not change the NC XYZ if not needed.
- Gets the source command associated with this instance.
-
+
- public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Returns
- - ISourceCommand
- The source command object.
-
+ - IIndexedFileLine
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
deleted file mode 100644
index d8761c3..0000000
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
+++ /dev/null
@@ -1,1333 +0,0 @@
-
-
-
-
- Class UniversalNcStep | HiAPI-C# 2025
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Class UniversalNcStep
-
-
-
- - Namespace
- Hi.UniversalNc
- - Assembly
- HiNc.dll
-
-
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
-
-
- public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
-
-
-
-
-
-
- - Inheritance
- -
-
- UniversalNcStep
-
-
-
-
- - Implements
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Inherited Members
- -
-
-
-
-
- object.GetType()
-
-
-
-
-
-
- - Extension Methods
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
-
-
-
-
- UniversalNcStep()
-
-
-
- Ctor.
-
-
-
-
- public UniversalNcStep()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- ColorGuide
-
-
-
- Gets or sets the color guide associated with this object.
-
-
-
-
- public IColorGuide ColorGuide { get; set; }
-
-
-
-
-
-
- Property Value
-
- - IColorGuide
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmdmin
-
-
-
- Feed rate in millimeters per minute.
-
-
-
-
- public double Feedrate_mmdmin { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmds
-
-
-
- Get feedrate in mm/s.
-
-
-
-
- public double Feedrate_mmds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileIndex
-
-
-
- File Index.
-Start on 0.
-
-
-
-
- public int FileIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileNo
-
-
-
- FileIndex+1.
-
-
-
-
- public int FileNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FilePath
-
-
-
- File path.
-
-
-
-
- public string FilePath { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- FlexDictionary
-
-
-
- Dictionary for storing flexible step properties as double values.
-
-
-
-
- public Dictionary<string, double> FlexDictionary { get; set; }
-
-
-
-
-
-
- Property Value
-
- - Dictionary<string, double>
-
-
-
-
-
-
-
-
-
-
-
-
-
- Line
-
-
-
- The line.
-
-
-
-
- public string Line { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineIndex
-
-
-
- Line Index.
-Start on 0.
-
-
-
-
- public int LineIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineNo
-
-
-
- LineIndex+1.
-
-
-
-
- public int LineNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingForce
-
-
-
- Milling force.
-
-
-
-
- public MillingForce MillingForce { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingForce
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingGeomBrief
-
-
-
- Gets or sets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief MillingGeomBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingGeomBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SeqPhysicsBrief
-
-
-
- Gets or sets the sequential physics brief.
-
-
-
-
- public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SeqPhysicsBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleDirection
-
-
-
- Spindle direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_radds
-
-
-
- Get spindle speed in rad/s.
-
-
-
-
- public double SpindleSpeed_radds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_rpm
-
-
-
- Spindle speed in revolutions per minute.
-
-
-
-
- public double SpindleSpeed_rpm { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepDuration_s
-
-
-
- Step duration. Unit is second.
-
-
-
-
- public double StepDuration_s { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepIndex
-
-
-
- Step index.
-
-
-
-
- public int StepIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToolId
-
-
-
- Get tool ID.
-
-
-
-
- public int ToolId { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
- tool ID
-
-
-
-
-
-
-
-
-
-
-
-
-
- WorkTime
-
-
-
- Worked time.
-
-
-
-
- public TimeSpan WorkTime { get; set; }
-
-
-
-
-
-
- Property Value
-
- - TimeSpan
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
- GetAxisPos(string)
-
-
-
- Get absolute position of the key
axis.
-
-
-
-
- public double GetAxisPos(string key)
-
-
- Parameters
-
- key
string
- axis name
-
-
-
- Returns
-
- - double
- absolute position of the key
axis
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetCsvDictionary()
-
-
-
- Get row dictionary.
-It suits for CSV output.
-
-
-
-
- public Dictionary<string, string> GetCsvDictionary()
-
-
-
- Returns
-
- - Dictionary<string, string>
- csv row dictionary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFeedrate_mmds()
-
-
-
- Gets the program feedrate in millimeters per second.
-
-
-
-
- public double GetFeedrate_mmds()
-
-
-
- Returns
-
- - double
- Feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFileLineIndex()
-
-
-
- Get FileLineIndex.
-
-
-
-
- public FileLineIndex GetFileLineIndex()
-
-
-
- Returns
-
- - FileLineIndex
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingForce()
-
-
-
- Get MillingForce.
-
-
-
-
- public MillingForce GetMillingForce()
-
-
-
- Returns
-
- - MillingForce
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingGeomBrief()
-
-
-
- Gets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief GetMillingGeomBrief()
-
-
-
- Returns
-
- - MillingGeomBrief
- The milling geometry brief information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetNcStep()
-
-
-
- Get controller state.
-
-
-
-
- public INcStep0 GetNcStep()
-
-
-
- Returns
-
- - INcStep0
- controller state
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetQuantityByKey(string)
-
-
-
- Gets a quantity value associated with the specified key.
-
-
-
-
- public double GetQuantityByKey(string key)
-
-
- Parameters
-
- key
string
- The key to look up
-
-
-
- Returns
-
- - double
- The quantity value associated with the key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleDirection()
-
-
-
- Gets the spindle rotation direction.
-
-
-
-
- public SpindleDirection GetSpindleDirection()
-
-
-
- Returns
-
- - SpindleDirection
- The spindle direction (clockwise, counterclockwise, or stopped)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleSpeed_radds()
-
-
-
- Gets the spindle speed in radians per second.
-
-
-
-
- public double GetSpindleSpeed_radds()
-
-
-
- Returns
-
- - double
- Spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetByRowDictionary(Dictionary<string, string>)
-
-
-
- Sets the properties of this object using values from a dictionary.
-
-
-
-
- public void SetByRowDictionary(Dictionary<string, string> src)
-
-
- Parameters
-
- src
Dictionary<string, string>
- Source dictionary containing property values as strings.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToString()
-
-
-
- Returns a string representation of this NC step.
-
-
-
-
- public override string ToString()
-
-
-
- Returns
-
- - string
- String representation of this step.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
index c28f350..dcfffe9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
@@ -99,11 +99,6 @@ Classes
A strongly-typed resource class, for looking up localized strings, etc.
-
- - UniversalNcStep
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/toc.html b/App/wwwroot/HiAPI-docsite/api/toc.html
index 7a580b3..463fae7 100644
--- a/App/wwwroot/HiAPI-docsite/api/toc.html
+++ b/App/wwwroot/HiAPI-docsite/api/toc.html
@@ -471,6 +471,9 @@
-
IGetIndexedFileLine
+ -
+ IIndexedFileLine
+
-
ILineChangedEventSupport
@@ -1337,14 +1340,11 @@
Interface for objects that can provide a file line.
Interface for objects that support line change events.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningActRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningActRunner.html index 4283630..eca84f5 100644 --- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningActRunner.html +++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningActRunner.html @@ -889,8 +889,8 @@ This is for internal use only. -
- ProcAct(IAct, MachiningSession, IMachiningStepHost, ISourceCommand, CancellationToken)
+
+ ProcAct(IAct, MachiningSession, IMachiningStepHost, IIndexedFileLine, CancellationToken)
@@ -899,7 +899,7 @@ This is for internal use only.
- public IEnumerable<object> ProcAct(IAct act, MachiningSession millingSession, IMachiningStepHost host, ISourceCommand sourceCommand, CancellationToken cancellationToken)
+ public IEnumerable<object> ProcAct(IAct act, MachiningSession millingSession, IMachiningStepHost host, IIndexedFileLine sourceCommand, CancellationToken cancellationToken)
Parameters
@@ -913,7 +913,7 @@ This is for internal use only.
host
IMachiningStepHost
The milling step host.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
cancellationToken
CancellationToken
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningParallelProc.StepTaskBundle.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningParallelProc.StepTaskBundle.html
index bfab579..c86a2dc 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningParallelProc.StepTaskBundle.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningParallelProc.StepTaskBundle.html
@@ -218,10 +218,10 @@ Class MachiningParallelProc.StepTaskBundle
-
+
-
- MachiningStep
+
+ MachiningMotionStep
@@ -230,7 +230,7 @@ Class MachiningParallelProc.StepTaskBundle
- public MachineMotionStep MachiningStep { get; }
+ public MachineMotionStep MachiningMotionStep { get; }
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningProject.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningProject.html
index 89f544e..2aedd74 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningProject.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningProject.html
@@ -497,6 +497,37 @@ Uses the default MongoDB connection.
+
+
+
+ CsvRunner
+
+
+
+
+
+
+
+ public CsvRunner CsvRunner { get; }
+
+
+
+
+
+
+ Property Value
+
+ - CsvRunner
+
+
+
+
+
+
+
+
+
+
@@ -1438,8 +1469,8 @@ Ensures proper initialization of workpiece properties.
-
- Act(IAct, ISourceCommand, CancellationToken?)
+
+ Act(IAct, IIndexedFileLine, CancellationToken?)
@@ -1448,7 +1479,7 @@ Ensures proper initialization of workpiece properties.
- public void Act(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+ public void Act(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -1456,7 +1487,7 @@ Ensures proper initialization of workpiece properties.
act
IAct
The act to execute.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command that triggered the act.
cancellationToken
CancellationToken?
@@ -1783,6 +1814,39 @@ Since the folder can be moving with the configuration file.
+
+
+
+ PlayCsvFile(string, string)
+
+
+
+
+
+
+
+ public void PlayCsvFile(string baseDirectory, string relFilePath)
+
+
+ Parameters
+
+ baseDirectory
string
+
+ relFilePath
string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1831,15 +1895,15 @@ Since the folder can be moving with the configuration file.
- public void PlayNcFile(string rootDirectory, string relNcFilePath)
+ public void PlayNcFile(string baseDirectory, string relFilePath)
Parameters
- rootDirectory
string
- Root directory for resolving relative paths
+ baseDirectory
string
+ Base directory for resolving relative paths
- relNcFilePath
string
+ relFilePath
string
Relative path to the NC file
@@ -1857,8 +1921,8 @@ Since the folder can be moving with the configuration file.
-
- ProcAct(IAct, ISourceCommand, CancellationToken?)
+
+ ProcAct(IAct, IIndexedFileLine, CancellationToken?)
@@ -1867,7 +1931,7 @@ Since the folder can be moving with the configuration file.
- public IEnumerable<object> ProcAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+ public IEnumerable<object> ProcAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -1875,7 +1939,7 @@ Since the folder can be moving with the configuration file.
act
IAct
The act to process.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command that triggered the act.
cancellationToken
CancellationToken?
@@ -1992,6 +2056,44 @@ Since the folder can be moving with the configuration file.
+
+
+
+ RunCsvFile(string, string)
+
+
+
+
+
+
+
+ public IEnumerable<Action> RunCsvFile(string baseDirectory, string relFilePath)
+
+
+ Parameters
+
+ baseDirectory
string
+
+ relFilePath
string
+
+
+
+ Returns
+
+ - IEnumerable<Action>
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2046,107 +2148,16 @@ Since the folder can be moving with the configuration file.
- public IEnumerable<Action> RunNcFile(string rootDirectory, string relNcFilePath)
+ public IEnumerable<Action> RunNcFile(string baseDirectory, string relFilePath)
Parameters
- rootDirectory
string
- Root directory for resolving relative paths
-
- relNcFilePath
string
- Relative path to the NC file
-
-
-
- Returns
-
- - IEnumerable<Action>
- An enumerable of actions to be executed
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- RunNcFile(string, string, CancellationToken)
-
-
-
- Runs an NC file from the specified path with cancellation support.
-
-
-
-
- public IEnumerable<Action> RunNcFile(string rootDirectory, string relNcFilePath, CancellationToken cancellationToken)
-
-
- Parameters
-
- rootDirectory
string
- Root directory for resolving relative paths. If the value is null, BaseDirectory substitudes the value.
-
- relNcFilePath
string
- Relative path to the NC file
-
- cancellationToken
CancellationToken
- Token to monitor for cancellation requests
-
-
-
- Returns
-
- - IEnumerable<Action>
- An enumerable of actions to be executed
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
-
-
-
- Runs NC commands from raw text lines.
-
-
-
-
- public IEnumerable<Action> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
-
-
- Parameters
-
- relNcFilePath
string
- Name to associate with the NC program
-
- lines
IEnumerable<string>
- The NC command lines to execute
-
- cancellationToken
CancellationToken
- Token to monitor for cancellation requests
+ baseDirectory
string
+ Base directory for resolving relative paths. If the value is null, BaseDirectory substitudes the value.
+ relFilePath
string
+
Returns
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
index 2b97cbb..8922dc8 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
@@ -192,7 +192,7 @@ and managing session state.
- public ISourceCommand CurrentSourceCommand { get; set; }
+ public IIndexedFileLine CurrentSourceCommand { get; set; }
@@ -201,7 +201,7 @@ and managing session state.
Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
index ddf6ead..445bef9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
@@ -317,38 +317,6 @@ Note: This feature is pending testing.
-
-
-
- EnableExternalEvaluation
-
-
-
- Gets or sets whether external evaluation is enabled.
-
-
-
-
- public bool EnableExternalEvaluation { get; set; }
-
-
-
-
-
-
- Property Value
-
- - bool
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
index 7ee0ca3..ed00538 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
@@ -2344,8 +2344,8 @@ public void Pause()
-
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
+ PlayAct(IAct, IIndexedFileLine, CancellationToken?)
@@ -2355,7 +2355,7 @@ public void Pause()
[JsAce]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -2363,7 +2363,7 @@ public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationT
act
IAct
The act to play.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
cancellationToken
CancellationToken?
@@ -2431,6 +2431,40 @@ public void PlayClTeleport(double x, double y, double z, double i, double j, dou
+
+
+
+ PlayCsvFile(string)
+
+
+
+ Plays an Csv file with the specified relative path.
+
+
+
+
+ [JsAce("PlayCsvFile($1\"csvFile\");")]
+public void PlayCsvFile(string relFilePath)
+
+
+ Parameters
+
+ relFilePath
string
+ Relative path to the CSV file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
index db3a162..5a4db0b 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
@@ -2951,26 +2951,26 @@ public void Pause()
-
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
+ PlayAct(IAct, IIndexedFileLine, CancellationToken?)
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
[JsAce]
[NonAction]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
act
IAct
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
cancellationToken
CancellationToken?
@@ -3031,6 +3031,41 @@ public void PlayClTeleport(double x, double y, double z, double i, double j, dou
+
+
+
+ PlayCsvFile(string)
+
+
+
+ Plays an CSV file with the specified relative path.
+
+
+
+
+ [JsAce("PlayCsvFile($1\"csvFile\");")]
+[HttpPost]
+public void PlayCsvFile(string relFilePath)
+
+
+ Parameters
+
+ relFilePath
string
+ Relative path to the CSV file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
index 0cb5836..056d581 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
@@ -289,12 +289,12 @@ gets null if the Gets or sets the direct source command from the data.
-gets null if the Data is not ISourceCommand.
+gets null if the Data is not IIndexedFileLine.
- public ISourceCommand DirectInstantSourceCommand { get; set; }
+ public IIndexedFileLine DirectInstantSourceCommand { get; set; }
@@ -303,7 +303,7 @@ gets null if the Property Value
- - ISourceCommand
+ - IIndexedFileLine
@@ -395,7 +395,7 @@ from
- public ISourceCommand InstantSourceCommand { get; }
+ public IIndexedFileLine InstantSourceCommand { get; }
@@ -404,7 +404,7 @@ from Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
index 39823de..6d4611d 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
@@ -374,7 +374,7 @@ The term stable means it is thread safe to access range from 0 to StableIndex(ex
- public ISourceCommand GetSourceCommand(SessionMessage machiningMessage)
+ public IIndexedFileLine GetSourceCommand(SessionMessage machiningMessage)
Parameters
@@ -386,7 +386,7 @@ The term stable means it is thread safe to access range from 0 to StableIndex(ex
Returns
- - ISourceCommand
+ - IIndexedFileLine
The source command that generated the message, or null if not found.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
index a787af7..a9e3816 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
@@ -358,7 +358,7 @@ Class SessionMessagePack
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -367,7 +367,7 @@ Class SessionMessagePack
Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
similarity index 82%
rename from App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
index 00932f2..ca51dc1 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
@@ -2,11 +2,11 @@
- Interface IGetSourceCommand | HiAPI-C# 2025
+ Interface IFlagText | HiAPI-C# 2025
-
+
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetSourceCommand
+
+Interface IFlagText
@@ -97,12 +97,12 @@ Interface IGetSourceCommand
- Assembly
- HiMech.dll
- Defines an interface for retrieving source command information.
+ temperary design for showing flag text.
- public interface IGetSourceCommand
+ public interface IFlagText
@@ -142,31 +142,34 @@ Interface IGetSourceCommand
- Methods
+ Properties
-
+
-
- GetSourceCommand()
+
+ FlagsText
- Gets the source command associated with this instance.
+ Gets the text representation of command flags.
- ISourceCommand GetSourceCommand()
+ [Present("NC Flag", "NC Flag", PhysicsUnit.None, "G")]
+string FlagsText { get; }
- Returns
+
+
+
+ Property Value
- - ISourceCommand
- The source command object.
-
+ - string
+
@@ -177,9 +180,6 @@ Interface IGetSourceCommand
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
index 7395b7c..a9e5448 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
@@ -102,7 +102,7 @@ Class MachiningStep
- public class MachiningStep : IGetSourceCommand, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
+ public class MachiningStep : IGetIndexedFileLine, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
@@ -119,7 +119,7 @@ Class MachiningStep
- Implements
-
-
+
@@ -199,8 +199,8 @@ Class MachiningStep
-
- MachiningStep(IMachiningStepHost, int, ISourceCommand, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
+
+ MachiningStep(IMachiningStepHost, int, IIndexedFileLine, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
@@ -209,7 +209,7 @@ Class MachiningStep
- public MachiningStep(IMachiningStepHost host, int stepIndex, ISourceCommand sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
+ public MachiningStep(IMachiningStepHost host, int stepIndex, IIndexedFileLine sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
Parameters
@@ -220,7 +220,7 @@ Class MachiningStep
stepIndex
int
The index of the step.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
machiningStep
MachineMotionStep
@@ -2795,7 +2795,7 @@ public List<double> SideCuspList_um { get; }
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -2804,7 +2804,7 @@ public List<double> SideCuspList_um { get; }
Property Value
@@ -3034,7 +3034,7 @@ public double? SpindleWorkingTemperatureRatio { get; }
- [Present("Step Duration", null, PhysicsUnit.sec, "ss\\.ffffff")]
+ [Present("Step Duration", "duration", PhysicsUnit.sec, "ss\\.ffffff")]
[JsAce(ClassExt = "MachiningStep")]
public TimeSpan StepDuration { get; }
@@ -3511,6 +3511,39 @@ public double GetCutterDermisTemperature_C(double depth_mm)
+
+
+
+ GetIndexedFileLine()
+
+
+
+ Gets the file line associated with this object.
+
+
+
+
+ public IndexedFileLine GetIndexedFileLine()
+
+
+
+ Returns
+
+ - IndexedFileLine
+ The file line object.
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3666,39 +3699,6 @@ public double? GetMcValue(int index)
-
-
-
- GetSourceCommand()
-
-
-
- Gets the source command associated with this instance.
-
-
-
-
- public ISourceCommand GetSourceCommand()
-
-
-
- Returns
-
- - ISourceCommand
- The source command object.
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3711,7 +3711,9 @@ public double? GetMcValue(int index)
- public SpindleDirection GetSpindleDirection()
+ [Present("Spindle Direction", "Spd.Dir.", PhysicsUnit.None, "G")]
+[JsAce(ClassExt = "MachiningStep")]
+public SpindleDirection GetSpindleDirection()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
index f3a5dcc..5761a41 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
@@ -134,8 +134,8 @@ Note that the spindle information is only for milling behavior.
Interfaces
- - IGetSourceCommand
- Defines an interface for retrieving source command information.
+ - IFlagText
+ temperary design for showing flag text.
@@ -143,11 +143,6 @@ Interfaces
Represents a host interface for milling steps that provides access to milling equipment and related resources.
-
- - ISourceCommand
- Represents a source command interface that provides access to file line information and command flags.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
similarity index 91%
rename from App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
index 1544f8b..156049e 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
@@ -2,9 +2,9 @@
- Interface IGetNcStep | HiAPI-C# 2025
+ Interface IGetNcStep0 | HiAPI-C# 2025
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetNcStep
+
+Interface IGetNcStep0
@@ -97,12 +97,12 @@ Interface IGetNcStep
- Assembly
- HiMech.dll
- Interface of GetNcStep()
+ Interface of GetNcStep()
- public interface IGetNcStep
+ public interface IGetNcStep0
@@ -146,9 +146,9 @@ Interface IGetNcStep
-
+
-
+
GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
index 2462794..3e1dda5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
@@ -104,7 +104,7 @@ Contains basic information of NC step.
- public interface INcStep0 : IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
+ public interface INcStep0 : IGetNcStep0, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
@@ -117,7 +117,7 @@ Contains basic information of NC step.
- Inherited Members
-
IGetFeedrate.GetFeedrate_mmds()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
index 03634d5..490edec 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
@@ -103,8 +103,8 @@ Classes
Interfaces
- - IGetNcStep
- Interface of GetNcStep()
+ - IGetNcStep0
+ Interface of GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
new file mode 100644
index 0000000..739bfe1
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActData | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActData
+
+
+
+
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
+
+
+
+
+ public class ActData : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActData
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActData()
+
+
+
+
+
+
+
+ public ActData()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActData(Dictionary<string, object>)
+
+
+
+
+
+
+
+ public ActData(Dictionary<string, object> data)
+
+
+ Parameters
+
+ data
Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Data
+
+
+
+
+
+
+
+ public Dictionary<string, object> Data { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
index b0d77a3..e475246 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
@@ -213,8 +213,8 @@ Class ActLineBegin
-
- ActLineBegin(ISourceCommand)
+
+ ActLineBegin(IIndexedFileLine)
@@ -223,12 +223,12 @@ Class ActLineBegin
- public ActLineBegin(ISourceCommand sourceCommand)
+ public ActLineBegin(IIndexedFileLine sourceCommand)
Parameters
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command associated with this line beginning.
@@ -260,7 +260,7 @@ Class ActLineBegin
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -269,7 +269,7 @@ Class ActLineBegin
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
index cb16ac3..3509ff5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
@@ -292,7 +292,7 @@ Class ActLineEnd
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -301,7 +301,7 @@ Class ActLineEnd
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
new file mode 100644
index 0000000..34907de
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActSpindleDirection | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActSpindleDirection
+
+
+
+
+
+
+
+
+ public class ActSpindleDirection : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActSpindleDirection
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActSpindleDirection()
+
+
+
+ Initializes a new instance.
+
+
+
+
+ public ActSpindleDirection()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActSpindleDirection(SpindleDirection)
+
+
+
+
+
+
+
+ public ActSpindleDirection(SpindleDirection spindleDirection)
+
+
+ Parameters
+
+ spindleDirection
SpindleDirection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ SpindleDirection
+
+
+
+ Gets or sets the spindle rotation direction.
+
+
+
+
+ public SpindleDirection SpindleDirection { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SpindleDirection
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
index 8af839d..1e3235a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
@@ -212,38 +212,6 @@ Class ActSpindleSpeed
-
-
-
- SpindleDirection
-
-
-
- Gets or sets the spindle rotation direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
index 2b36500..44b712a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
@@ -117,6 +117,12 @@ Classes
- ActCooling
Represents a cooling action for machining operations.
+
+
+
+ - ActData
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
@@ -196,6 +202,10 @@ This class handles complex tool movements with both position and orientation con
Rapid feedrate.
+
+ - ActSpindleDirection
+
+
- ActSpindleSpeed
Represents an act that controls the spindle speed in numerical control operations.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
new file mode 100644
index 0000000..a5dba2a
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
@@ -0,0 +1,471 @@
+
+
+
+
+ Class CsvRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunner : IControlRunner
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunner
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ CsvRunner(PacePlayer, SessionMessageHost)
+
+
+
+
+
+
+
+ public CsvRunner(PacePlayer pacePlayer, SessionMessageHost sessionMessageHost)
+
+
+ Parameters
+
+ pacePlayer
PacePlayer
+
+ sessionMessageHost
SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Config
+
+
+
+
+
+
+
+ public CsvRunnerConfig Config { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - CsvRunnerConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SessionMessageHost
+
+
+
+ External Hosted.
+
+
+
+
+ public SessionMessageHost SessionMessageHost { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ Reset()
+
+
+
+ Reset runtime data.
+
+
+
+
+ public void Reset()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunToLineEnd()
+
+
+
+ Set EnumerablePlayer before use the function.
+
+
+
+
+ public void RunToLineEnd()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
new file mode 100644
index 0000000..6ab2a13
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
@@ -0,0 +1,522 @@
+
+
+
+
+ Class CsvRunnerConfig | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunnerConfig
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunnerConfig
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunnerConfig
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ CutterLocationPrefixTag
+
+
+
+ Cutter Location Prefix Tag for CSV Parsing.
+
+
+
+
+ public string CutterLocationPrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DurationTag
+
+
+
+
+
+
+
+ public string DurationTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FeedrateTag_mmdmin
+
+
+
+ Feedrate for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string FeedrateTag_mmdmin { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineBeginCsScriptTag
+
+
+
+ LineBeginCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineBeginCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineEndCsScriptTag
+
+
+
+ LineEndCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineEndCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MachineCoordinatePrefixTag
+
+
+
+ Machine Coordinate Prefix Tag for CSV Parsing.
+
+
+
+
+ public string MachineCoordinatePrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ParsingDictionary
+
+
+
+
+
+
+
+ public Dictionary<string, Func<string, object>> ParsingDictionary { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, Func<string, object>>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleDirectionTag
+
+
+
+ Spindle direction Tag for CSV Parsing.
+
+
+
+
+ public string SpindleDirectionTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleSpeedTag_rpm
+
+
+
+ Spindle speed for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string SpindleSpeedTag_rpm { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ToolIdTag
+
+
+
+ Tool ID Tag for CSV Parsing.
+
+
+
+
+ public string ToolIdTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
new file mode 100644
index 0000000..12cff17
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
@@ -0,0 +1,247 @@
+
+
+
+
+ Interface IControlRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Interface IControlRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
+
+
+
+
+ public interface IControlRunner
+
+
+
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
index 3ceffd3..f421ea3 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
@@ -102,7 +102,7 @@ Class NcRunner
- public class NcRunner
+ public class NcRunner : IControlRunner
@@ -116,6 +116,12 @@ Class NcRunner
+
+ - Implements
+ -
+
+
+
@@ -180,8 +186,8 @@ Class NcRunner
-
- NcRunner(NcEnv, SessionMessageHost)
+
+ NcRunner(PacePlayer, NcEnv, SessionMessageHost)
@@ -190,11 +196,13 @@ Class NcRunner
- public NcRunner(NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)
Parameters
+ pacePlayer
PacePlayer
+
ncEnv
NcEnv
The NC environment settings
@@ -314,6 +322,37 @@ Class NcRunner
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
@@ -350,10 +389,37 @@ Class NcRunner
-
+
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunner
- public IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunner
Returns
- - IEnumerable<(NcLine NcLine, IAct Act)>
+ - IEnumerable<SourceCommandActEntry>
Enumerable of NcLine and Act pairs
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
new file mode 100644
index 0000000..c88a807
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
@@ -0,0 +1,309 @@
+
+
+
+
+ Class SourceCommandActEntry | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class SourceCommandActEntry
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ SourceCommandActEntry
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ SourceCommandActEntry(IIndexedFileLine, IAct)
+
+
+
+
+
+
+
+ public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+
+
+ Parameters
+
+ SourceCommand
IIndexedFileLine
+
+ Act
IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Act
+
+
+
+
+
+
+
+ public IAct Act { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SourceCommand
+
+
+
+
+
+
+
+ public IIndexedFileLine SourceCommand { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IIndexedFileLine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
index a1f84b3..2a85897 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
@@ -94,9 +94,31 @@
Classes
+
+ - CsvRunner
+
+
+
+ - CsvRunnerConfig
+
+
- NcRunner
Provides functionality for running and processing NC code lines.
+
+
+
+ - SourceCommandActEntry
+
+
+
+Interfaces
+
+
+ - IControlRunner
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
index a5c0a20..ada38ff 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
@@ -102,7 +102,7 @@ Class NcLine
- public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
@@ -119,12 +119,12 @@ Class NcLine
- Implements
-
-
+
-
+
@@ -2221,20 +2221,18 @@ So be care that do not change the NC XYZ if not needed.
- Gets the source command associated with this instance.
-
+
- public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Returns
- - ISourceCommand
- The source command object.
-
+ - IIndexedFileLine
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
deleted file mode 100644
index d8761c3..0000000
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
+++ /dev/null
@@ -1,1333 +0,0 @@
-
-
-
-
- Class UniversalNcStep | HiAPI-C# 2025
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Class UniversalNcStep
-
-
-
- - Namespace
- Hi.UniversalNc
- - Assembly
- HiNc.dll
-
-
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
-
-
- public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
-
-
-
-
-
-
- - Inheritance
- -
-
- UniversalNcStep
-
-
-
-
- - Implements
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Inherited Members
- -
-
-
-
-
- object.GetType()
-
-
-
-
-
-
- - Extension Methods
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
-
-
-
-
- UniversalNcStep()
-
-
-
- Ctor.
-
-
-
-
- public UniversalNcStep()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- ColorGuide
-
-
-
- Gets or sets the color guide associated with this object.
-
-
-
-
- public IColorGuide ColorGuide { get; set; }
-
-
-
-
-
-
- Property Value
-
- - IColorGuide
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmdmin
-
-
-
- Feed rate in millimeters per minute.
-
-
-
-
- public double Feedrate_mmdmin { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmds
-
-
-
- Get feedrate in mm/s.
-
-
-
-
- public double Feedrate_mmds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileIndex
-
-
-
- File Index.
-Start on 0.
-
-
-
-
- public int FileIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileNo
-
-
-
- FileIndex+1.
-
-
-
-
- public int FileNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FilePath
-
-
-
- File path.
-
-
-
-
- public string FilePath { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- FlexDictionary
-
-
-
- Dictionary for storing flexible step properties as double values.
-
-
-
-
- public Dictionary<string, double> FlexDictionary { get; set; }
-
-
-
-
-
-
- Property Value
-
- - Dictionary<string, double>
-
-
-
-
-
-
-
-
-
-
-
-
-
- Line
-
-
-
- The line.
-
-
-
-
- public string Line { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineIndex
-
-
-
- Line Index.
-Start on 0.
-
-
-
-
- public int LineIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineNo
-
-
-
- LineIndex+1.
-
-
-
-
- public int LineNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingForce
-
-
-
- Milling force.
-
-
-
-
- public MillingForce MillingForce { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingForce
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingGeomBrief
-
-
-
- Gets or sets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief MillingGeomBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingGeomBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SeqPhysicsBrief
-
-
-
- Gets or sets the sequential physics brief.
-
-
-
-
- public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SeqPhysicsBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleDirection
-
-
-
- Spindle direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_radds
-
-
-
- Get spindle speed in rad/s.
-
-
-
-
- public double SpindleSpeed_radds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_rpm
-
-
-
- Spindle speed in revolutions per minute.
-
-
-
-
- public double SpindleSpeed_rpm { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepDuration_s
-
-
-
- Step duration. Unit is second.
-
-
-
-
- public double StepDuration_s { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepIndex
-
-
-
- Step index.
-
-
-
-
- public int StepIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToolId
-
-
-
- Get tool ID.
-
-
-
-
- public int ToolId { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
- tool ID
-
-
-
-
-
-
-
-
-
-
-
-
-
- WorkTime
-
-
-
- Worked time.
-
-
-
-
- public TimeSpan WorkTime { get; set; }
-
-
-
-
-
-
- Property Value
-
- - TimeSpan
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
- GetAxisPos(string)
-
-
-
- Get absolute position of the key
axis.
-
-
-
-
- public double GetAxisPos(string key)
-
-
- Parameters
-
- key
string
- axis name
-
-
-
- Returns
-
- - double
- absolute position of the key
axis
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetCsvDictionary()
-
-
-
- Get row dictionary.
-It suits for CSV output.
-
-
-
-
- public Dictionary<string, string> GetCsvDictionary()
-
-
-
- Returns
-
- - Dictionary<string, string>
- csv row dictionary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFeedrate_mmds()
-
-
-
- Gets the program feedrate in millimeters per second.
-
-
-
-
- public double GetFeedrate_mmds()
-
-
-
- Returns
-
- - double
- Feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFileLineIndex()
-
-
-
- Get FileLineIndex.
-
-
-
-
- public FileLineIndex GetFileLineIndex()
-
-
-
- Returns
-
- - FileLineIndex
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingForce()
-
-
-
- Get MillingForce.
-
-
-
-
- public MillingForce GetMillingForce()
-
-
-
- Returns
-
- - MillingForce
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingGeomBrief()
-
-
-
- Gets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief GetMillingGeomBrief()
-
-
-
- Returns
-
- - MillingGeomBrief
- The milling geometry brief information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetNcStep()
-
-
-
- Get controller state.
-
-
-
-
- public INcStep0 GetNcStep()
-
-
-
- Returns
-
- - INcStep0
- controller state
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetQuantityByKey(string)
-
-
-
- Gets a quantity value associated with the specified key.
-
-
-
-
- public double GetQuantityByKey(string key)
-
-
- Parameters
-
- key
string
- The key to look up
-
-
-
- Returns
-
- - double
- The quantity value associated with the key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleDirection()
-
-
-
- Gets the spindle rotation direction.
-
-
-
-
- public SpindleDirection GetSpindleDirection()
-
-
-
- Returns
-
- - SpindleDirection
- The spindle direction (clockwise, counterclockwise, or stopped)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleSpeed_radds()
-
-
-
- Gets the spindle speed in radians per second.
-
-
-
-
- public double GetSpindleSpeed_radds()
-
-
-
- Returns
-
- - double
- Spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetByRowDictionary(Dictionary<string, string>)
-
-
-
- Sets the properties of this object using values from a dictionary.
-
-
-
-
- public void SetByRowDictionary(Dictionary<string, string> src)
-
-
- Parameters
-
- src
Dictionary<string, string>
- Source dictionary containing property values as strings.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToString()
-
-
-
- Returns a string representation of this NC step.
-
-
-
-
- public override string ToString()
-
-
-
- Returns
-
- - string
- String representation of this step.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
index c28f350..dcfffe9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
@@ -99,11 +99,6 @@ Classes
A strongly-typed resource class, for looking up localized strings, etc.
-
- - UniversalNcStep
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/toc.html b/App/wwwroot/HiAPI-docsite/api/toc.html
index 7a580b3..463fae7 100644
--- a/App/wwwroot/HiAPI-docsite/api/toc.html
+++ b/App/wwwroot/HiAPI-docsite/api/toc.html
@@ -471,6 +471,9 @@
-
IGetIndexedFileLine
+ -
+ IIndexedFileLine
+
-
ILineChangedEventSupport
@@ -1337,14 +1340,11 @@
public IEnumerable<object> ProcAct(IAct act, MachiningSession millingSession, IMachiningStepHost host, ISourceCommand sourceCommand, CancellationToken cancellationToken)
+ public IEnumerable<object> ProcAct(IAct act, MachiningSession millingSession, IMachiningStepHost host, IIndexedFileLine sourceCommand, CancellationToken cancellationToken)
host
IMachiningStepHostThe milling step host.
sourceCommand
ISourceCommandsourceCommand
IIndexedFileLineThe source command.
cancellationToken
CancellationToken+ MachiningMotionStep
@@ -230,7 +230,7 @@ Class MachiningParallelProc.StepTaskBundlepublic MachineMotionStep MachiningStep { get; }
+ public MachineMotionStep MachiningMotionStep { get; }
+ CsvRunner + +
+ + + + +public CsvRunner CsvRunner { get; }
+ Property Value
+-
+
- CsvRunner + +
@@ -1438,8 +1469,8 @@ Ensures proper initialization of workpiece properties.
-
- Act(IAct, ISourceCommand, CancellationToken?)
+
+ Act(IAct, IIndexedFileLine, CancellationToken?)
@@ -1448,7 +1479,7 @@ Ensures proper initialization of workpiece properties.
- public void Act(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+ public void Act(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -1456,7 +1487,7 @@ Ensures proper initialization of workpiece properties.
act
IAct
The act to execute.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command that triggered the act.
cancellationToken
CancellationToken?
@@ -1783,6 +1814,39 @@ Since the folder can be moving with the configuration file.
+
+
+
+ PlayCsvFile(string, string)
+
+
+
+
+
+
+
+ public void PlayCsvFile(string baseDirectory, string relFilePath)
+
+
+ Parameters
+
+ baseDirectory
string
+
+ relFilePath
string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1831,15 +1895,15 @@ Since the folder can be moving with the configuration file.
- public void PlayNcFile(string rootDirectory, string relNcFilePath)
+ public void PlayNcFile(string baseDirectory, string relFilePath)
Parameters
- rootDirectory
string
- Root directory for resolving relative paths
+ baseDirectory
string
+ Base directory for resolving relative paths
- relNcFilePath
string
+ relFilePath
string
Relative path to the NC file
@@ -1857,8 +1921,8 @@ Since the folder can be moving with the configuration file.
-
- ProcAct(IAct, ISourceCommand, CancellationToken?)
+
+ ProcAct(IAct, IIndexedFileLine, CancellationToken?)
@@ -1867,7 +1931,7 @@ Since the folder can be moving with the configuration file.
- public IEnumerable<object> ProcAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+ public IEnumerable<object> ProcAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -1875,7 +1939,7 @@ Since the folder can be moving with the configuration file.
act
IAct
The act to process.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command that triggered the act.
cancellationToken
CancellationToken?
@@ -1992,6 +2056,44 @@ Since the folder can be moving with the configuration file.
+
+
+
+ RunCsvFile(string, string)
+
+
+
+
+
+
+
+ public IEnumerable<Action> RunCsvFile(string baseDirectory, string relFilePath)
+
+
+ Parameters
+
+ baseDirectory
string
+
+ relFilePath
string
+
+
+
+ Returns
+
+ - IEnumerable<Action>
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2046,107 +2148,16 @@ Since the folder can be moving with the configuration file.
- public IEnumerable<Action> RunNcFile(string rootDirectory, string relNcFilePath)
+ public IEnumerable<Action> RunNcFile(string baseDirectory, string relFilePath)
Parameters
- rootDirectory
string
- Root directory for resolving relative paths
-
- relNcFilePath
string
- Relative path to the NC file
-
-
-
- Returns
-
- - IEnumerable<Action>
- An enumerable of actions to be executed
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- RunNcFile(string, string, CancellationToken)
-
-
-
- Runs an NC file from the specified path with cancellation support.
-
-
-
-
- public IEnumerable<Action> RunNcFile(string rootDirectory, string relNcFilePath, CancellationToken cancellationToken)
-
-
- Parameters
-
- rootDirectory
string
- Root directory for resolving relative paths. If the value is null, BaseDirectory substitudes the value.
-
- relNcFilePath
string
- Relative path to the NC file
-
- cancellationToken
CancellationToken
- Token to monitor for cancellation requests
-
-
-
- Returns
-
- - IEnumerable<Action>
- An enumerable of actions to be executed
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
-
-
-
- Runs NC commands from raw text lines.
-
-
-
-
- public IEnumerable<Action> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
-
-
- Parameters
-
- relNcFilePath
string
- Name to associate with the NC program
-
- lines
IEnumerable<string>
- The NC command lines to execute
-
- cancellationToken
CancellationToken
- Token to monitor for cancellation requests
+ baseDirectory
string
+ Base directory for resolving relative paths. If the value is null, BaseDirectory substitudes the value.
+ relFilePath
string
+
Returns
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
index 2b97cbb..8922dc8 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
@@ -192,7 +192,7 @@ and managing session state.
- public ISourceCommand CurrentSourceCommand { get; set; }
+ public IIndexedFileLine CurrentSourceCommand { get; set; }
@@ -201,7 +201,7 @@ and managing session state.
Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
index ddf6ead..445bef9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
@@ -317,38 +317,6 @@ Note: This feature is pending testing.
-
-
-
- EnableExternalEvaluation
-
-
-
- Gets or sets whether external evaluation is enabled.
-
-
-
-
- public bool EnableExternalEvaluation { get; set; }
-
-
-
-
-
-
- Property Value
-
- - bool
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
index 7ee0ca3..ed00538 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
@@ -2344,8 +2344,8 @@ public void Pause()
-
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
+ PlayAct(IAct, IIndexedFileLine, CancellationToken?)
@@ -2355,7 +2355,7 @@ public void Pause()
[JsAce]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -2363,7 +2363,7 @@ public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationT
act
IAct
The act to play.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
cancellationToken
CancellationToken?
@@ -2431,6 +2431,40 @@ public void PlayClTeleport(double x, double y, double z, double i, double j, dou
+
+
+
+ PlayCsvFile(string)
+
+
+
+ Plays an Csv file with the specified relative path.
+
+
+
+
+ [JsAce("PlayCsvFile($1\"csvFile\");")]
+public void PlayCsvFile(string relFilePath)
+
+
+ Parameters
+
+ relFilePath
string
+ Relative path to the CSV file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
index db3a162..5a4db0b 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
@@ -2951,26 +2951,26 @@ public void Pause()
-
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
+ PlayAct(IAct, IIndexedFileLine, CancellationToken?)
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
[JsAce]
[NonAction]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
act
IAct
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
cancellationToken
CancellationToken?
@@ -3031,6 +3031,41 @@ public void PlayClTeleport(double x, double y, double z, double i, double j, dou
+
+
+
+ PlayCsvFile(string)
+
+
+
+ Plays an CSV file with the specified relative path.
+
+
+
+
+ [JsAce("PlayCsvFile($1\"csvFile\");")]
+[HttpPost]
+public void PlayCsvFile(string relFilePath)
+
+
+ Parameters
+
+ relFilePath
string
+ Relative path to the CSV file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
index 0cb5836..056d581 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
@@ -289,12 +289,12 @@ gets null if the Gets or sets the direct source command from the data.
-gets null if the Data is not ISourceCommand.
+gets null if the Data is not IIndexedFileLine.
- public ISourceCommand DirectInstantSourceCommand { get; set; }
+ public IIndexedFileLine DirectInstantSourceCommand { get; set; }
@@ -303,7 +303,7 @@ gets null if the Property Value
- - ISourceCommand
+ - IIndexedFileLine
@@ -395,7 +395,7 @@ from
- public ISourceCommand InstantSourceCommand { get; }
+ public IIndexedFileLine InstantSourceCommand { get; }
@@ -404,7 +404,7 @@ from Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
index 39823de..6d4611d 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
@@ -374,7 +374,7 @@ The term stable means it is thread safe to access range from 0 to StableIndex(ex
- public ISourceCommand GetSourceCommand(SessionMessage machiningMessage)
+ public IIndexedFileLine GetSourceCommand(SessionMessage machiningMessage)
Parameters
@@ -386,7 +386,7 @@ The term stable means it is thread safe to access range from 0 to StableIndex(ex
Returns
- - ISourceCommand
+ - IIndexedFileLine
The source command that generated the message, or null if not found.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
index a787af7..a9e3816 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
@@ -358,7 +358,7 @@ Class SessionMessagePack
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -367,7 +367,7 @@ Class SessionMessagePack
Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
similarity index 82%
rename from App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
index 00932f2..ca51dc1 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
@@ -2,11 +2,11 @@
- Interface IGetSourceCommand | HiAPI-C# 2025
+ Interface IFlagText | HiAPI-C# 2025
-
+
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetSourceCommand
+
+Interface IFlagText
@@ -97,12 +97,12 @@ Interface IGetSourceCommand
- Assembly
- HiMech.dll
- Defines an interface for retrieving source command information.
+ temperary design for showing flag text.
- public interface IGetSourceCommand
+ public interface IFlagText
@@ -142,31 +142,34 @@ Interface IGetSourceCommand
- Methods
+ Properties
-
+
-
- GetSourceCommand()
+
+ FlagsText
- Gets the source command associated with this instance.
+ Gets the text representation of command flags.
- ISourceCommand GetSourceCommand()
+ [Present("NC Flag", "NC Flag", PhysicsUnit.None, "G")]
+string FlagsText { get; }
- Returns
+
+
+
+ Property Value
- - ISourceCommand
- The source command object.
-
+ - string
+
@@ -177,9 +180,6 @@ Interface IGetSourceCommand
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
index 7395b7c..a9e5448 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
@@ -102,7 +102,7 @@ Class MachiningStep
- public class MachiningStep : IGetSourceCommand, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
+ public class MachiningStep : IGetIndexedFileLine, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
@@ -119,7 +119,7 @@ Class MachiningStep
- Implements
-
-
+
@@ -199,8 +199,8 @@ Class MachiningStep
-
- MachiningStep(IMachiningStepHost, int, ISourceCommand, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
+
+ MachiningStep(IMachiningStepHost, int, IIndexedFileLine, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
@@ -209,7 +209,7 @@ Class MachiningStep
- public MachiningStep(IMachiningStepHost host, int stepIndex, ISourceCommand sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
+ public MachiningStep(IMachiningStepHost host, int stepIndex, IIndexedFileLine sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
Parameters
@@ -220,7 +220,7 @@ Class MachiningStep
stepIndex
int
The index of the step.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
machiningStep
MachineMotionStep
@@ -2795,7 +2795,7 @@ public List<double> SideCuspList_um { get; }
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -2804,7 +2804,7 @@ public List<double> SideCuspList_um { get; }
Property Value
@@ -3034,7 +3034,7 @@ public double? SpindleWorkingTemperatureRatio { get; }
- [Present("Step Duration", null, PhysicsUnit.sec, "ss\\.ffffff")]
+ [Present("Step Duration", "duration", PhysicsUnit.sec, "ss\\.ffffff")]
[JsAce(ClassExt = "MachiningStep")]
public TimeSpan StepDuration { get; }
@@ -3511,6 +3511,39 @@ public double GetCutterDermisTemperature_C(double depth_mm)
+
+
+
+ GetIndexedFileLine()
+
+
+
+ Gets the file line associated with this object.
+
+
+
+
+ public IndexedFileLine GetIndexedFileLine()
+
+
+
+ Returns
+
+ - IndexedFileLine
+ The file line object.
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3666,39 +3699,6 @@ public double? GetMcValue(int index)
-
-
-
- GetSourceCommand()
-
-
-
- Gets the source command associated with this instance.
-
-
-
-
- public ISourceCommand GetSourceCommand()
-
-
-
- Returns
-
- - ISourceCommand
- The source command object.
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3711,7 +3711,9 @@ public double? GetMcValue(int index)
- public SpindleDirection GetSpindleDirection()
+ [Present("Spindle Direction", "Spd.Dir.", PhysicsUnit.None, "G")]
+[JsAce(ClassExt = "MachiningStep")]
+public SpindleDirection GetSpindleDirection()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
index f3a5dcc..5761a41 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
@@ -134,8 +134,8 @@ Note that the spindle information is only for milling behavior.
Interfaces
- - IGetSourceCommand
- Defines an interface for retrieving source command information.
+ - IFlagText
+ temperary design for showing flag text.
@@ -143,11 +143,6 @@ Interfaces
Represents a host interface for milling steps that provides access to milling equipment and related resources.
-
- - ISourceCommand
- Represents a source command interface that provides access to file line information and command flags.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
similarity index 91%
rename from App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
index 1544f8b..156049e 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
@@ -2,9 +2,9 @@
- Interface IGetNcStep | HiAPI-C# 2025
+ Interface IGetNcStep0 | HiAPI-C# 2025
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetNcStep
+
+Interface IGetNcStep0
@@ -97,12 +97,12 @@ Interface IGetNcStep
- Assembly
- HiMech.dll
- Interface of GetNcStep()
+ Interface of GetNcStep()
- public interface IGetNcStep
+ public interface IGetNcStep0
@@ -146,9 +146,9 @@ Interface IGetNcStep
-
+
-
+
GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
index 2462794..3e1dda5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
@@ -104,7 +104,7 @@ Contains basic information of NC step.
- public interface INcStep0 : IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
+ public interface INcStep0 : IGetNcStep0, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
@@ -117,7 +117,7 @@ Contains basic information of NC step.
- Inherited Members
-
IGetFeedrate.GetFeedrate_mmds()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
index 03634d5..490edec 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
@@ -103,8 +103,8 @@ Classes
Interfaces
- - IGetNcStep
- Interface of GetNcStep()
+ - IGetNcStep0
+ Interface of GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
new file mode 100644
index 0000000..739bfe1
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActData | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActData
+
+
+
+
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
+
+
+
+
+ public class ActData : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActData
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActData()
+
+
+
+
+
+
+
+ public ActData()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActData(Dictionary<string, object>)
+
+
+
+
+
+
+
+ public ActData(Dictionary<string, object> data)
+
+
+ Parameters
+
+ data
Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Data
+
+
+
+
+
+
+
+ public Dictionary<string, object> Data { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
index b0d77a3..e475246 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
@@ -213,8 +213,8 @@ Class ActLineBegin
-
- ActLineBegin(ISourceCommand)
+
+ ActLineBegin(IIndexedFileLine)
@@ -223,12 +223,12 @@ Class ActLineBegin
- public ActLineBegin(ISourceCommand sourceCommand)
+ public ActLineBegin(IIndexedFileLine sourceCommand)
Parameters
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command associated with this line beginning.
@@ -260,7 +260,7 @@ Class ActLineBegin
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -269,7 +269,7 @@ Class ActLineBegin
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
index cb16ac3..3509ff5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
@@ -292,7 +292,7 @@ Class ActLineEnd
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -301,7 +301,7 @@ Class ActLineEnd
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
new file mode 100644
index 0000000..34907de
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActSpindleDirection | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActSpindleDirection
+
+
+
+
+
+
+
+
+ public class ActSpindleDirection : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActSpindleDirection
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActSpindleDirection()
+
+
+
+ Initializes a new instance.
+
+
+
+
+ public ActSpindleDirection()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActSpindleDirection(SpindleDirection)
+
+
+
+
+
+
+
+ public ActSpindleDirection(SpindleDirection spindleDirection)
+
+
+ Parameters
+
+ spindleDirection
SpindleDirection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ SpindleDirection
+
+
+
+ Gets or sets the spindle rotation direction.
+
+
+
+
+ public SpindleDirection SpindleDirection { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SpindleDirection
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
index 8af839d..1e3235a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
@@ -212,38 +212,6 @@ Class ActSpindleSpeed
-
-
-
- SpindleDirection
-
-
-
- Gets or sets the spindle rotation direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
index 2b36500..44b712a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
@@ -117,6 +117,12 @@ Classes
- ActCooling
Represents a cooling action for machining operations.
+
+
+
+ - ActData
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
@@ -196,6 +202,10 @@ This class handles complex tool movements with both position and orientation con
Rapid feedrate.
+
+ - ActSpindleDirection
+
+
- ActSpindleSpeed
Represents an act that controls the spindle speed in numerical control operations.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
new file mode 100644
index 0000000..a5dba2a
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
@@ -0,0 +1,471 @@
+
+
+
+
+ Class CsvRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunner : IControlRunner
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunner
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ CsvRunner(PacePlayer, SessionMessageHost)
+
+
+
+
+
+
+
+ public CsvRunner(PacePlayer pacePlayer, SessionMessageHost sessionMessageHost)
+
+
+ Parameters
+
+ pacePlayer
PacePlayer
+
+ sessionMessageHost
SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Config
+
+
+
+
+
+
+
+ public CsvRunnerConfig Config { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - CsvRunnerConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SessionMessageHost
+
+
+
+ External Hosted.
+
+
+
+
+ public SessionMessageHost SessionMessageHost { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ Reset()
+
+
+
+ Reset runtime data.
+
+
+
+
+ public void Reset()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunToLineEnd()
+
+
+
+ Set EnumerablePlayer before use the function.
+
+
+
+
+ public void RunToLineEnd()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
new file mode 100644
index 0000000..6ab2a13
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
@@ -0,0 +1,522 @@
+
+
+
+
+ Class CsvRunnerConfig | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunnerConfig
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunnerConfig
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunnerConfig
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ CutterLocationPrefixTag
+
+
+
+ Cutter Location Prefix Tag for CSV Parsing.
+
+
+
+
+ public string CutterLocationPrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DurationTag
+
+
+
+
+
+
+
+ public string DurationTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FeedrateTag_mmdmin
+
+
+
+ Feedrate for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string FeedrateTag_mmdmin { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineBeginCsScriptTag
+
+
+
+ LineBeginCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineBeginCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineEndCsScriptTag
+
+
+
+ LineEndCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineEndCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MachineCoordinatePrefixTag
+
+
+
+ Machine Coordinate Prefix Tag for CSV Parsing.
+
+
+
+
+ public string MachineCoordinatePrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ParsingDictionary
+
+
+
+
+
+
+
+ public Dictionary<string, Func<string, object>> ParsingDictionary { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, Func<string, object>>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleDirectionTag
+
+
+
+ Spindle direction Tag for CSV Parsing.
+
+
+
+
+ public string SpindleDirectionTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleSpeedTag_rpm
+
+
+
+ Spindle speed for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string SpindleSpeedTag_rpm { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ToolIdTag
+
+
+
+ Tool ID Tag for CSV Parsing.
+
+
+
+
+ public string ToolIdTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
new file mode 100644
index 0000000..12cff17
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
@@ -0,0 +1,247 @@
+
+
+
+
+ Interface IControlRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Interface IControlRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
+
+
+
+
+ public interface IControlRunner
+
+
+
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
index 3ceffd3..f421ea3 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
@@ -102,7 +102,7 @@ Class NcRunner
- public class NcRunner
+ public class NcRunner : IControlRunner
@@ -116,6 +116,12 @@ Class NcRunner
+
+ - Implements
+ -
+
+
+
@@ -180,8 +186,8 @@ Class NcRunner
-
- NcRunner(NcEnv, SessionMessageHost)
+
+ NcRunner(PacePlayer, NcEnv, SessionMessageHost)
@@ -190,11 +196,13 @@ Class NcRunner
- public NcRunner(NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)
Parameters
+ pacePlayer
PacePlayer
+
ncEnv
NcEnv
The NC environment settings
@@ -314,6 +322,37 @@ Class NcRunner
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
@@ -350,10 +389,37 @@ Class NcRunner
-
+
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunner
- public IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunner
Returns
- - IEnumerable<(NcLine NcLine, IAct Act)>
+ - IEnumerable<SourceCommandActEntry>
Enumerable of NcLine and Act pairs
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
new file mode 100644
index 0000000..c88a807
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
@@ -0,0 +1,309 @@
+
+
+
+
+ Class SourceCommandActEntry | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class SourceCommandActEntry
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ SourceCommandActEntry
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ SourceCommandActEntry(IIndexedFileLine, IAct)
+
+
+
+
+
+
+
+ public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+
+
+ Parameters
+
+ SourceCommand
IIndexedFileLine
+
+ Act
IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Act
+
+
+
+
+
+
+
+ public IAct Act { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SourceCommand
+
+
+
+
+
+
+
+ public IIndexedFileLine SourceCommand { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IIndexedFileLine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
index a1f84b3..2a85897 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
@@ -94,9 +94,31 @@
Classes
+
+ - CsvRunner
+
+
+
+ - CsvRunnerConfig
+
+
- NcRunner
Provides functionality for running and processing NC code lines.
+
+
+
+ - SourceCommandActEntry
+
+
+
+Interfaces
+
+
+ - IControlRunner
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
index a5c0a20..ada38ff 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
@@ -102,7 +102,7 @@ Class NcLine
- public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
@@ -119,12 +119,12 @@ Class NcLine
- Implements
-
-
+
-
+
@@ -2221,20 +2221,18 @@ So be care that do not change the NC XYZ if not needed.
- Gets the source command associated with this instance.
-
+
- public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Returns
- - ISourceCommand
- The source command object.
-
+ - IIndexedFileLine
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
deleted file mode 100644
index d8761c3..0000000
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
+++ /dev/null
@@ -1,1333 +0,0 @@
-
-
-
-
- Class UniversalNcStep | HiAPI-C# 2025
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Class UniversalNcStep
-
-
-
- - Namespace
- Hi.UniversalNc
- - Assembly
- HiNc.dll
-
-
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
-
-
- public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
-
-
-
-
-
-
- - Inheritance
- -
-
- UniversalNcStep
-
-
-
-
- - Implements
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Inherited Members
- -
-
-
-
-
- object.GetType()
-
-
-
-
-
-
- - Extension Methods
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
-
-
-
-
- UniversalNcStep()
-
-
-
- Ctor.
-
-
-
-
- public UniversalNcStep()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- ColorGuide
-
-
-
- Gets or sets the color guide associated with this object.
-
-
-
-
- public IColorGuide ColorGuide { get; set; }
-
-
-
-
-
-
- Property Value
-
- - IColorGuide
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmdmin
-
-
-
- Feed rate in millimeters per minute.
-
-
-
-
- public double Feedrate_mmdmin { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmds
-
-
-
- Get feedrate in mm/s.
-
-
-
-
- public double Feedrate_mmds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileIndex
-
-
-
- File Index.
-Start on 0.
-
-
-
-
- public int FileIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileNo
-
-
-
- FileIndex+1.
-
-
-
-
- public int FileNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FilePath
-
-
-
- File path.
-
-
-
-
- public string FilePath { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- FlexDictionary
-
-
-
- Dictionary for storing flexible step properties as double values.
-
-
-
-
- public Dictionary<string, double> FlexDictionary { get; set; }
-
-
-
-
-
-
- Property Value
-
- - Dictionary<string, double>
-
-
-
-
-
-
-
-
-
-
-
-
-
- Line
-
-
-
- The line.
-
-
-
-
- public string Line { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineIndex
-
-
-
- Line Index.
-Start on 0.
-
-
-
-
- public int LineIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineNo
-
-
-
- LineIndex+1.
-
-
-
-
- public int LineNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingForce
-
-
-
- Milling force.
-
-
-
-
- public MillingForce MillingForce { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingForce
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingGeomBrief
-
-
-
- Gets or sets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief MillingGeomBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingGeomBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SeqPhysicsBrief
-
-
-
- Gets or sets the sequential physics brief.
-
-
-
-
- public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SeqPhysicsBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleDirection
-
-
-
- Spindle direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_radds
-
-
-
- Get spindle speed in rad/s.
-
-
-
-
- public double SpindleSpeed_radds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_rpm
-
-
-
- Spindle speed in revolutions per minute.
-
-
-
-
- public double SpindleSpeed_rpm { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepDuration_s
-
-
-
- Step duration. Unit is second.
-
-
-
-
- public double StepDuration_s { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepIndex
-
-
-
- Step index.
-
-
-
-
- public int StepIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToolId
-
-
-
- Get tool ID.
-
-
-
-
- public int ToolId { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
- tool ID
-
-
-
-
-
-
-
-
-
-
-
-
-
- WorkTime
-
-
-
- Worked time.
-
-
-
-
- public TimeSpan WorkTime { get; set; }
-
-
-
-
-
-
- Property Value
-
- - TimeSpan
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
- GetAxisPos(string)
-
-
-
- Get absolute position of the key
axis.
-
-
-
-
- public double GetAxisPos(string key)
-
-
- Parameters
-
- key
string
- axis name
-
-
-
- Returns
-
- - double
- absolute position of the key
axis
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetCsvDictionary()
-
-
-
- Get row dictionary.
-It suits for CSV output.
-
-
-
-
- public Dictionary<string, string> GetCsvDictionary()
-
-
-
- Returns
-
- - Dictionary<string, string>
- csv row dictionary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFeedrate_mmds()
-
-
-
- Gets the program feedrate in millimeters per second.
-
-
-
-
- public double GetFeedrate_mmds()
-
-
-
- Returns
-
- - double
- Feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFileLineIndex()
-
-
-
- Get FileLineIndex.
-
-
-
-
- public FileLineIndex GetFileLineIndex()
-
-
-
- Returns
-
- - FileLineIndex
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingForce()
-
-
-
- Get MillingForce.
-
-
-
-
- public MillingForce GetMillingForce()
-
-
-
- Returns
-
- - MillingForce
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingGeomBrief()
-
-
-
- Gets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief GetMillingGeomBrief()
-
-
-
- Returns
-
- - MillingGeomBrief
- The milling geometry brief information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetNcStep()
-
-
-
- Get controller state.
-
-
-
-
- public INcStep0 GetNcStep()
-
-
-
- Returns
-
- - INcStep0
- controller state
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetQuantityByKey(string)
-
-
-
- Gets a quantity value associated with the specified key.
-
-
-
-
- public double GetQuantityByKey(string key)
-
-
- Parameters
-
- key
string
- The key to look up
-
-
-
- Returns
-
- - double
- The quantity value associated with the key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleDirection()
-
-
-
- Gets the spindle rotation direction.
-
-
-
-
- public SpindleDirection GetSpindleDirection()
-
-
-
- Returns
-
- - SpindleDirection
- The spindle direction (clockwise, counterclockwise, or stopped)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleSpeed_radds()
-
-
-
- Gets the spindle speed in radians per second.
-
-
-
-
- public double GetSpindleSpeed_radds()
-
-
-
- Returns
-
- - double
- Spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetByRowDictionary(Dictionary<string, string>)
-
-
-
- Sets the properties of this object using values from a dictionary.
-
-
-
-
- public void SetByRowDictionary(Dictionary<string, string> src)
-
-
- Parameters
-
- src
Dictionary<string, string>
- Source dictionary containing property values as strings.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToString()
-
-
-
- Returns a string representation of this NC step.
-
-
-
-
- public override string ToString()
-
-
-
- Returns
-
- - string
- String representation of this step.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
index c28f350..dcfffe9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
@@ -99,11 +99,6 @@ Classes
A strongly-typed resource class, for looking up localized strings, etc.
-
- - UniversalNcStep
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/toc.html b/App/wwwroot/HiAPI-docsite/api/toc.html
index 7a580b3..463fae7 100644
--- a/App/wwwroot/HiAPI-docsite/api/toc.html
+++ b/App/wwwroot/HiAPI-docsite/api/toc.html
@@ -471,6 +471,9 @@
-
IGetIndexedFileLine
+ -
+ IIndexedFileLine
+
-
ILineChangedEventSupport
@@ -1337,14 +1340,11 @@
+ Act(IAct, IIndexedFileLine, CancellationToken?)
@@ -1448,7 +1479,7 @@ Ensures proper initialization of workpiece properties.public void Act(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+ public void Act(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -1456,7 +1487,7 @@ Ensures proper initialization of workpiece properties.act
IActThe act to execute.
sourceCommand
ISourceCommandsourceCommand
IIndexedFileLineThe source command that triggered the act.
cancellationToken
CancellationToken?+ PlayCsvFile(string, string) + +
+ + + + +public void PlayCsvFile(string baseDirectory, string relFilePath)
+ Parameters
+-
+
baseDirectory
string
+
+ relFilePath
string
+
+
@@ -1831,15 +1895,15 @@ Since the folder can be moving with the configuration file.
- public void PlayNcFile(string rootDirectory, string relNcFilePath)
+ public void PlayNcFile(string baseDirectory, string relFilePath)
Parameters
- rootDirectory
string
- Root directory for resolving relative paths
+ baseDirectory
string
+ Base directory for resolving relative paths
- relNcFilePath
string
+ relFilePath
string
Relative path to the NC file
@@ -1857,8 +1921,8 @@ Since the folder can be moving with the configuration file.
-
- ProcAct(IAct, ISourceCommand, CancellationToken?)
+
+ ProcAct(IAct, IIndexedFileLine, CancellationToken?)
@@ -1867,7 +1931,7 @@ Since the folder can be moving with the configuration file.
- public IEnumerable<object> ProcAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+ public IEnumerable<object> ProcAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -1875,7 +1939,7 @@ Since the folder can be moving with the configuration file.
act
IAct
The act to process.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command that triggered the act.
cancellationToken
CancellationToken?
@@ -1992,6 +2056,44 @@ Since the folder can be moving with the configuration file.
+
+
+
+ RunCsvFile(string, string)
+
+
+
+
+
+
+
+ public IEnumerable<Action> RunCsvFile(string baseDirectory, string relFilePath)
+
+
+ Parameters
+
+ baseDirectory
string
+
+ relFilePath
string
+
+
+
+ Returns
+
+ - IEnumerable<Action>
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2046,107 +2148,16 @@ Since the folder can be moving with the configuration file.
- public IEnumerable<Action> RunNcFile(string rootDirectory, string relNcFilePath)
+ public IEnumerable<Action> RunNcFile(string baseDirectory, string relFilePath)
Parameters
- rootDirectory
string
- Root directory for resolving relative paths
-
- relNcFilePath
string
- Relative path to the NC file
-
-
-
- Returns
-
- - IEnumerable<Action>
- An enumerable of actions to be executed
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- RunNcFile(string, string, CancellationToken)
-
-
-
- Runs an NC file from the specified path with cancellation support.
-
-
-
-
- public IEnumerable<Action> RunNcFile(string rootDirectory, string relNcFilePath, CancellationToken cancellationToken)
-
-
- Parameters
-
- rootDirectory
string
- Root directory for resolving relative paths. If the value is null, BaseDirectory substitudes the value.
-
- relNcFilePath
string
- Relative path to the NC file
-
- cancellationToken
CancellationToken
- Token to monitor for cancellation requests
-
-
-
- Returns
-
- - IEnumerable<Action>
- An enumerable of actions to be executed
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
-
-
-
- Runs NC commands from raw text lines.
-
-
-
-
- public IEnumerable<Action> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
-
-
- Parameters
-
- relNcFilePath
string
- Name to associate with the NC program
-
- lines
IEnumerable<string>
- The NC command lines to execute
-
- cancellationToken
CancellationToken
- Token to monitor for cancellation requests
+ baseDirectory
string
+ Base directory for resolving relative paths. If the value is null, BaseDirectory substitudes the value.
+ relFilePath
string
+
Returns
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
index 2b97cbb..8922dc8 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
@@ -192,7 +192,7 @@ and managing session state.
- public ISourceCommand CurrentSourceCommand { get; set; }
+ public IIndexedFileLine CurrentSourceCommand { get; set; }
@@ -201,7 +201,7 @@ and managing session state.
Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
index ddf6ead..445bef9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
@@ -317,38 +317,6 @@ Note: This feature is pending testing.
-
-
-
- EnableExternalEvaluation
-
-
-
- Gets or sets whether external evaluation is enabled.
-
-
-
-
- public bool EnableExternalEvaluation { get; set; }
-
-
-
-
-
-
- Property Value
-
- - bool
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
index 7ee0ca3..ed00538 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
@@ -2344,8 +2344,8 @@ public void Pause()
-
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
+ PlayAct(IAct, IIndexedFileLine, CancellationToken?)
@@ -2355,7 +2355,7 @@ public void Pause()
[JsAce]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -2363,7 +2363,7 @@ public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationT
act
IAct
The act to play.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
cancellationToken
CancellationToken?
@@ -2431,6 +2431,40 @@ public void PlayClTeleport(double x, double y, double z, double i, double j, dou
+
+
+
+ PlayCsvFile(string)
+
+
+
+ Plays an Csv file with the specified relative path.
+
+
+
+
+ [JsAce("PlayCsvFile($1\"csvFile\");")]
+public void PlayCsvFile(string relFilePath)
+
+
+ Parameters
+
+ relFilePath
string
+ Relative path to the CSV file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
index db3a162..5a4db0b 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
@@ -2951,26 +2951,26 @@ public void Pause()
-
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
+ PlayAct(IAct, IIndexedFileLine, CancellationToken?)
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
[JsAce]
[NonAction]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
act
IAct
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
cancellationToken
CancellationToken?
@@ -3031,6 +3031,41 @@ public void PlayClTeleport(double x, double y, double z, double i, double j, dou
+
+
+
+ PlayCsvFile(string)
+
+
+
+ Plays an CSV file with the specified relative path.
+
+
+
+
+ [JsAce("PlayCsvFile($1\"csvFile\");")]
+[HttpPost]
+public void PlayCsvFile(string relFilePath)
+
+
+ Parameters
+
+ relFilePath
string
+ Relative path to the CSV file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
index 0cb5836..056d581 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
@@ -289,12 +289,12 @@ gets null if the Gets or sets the direct source command from the data.
-gets null if the Data is not ISourceCommand.
+gets null if the Data is not IIndexedFileLine.
- public ISourceCommand DirectInstantSourceCommand { get; set; }
+ public IIndexedFileLine DirectInstantSourceCommand { get; set; }
@@ -303,7 +303,7 @@ gets null if the Property Value
- - ISourceCommand
+ - IIndexedFileLine
@@ -395,7 +395,7 @@ from
- public ISourceCommand InstantSourceCommand { get; }
+ public IIndexedFileLine InstantSourceCommand { get; }
@@ -404,7 +404,7 @@ from Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
index 39823de..6d4611d 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
@@ -374,7 +374,7 @@ The term stable means it is thread safe to access range from 0 to StableIndex(ex
- public ISourceCommand GetSourceCommand(SessionMessage machiningMessage)
+ public IIndexedFileLine GetSourceCommand(SessionMessage machiningMessage)
Parameters
@@ -386,7 +386,7 @@ The term stable means it is thread safe to access range from 0 to StableIndex(ex
Returns
- - ISourceCommand
+ - IIndexedFileLine
The source command that generated the message, or null if not found.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
index a787af7..a9e3816 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
@@ -358,7 +358,7 @@ Class SessionMessagePack
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -367,7 +367,7 @@ Class SessionMessagePack
Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
similarity index 82%
rename from App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
index 00932f2..ca51dc1 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
@@ -2,11 +2,11 @@
- Interface IGetSourceCommand | HiAPI-C# 2025
+ Interface IFlagText | HiAPI-C# 2025
-
+
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetSourceCommand
+
+Interface IFlagText
@@ -97,12 +97,12 @@ Interface IGetSourceCommand
- Assembly
- HiMech.dll
- Defines an interface for retrieving source command information.
+ temperary design for showing flag text.
- public interface IGetSourceCommand
+ public interface IFlagText
@@ -142,31 +142,34 @@ Interface IGetSourceCommand
- Methods
+ Properties
-
+
-
- GetSourceCommand()
+
+ FlagsText
- Gets the source command associated with this instance.
+ Gets the text representation of command flags.
- ISourceCommand GetSourceCommand()
+ [Present("NC Flag", "NC Flag", PhysicsUnit.None, "G")]
+string FlagsText { get; }
- Returns
+
+
+
+ Property Value
- - ISourceCommand
- The source command object.
-
+ - string
+
@@ -177,9 +180,6 @@ Interface IGetSourceCommand
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
index 7395b7c..a9e5448 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
@@ -102,7 +102,7 @@ Class MachiningStep
- public class MachiningStep : IGetSourceCommand, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
+ public class MachiningStep : IGetIndexedFileLine, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
@@ -119,7 +119,7 @@ Class MachiningStep
- Implements
-
-
+
@@ -199,8 +199,8 @@ Class MachiningStep
-
- MachiningStep(IMachiningStepHost, int, ISourceCommand, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
+
+ MachiningStep(IMachiningStepHost, int, IIndexedFileLine, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
@@ -209,7 +209,7 @@ Class MachiningStep
- public MachiningStep(IMachiningStepHost host, int stepIndex, ISourceCommand sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
+ public MachiningStep(IMachiningStepHost host, int stepIndex, IIndexedFileLine sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
Parameters
@@ -220,7 +220,7 @@ Class MachiningStep
stepIndex
int
The index of the step.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
machiningStep
MachineMotionStep
@@ -2795,7 +2795,7 @@ public List<double> SideCuspList_um { get; }
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -2804,7 +2804,7 @@ public List<double> SideCuspList_um { get; }
Property Value
@@ -3034,7 +3034,7 @@ public double? SpindleWorkingTemperatureRatio { get; }
- [Present("Step Duration", null, PhysicsUnit.sec, "ss\\.ffffff")]
+ [Present("Step Duration", "duration", PhysicsUnit.sec, "ss\\.ffffff")]
[JsAce(ClassExt = "MachiningStep")]
public TimeSpan StepDuration { get; }
@@ -3511,6 +3511,39 @@ public double GetCutterDermisTemperature_C(double depth_mm)
+
+
+
+ GetIndexedFileLine()
+
+
+
+ Gets the file line associated with this object.
+
+
+
+
+ public IndexedFileLine GetIndexedFileLine()
+
+
+
+ Returns
+
+ - IndexedFileLine
+ The file line object.
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3666,39 +3699,6 @@ public double? GetMcValue(int index)
-
-
-
- GetSourceCommand()
-
-
-
- Gets the source command associated with this instance.
-
-
-
-
- public ISourceCommand GetSourceCommand()
-
-
-
- Returns
-
- - ISourceCommand
- The source command object.
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3711,7 +3711,9 @@ public double? GetMcValue(int index)
- public SpindleDirection GetSpindleDirection()
+ [Present("Spindle Direction", "Spd.Dir.", PhysicsUnit.None, "G")]
+[JsAce(ClassExt = "MachiningStep")]
+public SpindleDirection GetSpindleDirection()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
index f3a5dcc..5761a41 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
@@ -134,8 +134,8 @@ Note that the spindle information is only for milling behavior.
Interfaces
- - IGetSourceCommand
- Defines an interface for retrieving source command information.
+ - IFlagText
+ temperary design for showing flag text.
@@ -143,11 +143,6 @@ Interfaces
Represents a host interface for milling steps that provides access to milling equipment and related resources.
-
- - ISourceCommand
- Represents a source command interface that provides access to file line information and command flags.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
similarity index 91%
rename from App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
index 1544f8b..156049e 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
@@ -2,9 +2,9 @@
- Interface IGetNcStep | HiAPI-C# 2025
+ Interface IGetNcStep0 | HiAPI-C# 2025
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetNcStep
+
+Interface IGetNcStep0
@@ -97,12 +97,12 @@ Interface IGetNcStep
- Assembly
- HiMech.dll
- Interface of GetNcStep()
+ Interface of GetNcStep()
- public interface IGetNcStep
+ public interface IGetNcStep0
@@ -146,9 +146,9 @@ Interface IGetNcStep
-
+
-
+
GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
index 2462794..3e1dda5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
@@ -104,7 +104,7 @@ Contains basic information of NC step.
- public interface INcStep0 : IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
+ public interface INcStep0 : IGetNcStep0, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
@@ -117,7 +117,7 @@ Contains basic information of NC step.
- Inherited Members
-
IGetFeedrate.GetFeedrate_mmds()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
index 03634d5..490edec 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
@@ -103,8 +103,8 @@ Classes
Interfaces
- - IGetNcStep
- Interface of GetNcStep()
+ - IGetNcStep0
+ Interface of GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
new file mode 100644
index 0000000..739bfe1
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActData | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActData
+
+
+
+
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
+
+
+
+
+ public class ActData : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActData
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActData()
+
+
+
+
+
+
+
+ public ActData()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActData(Dictionary<string, object>)
+
+
+
+
+
+
+
+ public ActData(Dictionary<string, object> data)
+
+
+ Parameters
+
+ data
Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Data
+
+
+
+
+
+
+
+ public Dictionary<string, object> Data { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
index b0d77a3..e475246 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
@@ -213,8 +213,8 @@ Class ActLineBegin
-
- ActLineBegin(ISourceCommand)
+
+ ActLineBegin(IIndexedFileLine)
@@ -223,12 +223,12 @@ Class ActLineBegin
- public ActLineBegin(ISourceCommand sourceCommand)
+ public ActLineBegin(IIndexedFileLine sourceCommand)
Parameters
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command associated with this line beginning.
@@ -260,7 +260,7 @@ Class ActLineBegin
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -269,7 +269,7 @@ Class ActLineBegin
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
index cb16ac3..3509ff5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
@@ -292,7 +292,7 @@ Class ActLineEnd
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -301,7 +301,7 @@ Class ActLineEnd
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
new file mode 100644
index 0000000..34907de
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActSpindleDirection | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActSpindleDirection
+
+
+
+
+
+
+
+
+ public class ActSpindleDirection : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActSpindleDirection
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActSpindleDirection()
+
+
+
+ Initializes a new instance.
+
+
+
+
+ public ActSpindleDirection()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActSpindleDirection(SpindleDirection)
+
+
+
+
+
+
+
+ public ActSpindleDirection(SpindleDirection spindleDirection)
+
+
+ Parameters
+
+ spindleDirection
SpindleDirection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ SpindleDirection
+
+
+
+ Gets or sets the spindle rotation direction.
+
+
+
+
+ public SpindleDirection SpindleDirection { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SpindleDirection
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
index 8af839d..1e3235a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
@@ -212,38 +212,6 @@ Class ActSpindleSpeed
-
-
-
- SpindleDirection
-
-
-
- Gets or sets the spindle rotation direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
index 2b36500..44b712a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
@@ -117,6 +117,12 @@ Classes
- ActCooling
Represents a cooling action for machining operations.
+
+
+
+ - ActData
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
@@ -196,6 +202,10 @@ This class handles complex tool movements with both position and orientation con
Rapid feedrate.
+
+ - ActSpindleDirection
+
+
- ActSpindleSpeed
Represents an act that controls the spindle speed in numerical control operations.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
new file mode 100644
index 0000000..a5dba2a
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
@@ -0,0 +1,471 @@
+
+
+
+
+ Class CsvRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunner : IControlRunner
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunner
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ CsvRunner(PacePlayer, SessionMessageHost)
+
+
+
+
+
+
+
+ public CsvRunner(PacePlayer pacePlayer, SessionMessageHost sessionMessageHost)
+
+
+ Parameters
+
+ pacePlayer
PacePlayer
+
+ sessionMessageHost
SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Config
+
+
+
+
+
+
+
+ public CsvRunnerConfig Config { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - CsvRunnerConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SessionMessageHost
+
+
+
+ External Hosted.
+
+
+
+
+ public SessionMessageHost SessionMessageHost { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ Reset()
+
+
+
+ Reset runtime data.
+
+
+
+
+ public void Reset()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunToLineEnd()
+
+
+
+ Set EnumerablePlayer before use the function.
+
+
+
+
+ public void RunToLineEnd()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
new file mode 100644
index 0000000..6ab2a13
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
@@ -0,0 +1,522 @@
+
+
+
+
+ Class CsvRunnerConfig | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunnerConfig
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunnerConfig
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunnerConfig
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ CutterLocationPrefixTag
+
+
+
+ Cutter Location Prefix Tag for CSV Parsing.
+
+
+
+
+ public string CutterLocationPrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DurationTag
+
+
+
+
+
+
+
+ public string DurationTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FeedrateTag_mmdmin
+
+
+
+ Feedrate for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string FeedrateTag_mmdmin { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineBeginCsScriptTag
+
+
+
+ LineBeginCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineBeginCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineEndCsScriptTag
+
+
+
+ LineEndCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineEndCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MachineCoordinatePrefixTag
+
+
+
+ Machine Coordinate Prefix Tag for CSV Parsing.
+
+
+
+
+ public string MachineCoordinatePrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ParsingDictionary
+
+
+
+
+
+
+
+ public Dictionary<string, Func<string, object>> ParsingDictionary { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, Func<string, object>>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleDirectionTag
+
+
+
+ Spindle direction Tag for CSV Parsing.
+
+
+
+
+ public string SpindleDirectionTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleSpeedTag_rpm
+
+
+
+ Spindle speed for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string SpindleSpeedTag_rpm { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ToolIdTag
+
+
+
+ Tool ID Tag for CSV Parsing.
+
+
+
+
+ public string ToolIdTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
new file mode 100644
index 0000000..12cff17
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
@@ -0,0 +1,247 @@
+
+
+
+
+ Interface IControlRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Interface IControlRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
+
+
+
+
+ public interface IControlRunner
+
+
+
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
index 3ceffd3..f421ea3 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
@@ -102,7 +102,7 @@ Class NcRunner
- public class NcRunner
+ public class NcRunner : IControlRunner
@@ -116,6 +116,12 @@ Class NcRunner
+
+ - Implements
+ -
+
+
+
@@ -180,8 +186,8 @@ Class NcRunner
-
- NcRunner(NcEnv, SessionMessageHost)
+
+ NcRunner(PacePlayer, NcEnv, SessionMessageHost)
@@ -190,11 +196,13 @@ Class NcRunner
- public NcRunner(NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)
Parameters
+ pacePlayer
PacePlayer
+
ncEnv
NcEnv
The NC environment settings
@@ -314,6 +322,37 @@ Class NcRunner
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
@@ -350,10 +389,37 @@ Class NcRunner
-
+
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunner
- public IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunner
Returns
- - IEnumerable<(NcLine NcLine, IAct Act)>
+ - IEnumerable<SourceCommandActEntry>
Enumerable of NcLine and Act pairs
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
new file mode 100644
index 0000000..c88a807
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
@@ -0,0 +1,309 @@
+
+
+
+
+ Class SourceCommandActEntry | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class SourceCommandActEntry
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ SourceCommandActEntry
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ SourceCommandActEntry(IIndexedFileLine, IAct)
+
+
+
+
+
+
+
+ public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+
+
+ Parameters
+
+ SourceCommand
IIndexedFileLine
+
+ Act
IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Act
+
+
+
+
+
+
+
+ public IAct Act { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SourceCommand
+
+
+
+
+
+
+
+ public IIndexedFileLine SourceCommand { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IIndexedFileLine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
index a1f84b3..2a85897 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
@@ -94,9 +94,31 @@
Classes
+
+ - CsvRunner
+
+
+
+ - CsvRunnerConfig
+
+
- NcRunner
Provides functionality for running and processing NC code lines.
+
+
+
+ - SourceCommandActEntry
+
+
+
+Interfaces
+
+
+ - IControlRunner
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
index a5c0a20..ada38ff 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
@@ -102,7 +102,7 @@ Class NcLine
- public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
@@ -119,12 +119,12 @@ Class NcLine
- Implements
-
-
+
-
+
@@ -2221,20 +2221,18 @@ So be care that do not change the NC XYZ if not needed.
- Gets the source command associated with this instance.
-
+
- public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Returns
- - ISourceCommand
- The source command object.
-
+ - IIndexedFileLine
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
deleted file mode 100644
index d8761c3..0000000
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
+++ /dev/null
@@ -1,1333 +0,0 @@
-
-
-
-
- Class UniversalNcStep | HiAPI-C# 2025
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Class UniversalNcStep
-
-
-
- - Namespace
- Hi.UniversalNc
- - Assembly
- HiNc.dll
-
-
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
-
-
- public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
-
-
-
-
-
-
- - Inheritance
- -
-
- UniversalNcStep
-
-
-
-
- - Implements
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Inherited Members
- -
-
-
-
-
- object.GetType()
-
-
-
-
-
-
- - Extension Methods
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
-
-
-
-
- UniversalNcStep()
-
-
-
- Ctor.
-
-
-
-
- public UniversalNcStep()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- ColorGuide
-
-
-
- Gets or sets the color guide associated with this object.
-
-
-
-
- public IColorGuide ColorGuide { get; set; }
-
-
-
-
-
-
- Property Value
-
- - IColorGuide
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmdmin
-
-
-
- Feed rate in millimeters per minute.
-
-
-
-
- public double Feedrate_mmdmin { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmds
-
-
-
- Get feedrate in mm/s.
-
-
-
-
- public double Feedrate_mmds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileIndex
-
-
-
- File Index.
-Start on 0.
-
-
-
-
- public int FileIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileNo
-
-
-
- FileIndex+1.
-
-
-
-
- public int FileNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FilePath
-
-
-
- File path.
-
-
-
-
- public string FilePath { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- FlexDictionary
-
-
-
- Dictionary for storing flexible step properties as double values.
-
-
-
-
- public Dictionary<string, double> FlexDictionary { get; set; }
-
-
-
-
-
-
- Property Value
-
- - Dictionary<string, double>
-
-
-
-
-
-
-
-
-
-
-
-
-
- Line
-
-
-
- The line.
-
-
-
-
- public string Line { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineIndex
-
-
-
- Line Index.
-Start on 0.
-
-
-
-
- public int LineIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineNo
-
-
-
- LineIndex+1.
-
-
-
-
- public int LineNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingForce
-
-
-
- Milling force.
-
-
-
-
- public MillingForce MillingForce { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingForce
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingGeomBrief
-
-
-
- Gets or sets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief MillingGeomBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingGeomBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SeqPhysicsBrief
-
-
-
- Gets or sets the sequential physics brief.
-
-
-
-
- public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SeqPhysicsBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleDirection
-
-
-
- Spindle direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_radds
-
-
-
- Get spindle speed in rad/s.
-
-
-
-
- public double SpindleSpeed_radds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_rpm
-
-
-
- Spindle speed in revolutions per minute.
-
-
-
-
- public double SpindleSpeed_rpm { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepDuration_s
-
-
-
- Step duration. Unit is second.
-
-
-
-
- public double StepDuration_s { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepIndex
-
-
-
- Step index.
-
-
-
-
- public int StepIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToolId
-
-
-
- Get tool ID.
-
-
-
-
- public int ToolId { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
- tool ID
-
-
-
-
-
-
-
-
-
-
-
-
-
- WorkTime
-
-
-
- Worked time.
-
-
-
-
- public TimeSpan WorkTime { get; set; }
-
-
-
-
-
-
- Property Value
-
- - TimeSpan
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
- GetAxisPos(string)
-
-
-
- Get absolute position of the key
axis.
-
-
-
-
- public double GetAxisPos(string key)
-
-
- Parameters
-
- key
string
- axis name
-
-
-
- Returns
-
- - double
- absolute position of the key
axis
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetCsvDictionary()
-
-
-
- Get row dictionary.
-It suits for CSV output.
-
-
-
-
- public Dictionary<string, string> GetCsvDictionary()
-
-
-
- Returns
-
- - Dictionary<string, string>
- csv row dictionary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFeedrate_mmds()
-
-
-
- Gets the program feedrate in millimeters per second.
-
-
-
-
- public double GetFeedrate_mmds()
-
-
-
- Returns
-
- - double
- Feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFileLineIndex()
-
-
-
- Get FileLineIndex.
-
-
-
-
- public FileLineIndex GetFileLineIndex()
-
-
-
- Returns
-
- - FileLineIndex
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingForce()
-
-
-
- Get MillingForce.
-
-
-
-
- public MillingForce GetMillingForce()
-
-
-
- Returns
-
- - MillingForce
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingGeomBrief()
-
-
-
- Gets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief GetMillingGeomBrief()
-
-
-
- Returns
-
- - MillingGeomBrief
- The milling geometry brief information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetNcStep()
-
-
-
- Get controller state.
-
-
-
-
- public INcStep0 GetNcStep()
-
-
-
- Returns
-
- - INcStep0
- controller state
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetQuantityByKey(string)
-
-
-
- Gets a quantity value associated with the specified key.
-
-
-
-
- public double GetQuantityByKey(string key)
-
-
- Parameters
-
- key
string
- The key to look up
-
-
-
- Returns
-
- - double
- The quantity value associated with the key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleDirection()
-
-
-
- Gets the spindle rotation direction.
-
-
-
-
- public SpindleDirection GetSpindleDirection()
-
-
-
- Returns
-
- - SpindleDirection
- The spindle direction (clockwise, counterclockwise, or stopped)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleSpeed_radds()
-
-
-
- Gets the spindle speed in radians per second.
-
-
-
-
- public double GetSpindleSpeed_radds()
-
-
-
- Returns
-
- - double
- Spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetByRowDictionary(Dictionary<string, string>)
-
-
-
- Sets the properties of this object using values from a dictionary.
-
-
-
-
- public void SetByRowDictionary(Dictionary<string, string> src)
-
-
- Parameters
-
- src
Dictionary<string, string>
- Source dictionary containing property values as strings.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToString()
-
-
-
- Returns a string representation of this NC step.
-
-
-
-
- public override string ToString()
-
-
-
- Returns
-
- - string
- String representation of this step.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
index c28f350..dcfffe9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
@@ -99,11 +99,6 @@ Classes
A strongly-typed resource class, for looking up localized strings, etc.
-
- - UniversalNcStep
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/toc.html b/App/wwwroot/HiAPI-docsite/api/toc.html
index 7a580b3..463fae7 100644
--- a/App/wwwroot/HiAPI-docsite/api/toc.html
+++ b/App/wwwroot/HiAPI-docsite/api/toc.html
@@ -471,6 +471,9 @@
-
IGetIndexedFileLine
+ -
+ IIndexedFileLine
+
-
ILineChangedEventSupport
@@ -1337,14 +1340,11 @@
public void PlayNcFile(string rootDirectory, string relNcFilePath)
+ public void PlayNcFile(string baseDirectory, string relFilePath)
rootDirectory
stringRoot directory for resolving relative paths
+baseDirectory
stringBase directory for resolving relative paths
relNcFilePath
stringrelFilePath
stringRelative path to the NC file
+ ProcAct(IAct, IIndexedFileLine, CancellationToken?)
@@ -1867,7 +1931,7 @@ Since the folder can be moving with the configuration file.public IEnumerable<object> ProcAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+ public IEnumerable<object> ProcAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -1875,7 +1939,7 @@ Since the folder can be moving with the configuration file.act
IActThe act to process.
sourceCommand
ISourceCommandsourceCommand
IIndexedFileLineThe source command that triggered the act.
cancellationToken
CancellationToken?+ RunCsvFile(string, string) + +
+ + + + +public IEnumerable<Action> RunCsvFile(string baseDirectory, string relFilePath)
+ Parameters
+-
+
baseDirectory
string
+
+ relFilePath
string
+
+
Returns
+-
+
- IEnumerable<Action> + +
@@ -2046,107 +2148,16 @@ Since the folder can be moving with the configuration file.
- public IEnumerable<Action> RunNcFile(string rootDirectory, string relNcFilePath)
+ public IEnumerable<Action> RunNcFile(string baseDirectory, string relFilePath)
Parameters
- rootDirectory
string
- Root directory for resolving relative paths
-
- relNcFilePath
string
- Relative path to the NC file
-
-
-
- Returns
-
- - IEnumerable<Action>
- An enumerable of actions to be executed
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- RunNcFile(string, string, CancellationToken)
-
-
-
- Runs an NC file from the specified path with cancellation support.
-
-
-
-
- public IEnumerable<Action> RunNcFile(string rootDirectory, string relNcFilePath, CancellationToken cancellationToken)
-
-
- Parameters
-
- rootDirectory
string
- Root directory for resolving relative paths. If the value is null, BaseDirectory substitudes the value.
-
- relNcFilePath
string
- Relative path to the NC file
-
- cancellationToken
CancellationToken
- Token to monitor for cancellation requests
-
-
-
- Returns
-
- - IEnumerable<Action>
- An enumerable of actions to be executed
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
-
-
-
- Runs NC commands from raw text lines.
-
-
-
-
- public IEnumerable<Action> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
-
-
- Parameters
-
- relNcFilePath
string
- Name to associate with the NC program
-
- lines
IEnumerable<string>
- The NC command lines to execute
-
- cancellationToken
CancellationToken
- Token to monitor for cancellation requests
+ baseDirectory
string
+ Base directory for resolving relative paths. If the value is null, BaseDirectory substitudes the value.
+ relFilePath
string
+
Returns
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
index 2b97cbb..8922dc8 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MachiningSession.html
@@ -192,7 +192,7 @@ and managing session state.
- public ISourceCommand CurrentSourceCommand { get; set; }
+ public IIndexedFileLine CurrentSourceCommand { get; set; }
@@ -201,7 +201,7 @@ and managing session state.
Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
index ddf6ead..445bef9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.MillingActRunnerConfig.html
@@ -317,38 +317,6 @@ Note: This feature is pending testing.
-
-
-
- EnableExternalEvaluation
-
-
-
- Gets or sets whether external evaluation is enabled.
-
-
-
-
- public bool EnableExternalEvaluation { get; set; }
-
-
-
-
-
-
- Property Value
-
- - bool
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
index 7ee0ca3..ed00538 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeApi.html
@@ -2344,8 +2344,8 @@ public void Pause()
-
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
+ PlayAct(IAct, IIndexedFileLine, CancellationToken?)
@@ -2355,7 +2355,7 @@ public void Pause()
[JsAce]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -2363,7 +2363,7 @@ public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationT
act
IAct
The act to play.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
cancellationToken
CancellationToken?
@@ -2431,6 +2431,40 @@ public void PlayClTeleport(double x, double y, double z, double i, double j, dou
+
+
+
+ PlayCsvFile(string)
+
+
+
+ Plays an Csv file with the specified relative path.
+
+
+
+
+ [JsAce("PlayCsvFile($1\"csvFile\");")]
+public void PlayCsvFile(string relFilePath)
+
+
+ Parameters
+
+ relFilePath
string
+ Relative path to the CSV file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
index db3a162..5a4db0b 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
@@ -2951,26 +2951,26 @@ public void Pause()
-
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
+ PlayAct(IAct, IIndexedFileLine, CancellationToken?)
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
[JsAce]
[NonAction]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
act
IAct
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
cancellationToken
CancellationToken?
@@ -3031,6 +3031,41 @@ public void PlayClTeleport(double x, double y, double z, double i, double j, dou
+
+
+
+ PlayCsvFile(string)
+
+
+
+ Plays an CSV file with the specified relative path.
+
+
+
+
+ [JsAce("PlayCsvFile($1\"csvFile\");")]
+[HttpPost]
+public void PlayCsvFile(string relFilePath)
+
+
+ Parameters
+
+ relFilePath
string
+ Relative path to the CSV file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
index 0cb5836..056d581 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
@@ -289,12 +289,12 @@ gets null if the Gets or sets the direct source command from the data.
-gets null if the Data is not ISourceCommand.
+gets null if the Data is not IIndexedFileLine.
- public ISourceCommand DirectInstantSourceCommand { get; set; }
+ public IIndexedFileLine DirectInstantSourceCommand { get; set; }
@@ -303,7 +303,7 @@ gets null if the Property Value
- - ISourceCommand
+ - IIndexedFileLine
@@ -395,7 +395,7 @@ from
- public ISourceCommand InstantSourceCommand { get; }
+ public IIndexedFileLine InstantSourceCommand { get; }
@@ -404,7 +404,7 @@ from Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
index 39823de..6d4611d 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
@@ -374,7 +374,7 @@ The term stable means it is thread safe to access range from 0 to StableIndex(ex
- public ISourceCommand GetSourceCommand(SessionMessage machiningMessage)
+ public IIndexedFileLine GetSourceCommand(SessionMessage machiningMessage)
Parameters
@@ -386,7 +386,7 @@ The term stable means it is thread safe to access range from 0 to StableIndex(ex
Returns
- - ISourceCommand
+ - IIndexedFileLine
The source command that generated the message, or null if not found.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
index a787af7..a9e3816 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
@@ -358,7 +358,7 @@ Class SessionMessagePack
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -367,7 +367,7 @@ Class SessionMessagePack
Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
similarity index 82%
rename from App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
index 00932f2..ca51dc1 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
@@ -2,11 +2,11 @@
- Interface IGetSourceCommand | HiAPI-C# 2025
+ Interface IFlagText | HiAPI-C# 2025
-
+
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetSourceCommand
+
+Interface IFlagText
@@ -97,12 +97,12 @@ Interface IGetSourceCommand
- Assembly
- HiMech.dll
- Defines an interface for retrieving source command information.
+ temperary design for showing flag text.
- public interface IGetSourceCommand
+ public interface IFlagText
@@ -142,31 +142,34 @@ Interface IGetSourceCommand
- Methods
+ Properties
-
+
-
- GetSourceCommand()
+
+ FlagsText
- Gets the source command associated with this instance.
+ Gets the text representation of command flags.
- ISourceCommand GetSourceCommand()
+ [Present("NC Flag", "NC Flag", PhysicsUnit.None, "G")]
+string FlagsText { get; }
- Returns
+
+
+
+ Property Value
- - ISourceCommand
- The source command object.
-
+ - string
+
@@ -177,9 +180,6 @@ Interface IGetSourceCommand
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
index 7395b7c..a9e5448 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
@@ -102,7 +102,7 @@ Class MachiningStep
- public class MachiningStep : IGetSourceCommand, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
+ public class MachiningStep : IGetIndexedFileLine, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
@@ -119,7 +119,7 @@ Class MachiningStep
- Implements
-
-
+
@@ -199,8 +199,8 @@ Class MachiningStep
-
- MachiningStep(IMachiningStepHost, int, ISourceCommand, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
+
+ MachiningStep(IMachiningStepHost, int, IIndexedFileLine, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
@@ -209,7 +209,7 @@ Class MachiningStep
- public MachiningStep(IMachiningStepHost host, int stepIndex, ISourceCommand sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
+ public MachiningStep(IMachiningStepHost host, int stepIndex, IIndexedFileLine sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
Parameters
@@ -220,7 +220,7 @@ Class MachiningStep
stepIndex
int
The index of the step.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
machiningStep
MachineMotionStep
@@ -2795,7 +2795,7 @@ public List<double> SideCuspList_um { get; }
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -2804,7 +2804,7 @@ public List<double> SideCuspList_um { get; }
Property Value
@@ -3034,7 +3034,7 @@ public double? SpindleWorkingTemperatureRatio { get; }
- [Present("Step Duration", null, PhysicsUnit.sec, "ss\\.ffffff")]
+ [Present("Step Duration", "duration", PhysicsUnit.sec, "ss\\.ffffff")]
[JsAce(ClassExt = "MachiningStep")]
public TimeSpan StepDuration { get; }
@@ -3511,6 +3511,39 @@ public double GetCutterDermisTemperature_C(double depth_mm)
+
+
+
+ GetIndexedFileLine()
+
+
+
+ Gets the file line associated with this object.
+
+
+
+
+ public IndexedFileLine GetIndexedFileLine()
+
+
+
+ Returns
+
+ - IndexedFileLine
+ The file line object.
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3666,39 +3699,6 @@ public double? GetMcValue(int index)
-
-
-
- GetSourceCommand()
-
-
-
- Gets the source command associated with this instance.
-
-
-
-
- public ISourceCommand GetSourceCommand()
-
-
-
- Returns
-
- - ISourceCommand
- The source command object.
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3711,7 +3711,9 @@ public double? GetMcValue(int index)
- public SpindleDirection GetSpindleDirection()
+ [Present("Spindle Direction", "Spd.Dir.", PhysicsUnit.None, "G")]
+[JsAce(ClassExt = "MachiningStep")]
+public SpindleDirection GetSpindleDirection()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
index f3a5dcc..5761a41 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
@@ -134,8 +134,8 @@ Note that the spindle information is only for milling behavior.
Interfaces
- - IGetSourceCommand
- Defines an interface for retrieving source command information.
+ - IFlagText
+ temperary design for showing flag text.
@@ -143,11 +143,6 @@ Interfaces
Represents a host interface for milling steps that provides access to milling equipment and related resources.
-
- - ISourceCommand
- Represents a source command interface that provides access to file line information and command flags.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
similarity index 91%
rename from App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
index 1544f8b..156049e 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
@@ -2,9 +2,9 @@
- Interface IGetNcStep | HiAPI-C# 2025
+ Interface IGetNcStep0 | HiAPI-C# 2025
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetNcStep
+
+Interface IGetNcStep0
@@ -97,12 +97,12 @@ Interface IGetNcStep
- Assembly
- HiMech.dll
- Interface of GetNcStep()
+ Interface of GetNcStep()
- public interface IGetNcStep
+ public interface IGetNcStep0
@@ -146,9 +146,9 @@ Interface IGetNcStep
-
+
-
+
GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
index 2462794..3e1dda5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
@@ -104,7 +104,7 @@ Contains basic information of NC step.
- public interface INcStep0 : IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
+ public interface INcStep0 : IGetNcStep0, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
@@ -117,7 +117,7 @@ Contains basic information of NC step.
- Inherited Members
-
IGetFeedrate.GetFeedrate_mmds()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
index 03634d5..490edec 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
@@ -103,8 +103,8 @@ Classes
Interfaces
- - IGetNcStep
- Interface of GetNcStep()
+ - IGetNcStep0
+ Interface of GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
new file mode 100644
index 0000000..739bfe1
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActData | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActData
+
+
+
+
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
+
+
+
+
+ public class ActData : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActData
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActData()
+
+
+
+
+
+
+
+ public ActData()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActData(Dictionary<string, object>)
+
+
+
+
+
+
+
+ public ActData(Dictionary<string, object> data)
+
+
+ Parameters
+
+ data
Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Data
+
+
+
+
+
+
+
+ public Dictionary<string, object> Data { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
index b0d77a3..e475246 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
@@ -213,8 +213,8 @@ Class ActLineBegin
-
- ActLineBegin(ISourceCommand)
+
+ ActLineBegin(IIndexedFileLine)
@@ -223,12 +223,12 @@ Class ActLineBegin
- public ActLineBegin(ISourceCommand sourceCommand)
+ public ActLineBegin(IIndexedFileLine sourceCommand)
Parameters
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command associated with this line beginning.
@@ -260,7 +260,7 @@ Class ActLineBegin
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -269,7 +269,7 @@ Class ActLineBegin
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
index cb16ac3..3509ff5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
@@ -292,7 +292,7 @@ Class ActLineEnd
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -301,7 +301,7 @@ Class ActLineEnd
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
new file mode 100644
index 0000000..34907de
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActSpindleDirection | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActSpindleDirection
+
+
+
+
+
+
+
+
+ public class ActSpindleDirection : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActSpindleDirection
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActSpindleDirection()
+
+
+
+ Initializes a new instance.
+
+
+
+
+ public ActSpindleDirection()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActSpindleDirection(SpindleDirection)
+
+
+
+
+
+
+
+ public ActSpindleDirection(SpindleDirection spindleDirection)
+
+
+ Parameters
+
+ spindleDirection
SpindleDirection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ SpindleDirection
+
+
+
+ Gets or sets the spindle rotation direction.
+
+
+
+
+ public SpindleDirection SpindleDirection { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SpindleDirection
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
index 8af839d..1e3235a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
@@ -212,38 +212,6 @@ Class ActSpindleSpeed
-
-
-
- SpindleDirection
-
-
-
- Gets or sets the spindle rotation direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
index 2b36500..44b712a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
@@ -117,6 +117,12 @@ Classes
- ActCooling
Represents a cooling action for machining operations.
+
+
+
+ - ActData
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
@@ -196,6 +202,10 @@ This class handles complex tool movements with both position and orientation con
Rapid feedrate.
+
+ - ActSpindleDirection
+
+
- ActSpindleSpeed
Represents an act that controls the spindle speed in numerical control operations.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
new file mode 100644
index 0000000..a5dba2a
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
@@ -0,0 +1,471 @@
+
+
+
+
+ Class CsvRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunner : IControlRunner
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunner
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ CsvRunner(PacePlayer, SessionMessageHost)
+
+
+
+
+
+
+
+ public CsvRunner(PacePlayer pacePlayer, SessionMessageHost sessionMessageHost)
+
+
+ Parameters
+
+ pacePlayer
PacePlayer
+
+ sessionMessageHost
SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Config
+
+
+
+
+
+
+
+ public CsvRunnerConfig Config { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - CsvRunnerConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SessionMessageHost
+
+
+
+ External Hosted.
+
+
+
+
+ public SessionMessageHost SessionMessageHost { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ Reset()
+
+
+
+ Reset runtime data.
+
+
+
+
+ public void Reset()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunToLineEnd()
+
+
+
+ Set EnumerablePlayer before use the function.
+
+
+
+
+ public void RunToLineEnd()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
new file mode 100644
index 0000000..6ab2a13
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
@@ -0,0 +1,522 @@
+
+
+
+
+ Class CsvRunnerConfig | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunnerConfig
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunnerConfig
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunnerConfig
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ CutterLocationPrefixTag
+
+
+
+ Cutter Location Prefix Tag for CSV Parsing.
+
+
+
+
+ public string CutterLocationPrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DurationTag
+
+
+
+
+
+
+
+ public string DurationTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FeedrateTag_mmdmin
+
+
+
+ Feedrate for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string FeedrateTag_mmdmin { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineBeginCsScriptTag
+
+
+
+ LineBeginCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineBeginCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineEndCsScriptTag
+
+
+
+ LineEndCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineEndCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MachineCoordinatePrefixTag
+
+
+
+ Machine Coordinate Prefix Tag for CSV Parsing.
+
+
+
+
+ public string MachineCoordinatePrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ParsingDictionary
+
+
+
+
+
+
+
+ public Dictionary<string, Func<string, object>> ParsingDictionary { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, Func<string, object>>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleDirectionTag
+
+
+
+ Spindle direction Tag for CSV Parsing.
+
+
+
+
+ public string SpindleDirectionTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleSpeedTag_rpm
+
+
+
+ Spindle speed for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string SpindleSpeedTag_rpm { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ToolIdTag
+
+
+
+ Tool ID Tag for CSV Parsing.
+
+
+
+
+ public string ToolIdTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
new file mode 100644
index 0000000..12cff17
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
@@ -0,0 +1,247 @@
+
+
+
+
+ Interface IControlRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Interface IControlRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
+
+
+
+
+ public interface IControlRunner
+
+
+
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
index 3ceffd3..f421ea3 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
@@ -102,7 +102,7 @@ Class NcRunner
- public class NcRunner
+ public class NcRunner : IControlRunner
@@ -116,6 +116,12 @@ Class NcRunner
+
+ - Implements
+ -
+
+
+
@@ -180,8 +186,8 @@ Class NcRunner
-
- NcRunner(NcEnv, SessionMessageHost)
+
+ NcRunner(PacePlayer, NcEnv, SessionMessageHost)
@@ -190,11 +196,13 @@ Class NcRunner
- public NcRunner(NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)
Parameters
+ pacePlayer
PacePlayer
+
ncEnv
NcEnv
The NC environment settings
@@ -314,6 +322,37 @@ Class NcRunner
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
@@ -350,10 +389,37 @@ Class NcRunner
-
+
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunner
- public IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunner
Returns
- - IEnumerable<(NcLine NcLine, IAct Act)>
+ - IEnumerable<SourceCommandActEntry>
Enumerable of NcLine and Act pairs
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
new file mode 100644
index 0000000..c88a807
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
@@ -0,0 +1,309 @@
+
+
+
+
+ Class SourceCommandActEntry | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class SourceCommandActEntry
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ SourceCommandActEntry
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ SourceCommandActEntry(IIndexedFileLine, IAct)
+
+
+
+
+
+
+
+ public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+
+
+ Parameters
+
+ SourceCommand
IIndexedFileLine
+
+ Act
IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Act
+
+
+
+
+
+
+
+ public IAct Act { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SourceCommand
+
+
+
+
+
+
+
+ public IIndexedFileLine SourceCommand { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IIndexedFileLine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
index a1f84b3..2a85897 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
@@ -94,9 +94,31 @@
Classes
+
+ - CsvRunner
+
+
+
+ - CsvRunnerConfig
+
+
- NcRunner
Provides functionality for running and processing NC code lines.
+
+
+
+ - SourceCommandActEntry
+
+
+
+Interfaces
+
+
+ - IControlRunner
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
index a5c0a20..ada38ff 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
@@ -102,7 +102,7 @@ Class NcLine
- public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
@@ -119,12 +119,12 @@ Class NcLine
- Implements
-
-
+
-
+
@@ -2221,20 +2221,18 @@ So be care that do not change the NC XYZ if not needed.
- Gets the source command associated with this instance.
-
+
- public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Returns
- - ISourceCommand
- The source command object.
-
+ - IIndexedFileLine
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
deleted file mode 100644
index d8761c3..0000000
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
+++ /dev/null
@@ -1,1333 +0,0 @@
-
-
-
-
- Class UniversalNcStep | HiAPI-C# 2025
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Class UniversalNcStep
-
-
-
- - Namespace
- Hi.UniversalNc
- - Assembly
- HiNc.dll
-
-
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
-
-
- public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
-
-
-
-
-
-
- - Inheritance
- -
-
- UniversalNcStep
-
-
-
-
- - Implements
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Inherited Members
- -
-
-
-
-
- object.GetType()
-
-
-
-
-
-
- - Extension Methods
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
-
-
-
-
- UniversalNcStep()
-
-
-
- Ctor.
-
-
-
-
- public UniversalNcStep()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- ColorGuide
-
-
-
- Gets or sets the color guide associated with this object.
-
-
-
-
- public IColorGuide ColorGuide { get; set; }
-
-
-
-
-
-
- Property Value
-
- - IColorGuide
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmdmin
-
-
-
- Feed rate in millimeters per minute.
-
-
-
-
- public double Feedrate_mmdmin { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmds
-
-
-
- Get feedrate in mm/s.
-
-
-
-
- public double Feedrate_mmds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileIndex
-
-
-
- File Index.
-Start on 0.
-
-
-
-
- public int FileIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileNo
-
-
-
- FileIndex+1.
-
-
-
-
- public int FileNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FilePath
-
-
-
- File path.
-
-
-
-
- public string FilePath { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- FlexDictionary
-
-
-
- Dictionary for storing flexible step properties as double values.
-
-
-
-
- public Dictionary<string, double> FlexDictionary { get; set; }
-
-
-
-
-
-
- Property Value
-
- - Dictionary<string, double>
-
-
-
-
-
-
-
-
-
-
-
-
-
- Line
-
-
-
- The line.
-
-
-
-
- public string Line { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineIndex
-
-
-
- Line Index.
-Start on 0.
-
-
-
-
- public int LineIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineNo
-
-
-
- LineIndex+1.
-
-
-
-
- public int LineNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingForce
-
-
-
- Milling force.
-
-
-
-
- public MillingForce MillingForce { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingForce
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingGeomBrief
-
-
-
- Gets or sets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief MillingGeomBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingGeomBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SeqPhysicsBrief
-
-
-
- Gets or sets the sequential physics brief.
-
-
-
-
- public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SeqPhysicsBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleDirection
-
-
-
- Spindle direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_radds
-
-
-
- Get spindle speed in rad/s.
-
-
-
-
- public double SpindleSpeed_radds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_rpm
-
-
-
- Spindle speed in revolutions per minute.
-
-
-
-
- public double SpindleSpeed_rpm { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepDuration_s
-
-
-
- Step duration. Unit is second.
-
-
-
-
- public double StepDuration_s { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepIndex
-
-
-
- Step index.
-
-
-
-
- public int StepIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToolId
-
-
-
- Get tool ID.
-
-
-
-
- public int ToolId { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
- tool ID
-
-
-
-
-
-
-
-
-
-
-
-
-
- WorkTime
-
-
-
- Worked time.
-
-
-
-
- public TimeSpan WorkTime { get; set; }
-
-
-
-
-
-
- Property Value
-
- - TimeSpan
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
- GetAxisPos(string)
-
-
-
- Get absolute position of the key
axis.
-
-
-
-
- public double GetAxisPos(string key)
-
-
- Parameters
-
- key
string
- axis name
-
-
-
- Returns
-
- - double
- absolute position of the key
axis
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetCsvDictionary()
-
-
-
- Get row dictionary.
-It suits for CSV output.
-
-
-
-
- public Dictionary<string, string> GetCsvDictionary()
-
-
-
- Returns
-
- - Dictionary<string, string>
- csv row dictionary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFeedrate_mmds()
-
-
-
- Gets the program feedrate in millimeters per second.
-
-
-
-
- public double GetFeedrate_mmds()
-
-
-
- Returns
-
- - double
- Feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFileLineIndex()
-
-
-
- Get FileLineIndex.
-
-
-
-
- public FileLineIndex GetFileLineIndex()
-
-
-
- Returns
-
- - FileLineIndex
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingForce()
-
-
-
- Get MillingForce.
-
-
-
-
- public MillingForce GetMillingForce()
-
-
-
- Returns
-
- - MillingForce
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingGeomBrief()
-
-
-
- Gets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief GetMillingGeomBrief()
-
-
-
- Returns
-
- - MillingGeomBrief
- The milling geometry brief information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetNcStep()
-
-
-
- Get controller state.
-
-
-
-
- public INcStep0 GetNcStep()
-
-
-
- Returns
-
- - INcStep0
- controller state
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetQuantityByKey(string)
-
-
-
- Gets a quantity value associated with the specified key.
-
-
-
-
- public double GetQuantityByKey(string key)
-
-
- Parameters
-
- key
string
- The key to look up
-
-
-
- Returns
-
- - double
- The quantity value associated with the key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleDirection()
-
-
-
- Gets the spindle rotation direction.
-
-
-
-
- public SpindleDirection GetSpindleDirection()
-
-
-
- Returns
-
- - SpindleDirection
- The spindle direction (clockwise, counterclockwise, or stopped)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleSpeed_radds()
-
-
-
- Gets the spindle speed in radians per second.
-
-
-
-
- public double GetSpindleSpeed_radds()
-
-
-
- Returns
-
- - double
- Spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetByRowDictionary(Dictionary<string, string>)
-
-
-
- Sets the properties of this object using values from a dictionary.
-
-
-
-
- public void SetByRowDictionary(Dictionary<string, string> src)
-
-
- Parameters
-
- src
Dictionary<string, string>
- Source dictionary containing property values as strings.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToString()
-
-
-
- Returns a string representation of this NC step.
-
-
-
-
- public override string ToString()
-
-
-
- Returns
-
- - string
- String representation of this step.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
index c28f350..dcfffe9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
@@ -99,11 +99,6 @@ Classes
A strongly-typed resource class, for looking up localized strings, etc.
-
- - UniversalNcStep
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/toc.html b/App/wwwroot/HiAPI-docsite/api/toc.html
index 7a580b3..463fae7 100644
--- a/App/wwwroot/HiAPI-docsite/api/toc.html
+++ b/App/wwwroot/HiAPI-docsite/api/toc.html
@@ -471,6 +471,9 @@
-
IGetIndexedFileLine
+ -
+ IIndexedFileLine
+
-
ILineChangedEventSupport
@@ -1337,14 +1340,11 @@
public IEnumerable<Action> RunNcFile(string rootDirectory, string relNcFilePath)
+ public IEnumerable<Action> RunNcFile(string baseDirectory, string relFilePath)
rootDirectory
stringRoot directory for resolving relative paths
-relNcFilePath
stringRelative path to the NC file
-An enumerable of actions to be executed
-Runs an NC file from the specified path with cancellation support.
-public IEnumerable<Action> RunNcFile(string rootDirectory, string relNcFilePath, CancellationToken cancellationToken)
- rootDirectory
stringRoot directory for resolving relative paths. If the value is null, BaseDirectory substitudes the value.
-relNcFilePath
stringRelative path to the NC file
-cancellationToken
CancellationTokenToken to monitor for cancellation requests
-An enumerable of actions to be executed
-Runs NC commands from raw text lines.
-public IEnumerable<Action> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
- relNcFilePath
stringName to associate with the NC program
-lines
IEnumerable<string>The NC command lines to execute
-cancellationToken
CancellationTokenToken to monitor for cancellation requests
+baseDirectory
stringBase directory for resolving relative paths. If the value is null, BaseDirectory substitudes the value.
relFilePath
stringpublic ISourceCommand CurrentSourceCommand { get; set; }
+ public IIndexedFileLine CurrentSourceCommand { get; set; }
Gets or sets whether external evaluation is enabled.
-public bool EnableExternalEvaluation { get; set; }
-
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
+ PlayAct(IAct, IIndexedFileLine, CancellationToken?)
@@ -2355,7 +2355,7 @@ public void Pause()
[JsAce]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
@@ -2363,7 +2363,7 @@ public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationT
act
IAct
The act to play.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
cancellationToken
CancellationToken?
@@ -2431,6 +2431,40 @@ public void PlayClTeleport(double x, double y, double z, double i, double j, dou
+
+
+
+ PlayCsvFile(string)
+
+
+
+ Plays an Csv file with the specified relative path.
+
+
+
+
+ [JsAce("PlayCsvFile($1\"csvFile\");")]
+public void PlayCsvFile(string relFilePath)
+
+
+ Parameters
+
+ relFilePath
string
+ Relative path to the CSV file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
index db3a162..5a4db0b 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.RuntimeController.html
@@ -2951,26 +2951,26 @@ public void Pause()
-
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
+ PlayAct(IAct, IIndexedFileLine, CancellationToken?)
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
[JsAce]
[NonAction]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
act
IAct
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
cancellationToken
CancellationToken?
@@ -3031,6 +3031,41 @@ public void PlayClTeleport(double x, double y, double z, double i, double j, dou
+
+
+
+ PlayCsvFile(string)
+
+
+
+ Plays an CSV file with the specified relative path.
+
+
+
+
+ [JsAce("PlayCsvFile($1\"csvFile\");")]
+[HttpPost]
+public void PlayCsvFile(string relFilePath)
+
+
+ Parameters
+
+ relFilePath
string
+ Relative path to the CSV file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
index 0cb5836..056d581 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
@@ -289,12 +289,12 @@ gets null if the Gets or sets the direct source command from the data.
-gets null if the Data is not ISourceCommand.
+gets null if the Data is not IIndexedFileLine.
- public ISourceCommand DirectInstantSourceCommand { get; set; }
+ public IIndexedFileLine DirectInstantSourceCommand { get; set; }
@@ -303,7 +303,7 @@ gets null if the Property Value
- - ISourceCommand
+ - IIndexedFileLine
@@ -395,7 +395,7 @@ from
- public ISourceCommand InstantSourceCommand { get; }
+ public IIndexedFileLine InstantSourceCommand { get; }
@@ -404,7 +404,7 @@ from Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
index 39823de..6d4611d 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
@@ -374,7 +374,7 @@ The term stable means it is thread safe to access range from 0 to StableIndex(ex
- public ISourceCommand GetSourceCommand(SessionMessage machiningMessage)
+ public IIndexedFileLine GetSourceCommand(SessionMessage machiningMessage)
Parameters
@@ -386,7 +386,7 @@ The term stable means it is thread safe to access range from 0 to StableIndex(ex
Returns
- - ISourceCommand
+ - IIndexedFileLine
The source command that generated the message, or null if not found.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
index a787af7..a9e3816 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
@@ -358,7 +358,7 @@ Class SessionMessagePack
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -367,7 +367,7 @@ Class SessionMessagePack
Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
similarity index 82%
rename from App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
index 00932f2..ca51dc1 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
@@ -2,11 +2,11 @@
- Interface IGetSourceCommand | HiAPI-C# 2025
+ Interface IFlagText | HiAPI-C# 2025
-
+
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetSourceCommand
+
+Interface IFlagText
@@ -97,12 +97,12 @@ Interface IGetSourceCommand
- Assembly
- HiMech.dll
- Defines an interface for retrieving source command information.
+ temperary design for showing flag text.
- public interface IGetSourceCommand
+ public interface IFlagText
@@ -142,31 +142,34 @@ Interface IGetSourceCommand
- Methods
+ Properties
-
+
-
- GetSourceCommand()
+
+ FlagsText
- Gets the source command associated with this instance.
+ Gets the text representation of command flags.
- ISourceCommand GetSourceCommand()
+ [Present("NC Flag", "NC Flag", PhysicsUnit.None, "G")]
+string FlagsText { get; }
- Returns
+
+
+
+ Property Value
- - ISourceCommand
- The source command object.
-
+ - string
+
@@ -177,9 +180,6 @@ Interface IGetSourceCommand
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
index 7395b7c..a9e5448 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
@@ -102,7 +102,7 @@ Class MachiningStep
- public class MachiningStep : IGetSourceCommand, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
+ public class MachiningStep : IGetIndexedFileLine, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
@@ -119,7 +119,7 @@ Class MachiningStep
- Implements
-
-
+
@@ -199,8 +199,8 @@ Class MachiningStep
-
- MachiningStep(IMachiningStepHost, int, ISourceCommand, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
+
+ MachiningStep(IMachiningStepHost, int, IIndexedFileLine, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
@@ -209,7 +209,7 @@ Class MachiningStep
- public MachiningStep(IMachiningStepHost host, int stepIndex, ISourceCommand sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
+ public MachiningStep(IMachiningStepHost host, int stepIndex, IIndexedFileLine sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
Parameters
@@ -220,7 +220,7 @@ Class MachiningStep
stepIndex
int
The index of the step.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
machiningStep
MachineMotionStep
@@ -2795,7 +2795,7 @@ public List<double> SideCuspList_um { get; }
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -2804,7 +2804,7 @@ public List<double> SideCuspList_um { get; }
Property Value
@@ -3034,7 +3034,7 @@ public double? SpindleWorkingTemperatureRatio { get; }
- [Present("Step Duration", null, PhysicsUnit.sec, "ss\\.ffffff")]
+ [Present("Step Duration", "duration", PhysicsUnit.sec, "ss\\.ffffff")]
[JsAce(ClassExt = "MachiningStep")]
public TimeSpan StepDuration { get; }
@@ -3511,6 +3511,39 @@ public double GetCutterDermisTemperature_C(double depth_mm)
+
+
+
+ GetIndexedFileLine()
+
+
+
+ Gets the file line associated with this object.
+
+
+
+
+ public IndexedFileLine GetIndexedFileLine()
+
+
+
+ Returns
+
+ - IndexedFileLine
+ The file line object.
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3666,39 +3699,6 @@ public double? GetMcValue(int index)
-
-
-
- GetSourceCommand()
-
-
-
- Gets the source command associated with this instance.
-
-
-
-
- public ISourceCommand GetSourceCommand()
-
-
-
- Returns
-
- - ISourceCommand
- The source command object.
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3711,7 +3711,9 @@ public double? GetMcValue(int index)
- public SpindleDirection GetSpindleDirection()
+ [Present("Spindle Direction", "Spd.Dir.", PhysicsUnit.None, "G")]
+[JsAce(ClassExt = "MachiningStep")]
+public SpindleDirection GetSpindleDirection()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
index f3a5dcc..5761a41 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
@@ -134,8 +134,8 @@ Note that the spindle information is only for milling behavior.
Interfaces
- - IGetSourceCommand
- Defines an interface for retrieving source command information.
+ - IFlagText
+ temperary design for showing flag text.
@@ -143,11 +143,6 @@ Interfaces
Represents a host interface for milling steps that provides access to milling equipment and related resources.
-
- - ISourceCommand
- Represents a source command interface that provides access to file line information and command flags.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
similarity index 91%
rename from App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
index 1544f8b..156049e 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
@@ -2,9 +2,9 @@
- Interface IGetNcStep | HiAPI-C# 2025
+ Interface IGetNcStep0 | HiAPI-C# 2025
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetNcStep
+
+Interface IGetNcStep0
@@ -97,12 +97,12 @@ Interface IGetNcStep
- Assembly
- HiMech.dll
- Interface of GetNcStep()
+ Interface of GetNcStep()
- public interface IGetNcStep
+ public interface IGetNcStep0
@@ -146,9 +146,9 @@ Interface IGetNcStep
-
+
-
+
GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
index 2462794..3e1dda5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
@@ -104,7 +104,7 @@ Contains basic information of NC step.
- public interface INcStep0 : IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
+ public interface INcStep0 : IGetNcStep0, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
@@ -117,7 +117,7 @@ Contains basic information of NC step.
- Inherited Members
-
IGetFeedrate.GetFeedrate_mmds()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
index 03634d5..490edec 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
@@ -103,8 +103,8 @@ Classes
Interfaces
- - IGetNcStep
- Interface of GetNcStep()
+ - IGetNcStep0
+ Interface of GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
new file mode 100644
index 0000000..739bfe1
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActData | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActData
+
+
+
+
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
+
+
+
+
+ public class ActData : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActData
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActData()
+
+
+
+
+
+
+
+ public ActData()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActData(Dictionary<string, object>)
+
+
+
+
+
+
+
+ public ActData(Dictionary<string, object> data)
+
+
+ Parameters
+
+ data
Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Data
+
+
+
+
+
+
+
+ public Dictionary<string, object> Data { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
index b0d77a3..e475246 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
@@ -213,8 +213,8 @@ Class ActLineBegin
-
- ActLineBegin(ISourceCommand)
+
+ ActLineBegin(IIndexedFileLine)
@@ -223,12 +223,12 @@ Class ActLineBegin
- public ActLineBegin(ISourceCommand sourceCommand)
+ public ActLineBegin(IIndexedFileLine sourceCommand)
Parameters
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command associated with this line beginning.
@@ -260,7 +260,7 @@ Class ActLineBegin
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -269,7 +269,7 @@ Class ActLineBegin
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
index cb16ac3..3509ff5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
@@ -292,7 +292,7 @@ Class ActLineEnd
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -301,7 +301,7 @@ Class ActLineEnd
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
new file mode 100644
index 0000000..34907de
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActSpindleDirection | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActSpindleDirection
+
+
+
+
+
+
+
+
+ public class ActSpindleDirection : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActSpindleDirection
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActSpindleDirection()
+
+
+
+ Initializes a new instance.
+
+
+
+
+ public ActSpindleDirection()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActSpindleDirection(SpindleDirection)
+
+
+
+
+
+
+
+ public ActSpindleDirection(SpindleDirection spindleDirection)
+
+
+ Parameters
+
+ spindleDirection
SpindleDirection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ SpindleDirection
+
+
+
+ Gets or sets the spindle rotation direction.
+
+
+
+
+ public SpindleDirection SpindleDirection { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SpindleDirection
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
index 8af839d..1e3235a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
@@ -212,38 +212,6 @@ Class ActSpindleSpeed
-
-
-
- SpindleDirection
-
-
-
- Gets or sets the spindle rotation direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
index 2b36500..44b712a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
@@ -117,6 +117,12 @@ Classes
- ActCooling
Represents a cooling action for machining operations.
+
+
+
+ - ActData
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
@@ -196,6 +202,10 @@ This class handles complex tool movements with both position and orientation con
Rapid feedrate.
+
+ - ActSpindleDirection
+
+
- ActSpindleSpeed
Represents an act that controls the spindle speed in numerical control operations.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
new file mode 100644
index 0000000..a5dba2a
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
@@ -0,0 +1,471 @@
+
+
+
+
+ Class CsvRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunner : IControlRunner
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunner
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ CsvRunner(PacePlayer, SessionMessageHost)
+
+
+
+
+
+
+
+ public CsvRunner(PacePlayer pacePlayer, SessionMessageHost sessionMessageHost)
+
+
+ Parameters
+
+ pacePlayer
PacePlayer
+
+ sessionMessageHost
SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Config
+
+
+
+
+
+
+
+ public CsvRunnerConfig Config { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - CsvRunnerConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SessionMessageHost
+
+
+
+ External Hosted.
+
+
+
+
+ public SessionMessageHost SessionMessageHost { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ Reset()
+
+
+
+ Reset runtime data.
+
+
+
+
+ public void Reset()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunToLineEnd()
+
+
+
+ Set EnumerablePlayer before use the function.
+
+
+
+
+ public void RunToLineEnd()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
new file mode 100644
index 0000000..6ab2a13
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
@@ -0,0 +1,522 @@
+
+
+
+
+ Class CsvRunnerConfig | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunnerConfig
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunnerConfig
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunnerConfig
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ CutterLocationPrefixTag
+
+
+
+ Cutter Location Prefix Tag for CSV Parsing.
+
+
+
+
+ public string CutterLocationPrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DurationTag
+
+
+
+
+
+
+
+ public string DurationTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FeedrateTag_mmdmin
+
+
+
+ Feedrate for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string FeedrateTag_mmdmin { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineBeginCsScriptTag
+
+
+
+ LineBeginCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineBeginCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineEndCsScriptTag
+
+
+
+ LineEndCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineEndCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MachineCoordinatePrefixTag
+
+
+
+ Machine Coordinate Prefix Tag for CSV Parsing.
+
+
+
+
+ public string MachineCoordinatePrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ParsingDictionary
+
+
+
+
+
+
+
+ public Dictionary<string, Func<string, object>> ParsingDictionary { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, Func<string, object>>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleDirectionTag
+
+
+
+ Spindle direction Tag for CSV Parsing.
+
+
+
+
+ public string SpindleDirectionTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleSpeedTag_rpm
+
+
+
+ Spindle speed for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string SpindleSpeedTag_rpm { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ToolIdTag
+
+
+
+ Tool ID Tag for CSV Parsing.
+
+
+
+
+ public string ToolIdTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
new file mode 100644
index 0000000..12cff17
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
@@ -0,0 +1,247 @@
+
+
+
+
+ Interface IControlRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Interface IControlRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
+
+
+
+
+ public interface IControlRunner
+
+
+
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
index 3ceffd3..f421ea3 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
@@ -102,7 +102,7 @@ Class NcRunner
- public class NcRunner
+ public class NcRunner : IControlRunner
@@ -116,6 +116,12 @@ Class NcRunner
+
+ - Implements
+ -
+
+
+
@@ -180,8 +186,8 @@ Class NcRunner
-
- NcRunner(NcEnv, SessionMessageHost)
+
+ NcRunner(PacePlayer, NcEnv, SessionMessageHost)
@@ -190,11 +196,13 @@ Class NcRunner
- public NcRunner(NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)
Parameters
+ pacePlayer
PacePlayer
+
ncEnv
NcEnv
The NC environment settings
@@ -314,6 +322,37 @@ Class NcRunner
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
@@ -350,10 +389,37 @@ Class NcRunner
-
+
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunner
- public IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunner
Returns
- - IEnumerable<(NcLine NcLine, IAct Act)>
+ - IEnumerable<SourceCommandActEntry>
Enumerable of NcLine and Act pairs
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
new file mode 100644
index 0000000..c88a807
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
@@ -0,0 +1,309 @@
+
+
+
+
+ Class SourceCommandActEntry | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class SourceCommandActEntry
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ SourceCommandActEntry
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ SourceCommandActEntry(IIndexedFileLine, IAct)
+
+
+
+
+
+
+
+ public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+
+
+ Parameters
+
+ SourceCommand
IIndexedFileLine
+
+ Act
IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Act
+
+
+
+
+
+
+
+ public IAct Act { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SourceCommand
+
+
+
+
+
+
+
+ public IIndexedFileLine SourceCommand { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IIndexedFileLine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
index a1f84b3..2a85897 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
@@ -94,9 +94,31 @@
Classes
+
+ - CsvRunner
+
+
+
+ - CsvRunnerConfig
+
+
- NcRunner
Provides functionality for running and processing NC code lines.
+
+
+
+ - SourceCommandActEntry
+
+
+
+Interfaces
+
+
+ - IControlRunner
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
index a5c0a20..ada38ff 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
@@ -102,7 +102,7 @@ Class NcLine
- public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
@@ -119,12 +119,12 @@ Class NcLine
- Implements
-
-
+
-
+
@@ -2221,20 +2221,18 @@ So be care that do not change the NC XYZ if not needed.
- Gets the source command associated with this instance.
-
+
- public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Returns
- - ISourceCommand
- The source command object.
-
+ - IIndexedFileLine
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
deleted file mode 100644
index d8761c3..0000000
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
+++ /dev/null
@@ -1,1333 +0,0 @@
-
-
-
-
- Class UniversalNcStep | HiAPI-C# 2025
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Class UniversalNcStep
-
-
-
- - Namespace
- Hi.UniversalNc
- - Assembly
- HiNc.dll
-
-
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
-
-
- public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
-
-
-
-
-
-
- - Inheritance
- -
-
- UniversalNcStep
-
-
-
-
- - Implements
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Inherited Members
- -
-
-
-
-
- object.GetType()
-
-
-
-
-
-
- - Extension Methods
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
-
-
-
-
- UniversalNcStep()
-
-
-
- Ctor.
-
-
-
-
- public UniversalNcStep()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- ColorGuide
-
-
-
- Gets or sets the color guide associated with this object.
-
-
-
-
- public IColorGuide ColorGuide { get; set; }
-
-
-
-
-
-
- Property Value
-
- - IColorGuide
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmdmin
-
-
-
- Feed rate in millimeters per minute.
-
-
-
-
- public double Feedrate_mmdmin { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmds
-
-
-
- Get feedrate in mm/s.
-
-
-
-
- public double Feedrate_mmds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileIndex
-
-
-
- File Index.
-Start on 0.
-
-
-
-
- public int FileIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileNo
-
-
-
- FileIndex+1.
-
-
-
-
- public int FileNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FilePath
-
-
-
- File path.
-
-
-
-
- public string FilePath { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- FlexDictionary
-
-
-
- Dictionary for storing flexible step properties as double values.
-
-
-
-
- public Dictionary<string, double> FlexDictionary { get; set; }
-
-
-
-
-
-
- Property Value
-
- - Dictionary<string, double>
-
-
-
-
-
-
-
-
-
-
-
-
-
- Line
-
-
-
- The line.
-
-
-
-
- public string Line { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineIndex
-
-
-
- Line Index.
-Start on 0.
-
-
-
-
- public int LineIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineNo
-
-
-
- LineIndex+1.
-
-
-
-
- public int LineNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingForce
-
-
-
- Milling force.
-
-
-
-
- public MillingForce MillingForce { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingForce
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingGeomBrief
-
-
-
- Gets or sets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief MillingGeomBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingGeomBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SeqPhysicsBrief
-
-
-
- Gets or sets the sequential physics brief.
-
-
-
-
- public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SeqPhysicsBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleDirection
-
-
-
- Spindle direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_radds
-
-
-
- Get spindle speed in rad/s.
-
-
-
-
- public double SpindleSpeed_radds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_rpm
-
-
-
- Spindle speed in revolutions per minute.
-
-
-
-
- public double SpindleSpeed_rpm { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepDuration_s
-
-
-
- Step duration. Unit is second.
-
-
-
-
- public double StepDuration_s { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepIndex
-
-
-
- Step index.
-
-
-
-
- public int StepIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToolId
-
-
-
- Get tool ID.
-
-
-
-
- public int ToolId { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
- tool ID
-
-
-
-
-
-
-
-
-
-
-
-
-
- WorkTime
-
-
-
- Worked time.
-
-
-
-
- public TimeSpan WorkTime { get; set; }
-
-
-
-
-
-
- Property Value
-
- - TimeSpan
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
- GetAxisPos(string)
-
-
-
- Get absolute position of the key
axis.
-
-
-
-
- public double GetAxisPos(string key)
-
-
- Parameters
-
- key
string
- axis name
-
-
-
- Returns
-
- - double
- absolute position of the key
axis
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetCsvDictionary()
-
-
-
- Get row dictionary.
-It suits for CSV output.
-
-
-
-
- public Dictionary<string, string> GetCsvDictionary()
-
-
-
- Returns
-
- - Dictionary<string, string>
- csv row dictionary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFeedrate_mmds()
-
-
-
- Gets the program feedrate in millimeters per second.
-
-
-
-
- public double GetFeedrate_mmds()
-
-
-
- Returns
-
- - double
- Feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFileLineIndex()
-
-
-
- Get FileLineIndex.
-
-
-
-
- public FileLineIndex GetFileLineIndex()
-
-
-
- Returns
-
- - FileLineIndex
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingForce()
-
-
-
- Get MillingForce.
-
-
-
-
- public MillingForce GetMillingForce()
-
-
-
- Returns
-
- - MillingForce
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingGeomBrief()
-
-
-
- Gets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief GetMillingGeomBrief()
-
-
-
- Returns
-
- - MillingGeomBrief
- The milling geometry brief information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetNcStep()
-
-
-
- Get controller state.
-
-
-
-
- public INcStep0 GetNcStep()
-
-
-
- Returns
-
- - INcStep0
- controller state
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetQuantityByKey(string)
-
-
-
- Gets a quantity value associated with the specified key.
-
-
-
-
- public double GetQuantityByKey(string key)
-
-
- Parameters
-
- key
string
- The key to look up
-
-
-
- Returns
-
- - double
- The quantity value associated with the key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleDirection()
-
-
-
- Gets the spindle rotation direction.
-
-
-
-
- public SpindleDirection GetSpindleDirection()
-
-
-
- Returns
-
- - SpindleDirection
- The spindle direction (clockwise, counterclockwise, or stopped)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleSpeed_radds()
-
-
-
- Gets the spindle speed in radians per second.
-
-
-
-
- public double GetSpindleSpeed_radds()
-
-
-
- Returns
-
- - double
- Spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetByRowDictionary(Dictionary<string, string>)
-
-
-
- Sets the properties of this object using values from a dictionary.
-
-
-
-
- public void SetByRowDictionary(Dictionary<string, string> src)
-
-
- Parameters
-
- src
Dictionary<string, string>
- Source dictionary containing property values as strings.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToString()
-
-
-
- Returns a string representation of this NC step.
-
-
-
-
- public override string ToString()
-
-
-
- Returns
-
- - string
- String representation of this step.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
index c28f350..dcfffe9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
@@ -99,11 +99,6 @@ Classes
A strongly-typed resource class, for looking up localized strings, etc.
-
- - UniversalNcStep
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/toc.html b/App/wwwroot/HiAPI-docsite/api/toc.html
index 7a580b3..463fae7 100644
--- a/App/wwwroot/HiAPI-docsite/api/toc.html
+++ b/App/wwwroot/HiAPI-docsite/api/toc.html
@@ -471,6 +471,9 @@
-
IGetIndexedFileLine
+ -
+ IIndexedFileLine
+
-
ILineChangedEventSupport
@@ -1337,14 +1340,11 @@
[JsAce]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
act
IActThe act to play.
sourceCommand
ISourceCommandsourceCommand
IIndexedFileLineThe source command.
cancellationToken
CancellationToken?Plays an Csv file with the specified relative path.
+[JsAce("PlayCsvFile($1\"csvFile\");")]
+public void PlayCsvFile(string relFilePath)
+ relFilePath
stringRelative path to the CSV file
+
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
+ PlayAct(IAct, IIndexedFileLine, CancellationToken?)
- PlayAct(IAct, ISourceCommand, CancellationToken?)
+
[JsAce]
[NonAction]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
act
IAct
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
cancellationToken
CancellationToken?
@@ -3031,6 +3031,41 @@ public void PlayClTeleport(double x, double y, double z, double i, double j, dou
+
+
+
+ PlayCsvFile(string)
+
+
+
+ Plays an CSV file with the specified relative path.
+
+
+
+
+ [JsAce("PlayCsvFile($1\"csvFile\");")]
+[HttpPost]
+public void PlayCsvFile(string relFilePath)
+
+
+ Parameters
+
+ relFilePath
string
+ Relative path to the CSV file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
index 0cb5836..056d581 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
@@ -289,12 +289,12 @@ gets null if the Gets or sets the direct source command from the data.
-gets null if the Data is not ISourceCommand.
+gets null if the Data is not IIndexedFileLine.
- public ISourceCommand DirectInstantSourceCommand { get; set; }
+ public IIndexedFileLine DirectInstantSourceCommand { get; set; }
@@ -303,7 +303,7 @@ gets null if the Property Value
- - ISourceCommand
+ - IIndexedFileLine
@@ -395,7 +395,7 @@ from
- public ISourceCommand InstantSourceCommand { get; }
+ public IIndexedFileLine InstantSourceCommand { get; }
@@ -404,7 +404,7 @@ from Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
index 39823de..6d4611d 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessageHost.html
@@ -374,7 +374,7 @@ The term stable means it is thread safe to access range from 0 to StableIndex(ex
- public ISourceCommand GetSourceCommand(SessionMessage machiningMessage)
+ public IIndexedFileLine GetSourceCommand(SessionMessage machiningMessage)
Parameters
@@ -386,7 +386,7 @@ The term stable means it is thread safe to access range from 0 to StableIndex(ex
Returns
- - ISourceCommand
+ - IIndexedFileLine
The source command that generated the message, or null if not found.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
index a787af7..a9e3816 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessagePack.html
@@ -358,7 +358,7 @@ Class SessionMessagePack
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -367,7 +367,7 @@ Class SessionMessagePack
Property Value
- - ISourceCommand
+ - IIndexedFileLine
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
similarity index 82%
rename from App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
index 00932f2..ca51dc1 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IGetSourceCommand.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.IFlagText.html
@@ -2,11 +2,11 @@
- Interface IGetSourceCommand | HiAPI-C# 2025
+ Interface IFlagText | HiAPI-C# 2025
-
+
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetSourceCommand
+
+Interface IFlagText
@@ -97,12 +97,12 @@ Interface IGetSourceCommand
- Assembly
- HiMech.dll
- Defines an interface for retrieving source command information.
+ temperary design for showing flag text.
- public interface IGetSourceCommand
+ public interface IFlagText
@@ -142,31 +142,34 @@ Interface IGetSourceCommand
- Methods
+ Properties
-
+
-
- GetSourceCommand()
+
+ FlagsText
- Gets the source command associated with this instance.
+ Gets the text representation of command flags.
- ISourceCommand GetSourceCommand()
+ [Present("NC Flag", "NC Flag", PhysicsUnit.None, "G")]
+string FlagsText { get; }
- Returns
+
+
+
+ Property Value
- - ISourceCommand
- The source command object.
-
+ - string
+
@@ -177,9 +180,6 @@ Interface IGetSourceCommand
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
index 7395b7c..a9e5448 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
@@ -102,7 +102,7 @@ Class MachiningStep
- public class MachiningStep : IGetSourceCommand, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
+ public class MachiningStep : IGetIndexedFileLine, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
@@ -119,7 +119,7 @@ Class MachiningStep
- Implements
-
-
+
@@ -199,8 +199,8 @@ Class MachiningStep
-
- MachiningStep(IMachiningStepHost, int, ISourceCommand, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
+
+ MachiningStep(IMachiningStepHost, int, IIndexedFileLine, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
@@ -209,7 +209,7 @@ Class MachiningStep
- public MachiningStep(IMachiningStepHost host, int stepIndex, ISourceCommand sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
+ public MachiningStep(IMachiningStepHost host, int stepIndex, IIndexedFileLine sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
Parameters
@@ -220,7 +220,7 @@ Class MachiningStep
stepIndex
int
The index of the step.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
machiningStep
MachineMotionStep
@@ -2795,7 +2795,7 @@ public List<double> SideCuspList_um { get; }
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -2804,7 +2804,7 @@ public List<double> SideCuspList_um { get; }
Property Value
@@ -3034,7 +3034,7 @@ public double? SpindleWorkingTemperatureRatio { get; }
- [Present("Step Duration", null, PhysicsUnit.sec, "ss\\.ffffff")]
+ [Present("Step Duration", "duration", PhysicsUnit.sec, "ss\\.ffffff")]
[JsAce(ClassExt = "MachiningStep")]
public TimeSpan StepDuration { get; }
@@ -3511,6 +3511,39 @@ public double GetCutterDermisTemperature_C(double depth_mm)
+
+
+
+ GetIndexedFileLine()
+
+
+
+ Gets the file line associated with this object.
+
+
+
+
+ public IndexedFileLine GetIndexedFileLine()
+
+
+
+ Returns
+
+ - IndexedFileLine
+ The file line object.
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3666,39 +3699,6 @@ public double? GetMcValue(int index)
-
-
-
- GetSourceCommand()
-
-
-
- Gets the source command associated with this instance.
-
-
-
-
- public ISourceCommand GetSourceCommand()
-
-
-
- Returns
-
- - ISourceCommand
- The source command object.
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3711,7 +3711,9 @@ public double? GetMcValue(int index)
- public SpindleDirection GetSpindleDirection()
+ [Present("Spindle Direction", "Spd.Dir.", PhysicsUnit.None, "G")]
+[JsAce(ClassExt = "MachiningStep")]
+public SpindleDirection GetSpindleDirection()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
index f3a5dcc..5761a41 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
@@ -134,8 +134,8 @@ Note that the spindle information is only for milling behavior.
Interfaces
- - IGetSourceCommand
- Defines an interface for retrieving source command information.
+ - IFlagText
+ temperary design for showing flag text.
@@ -143,11 +143,6 @@ Interfaces
Represents a host interface for milling steps that provides access to milling equipment and related resources.
-
- - ISourceCommand
- Represents a source command interface that provides access to file line information and command flags.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
similarity index 91%
rename from App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
index 1544f8b..156049e 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
@@ -2,9 +2,9 @@
- Interface IGetNcStep | HiAPI-C# 2025
+ Interface IGetNcStep0 | HiAPI-C# 2025
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetNcStep
+
+Interface IGetNcStep0
@@ -97,12 +97,12 @@ Interface IGetNcStep
- Assembly
- HiMech.dll
- Interface of GetNcStep()
+ Interface of GetNcStep()
- public interface IGetNcStep
+ public interface IGetNcStep0
@@ -146,9 +146,9 @@ Interface IGetNcStep
-
+
-
+
GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
index 2462794..3e1dda5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
@@ -104,7 +104,7 @@ Contains basic information of NC step.
- public interface INcStep0 : IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
+ public interface INcStep0 : IGetNcStep0, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
@@ -117,7 +117,7 @@ Contains basic information of NC step.
- Inherited Members
-
IGetFeedrate.GetFeedrate_mmds()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
index 03634d5..490edec 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
@@ -103,8 +103,8 @@ Classes
Interfaces
- - IGetNcStep
- Interface of GetNcStep()
+ - IGetNcStep0
+ Interface of GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
new file mode 100644
index 0000000..739bfe1
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActData | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActData
+
+
+
+
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
+
+
+
+
+ public class ActData : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActData
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActData()
+
+
+
+
+
+
+
+ public ActData()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActData(Dictionary<string, object>)
+
+
+
+
+
+
+
+ public ActData(Dictionary<string, object> data)
+
+
+ Parameters
+
+ data
Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Data
+
+
+
+
+
+
+
+ public Dictionary<string, object> Data { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
index b0d77a3..e475246 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
@@ -213,8 +213,8 @@ Class ActLineBegin
-
- ActLineBegin(ISourceCommand)
+
+ ActLineBegin(IIndexedFileLine)
@@ -223,12 +223,12 @@ Class ActLineBegin
- public ActLineBegin(ISourceCommand sourceCommand)
+ public ActLineBegin(IIndexedFileLine sourceCommand)
Parameters
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command associated with this line beginning.
@@ -260,7 +260,7 @@ Class ActLineBegin
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -269,7 +269,7 @@ Class ActLineBegin
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
index cb16ac3..3509ff5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
@@ -292,7 +292,7 @@ Class ActLineEnd
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -301,7 +301,7 @@ Class ActLineEnd
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
new file mode 100644
index 0000000..34907de
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActSpindleDirection | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActSpindleDirection
+
+
+
+
+
+
+
+
+ public class ActSpindleDirection : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActSpindleDirection
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActSpindleDirection()
+
+
+
+ Initializes a new instance.
+
+
+
+
+ public ActSpindleDirection()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActSpindleDirection(SpindleDirection)
+
+
+
+
+
+
+
+ public ActSpindleDirection(SpindleDirection spindleDirection)
+
+
+ Parameters
+
+ spindleDirection
SpindleDirection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ SpindleDirection
+
+
+
+ Gets or sets the spindle rotation direction.
+
+
+
+
+ public SpindleDirection SpindleDirection { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SpindleDirection
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
index 8af839d..1e3235a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
@@ -212,38 +212,6 @@ Class ActSpindleSpeed
-
-
-
- SpindleDirection
-
-
-
- Gets or sets the spindle rotation direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
index 2b36500..44b712a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
@@ -117,6 +117,12 @@ Classes
- ActCooling
Represents a cooling action for machining operations.
+
+
+
+ - ActData
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
@@ -196,6 +202,10 @@ This class handles complex tool movements with both position and orientation con
Rapid feedrate.
+
+ - ActSpindleDirection
+
+
- ActSpindleSpeed
Represents an act that controls the spindle speed in numerical control operations.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
new file mode 100644
index 0000000..a5dba2a
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
@@ -0,0 +1,471 @@
+
+
+
+
+ Class CsvRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunner : IControlRunner
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunner
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ CsvRunner(PacePlayer, SessionMessageHost)
+
+
+
+
+
+
+
+ public CsvRunner(PacePlayer pacePlayer, SessionMessageHost sessionMessageHost)
+
+
+ Parameters
+
+ pacePlayer
PacePlayer
+
+ sessionMessageHost
SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Config
+
+
+
+
+
+
+
+ public CsvRunnerConfig Config { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - CsvRunnerConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SessionMessageHost
+
+
+
+ External Hosted.
+
+
+
+
+ public SessionMessageHost SessionMessageHost { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ Reset()
+
+
+
+ Reset runtime data.
+
+
+
+
+ public void Reset()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunToLineEnd()
+
+
+
+ Set EnumerablePlayer before use the function.
+
+
+
+
+ public void RunToLineEnd()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
new file mode 100644
index 0000000..6ab2a13
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
@@ -0,0 +1,522 @@
+
+
+
+
+ Class CsvRunnerConfig | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunnerConfig
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunnerConfig
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunnerConfig
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ CutterLocationPrefixTag
+
+
+
+ Cutter Location Prefix Tag for CSV Parsing.
+
+
+
+
+ public string CutterLocationPrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DurationTag
+
+
+
+
+
+
+
+ public string DurationTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FeedrateTag_mmdmin
+
+
+
+ Feedrate for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string FeedrateTag_mmdmin { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineBeginCsScriptTag
+
+
+
+ LineBeginCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineBeginCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineEndCsScriptTag
+
+
+
+ LineEndCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineEndCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MachineCoordinatePrefixTag
+
+
+
+ Machine Coordinate Prefix Tag for CSV Parsing.
+
+
+
+
+ public string MachineCoordinatePrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ParsingDictionary
+
+
+
+
+
+
+
+ public Dictionary<string, Func<string, object>> ParsingDictionary { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, Func<string, object>>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleDirectionTag
+
+
+
+ Spindle direction Tag for CSV Parsing.
+
+
+
+
+ public string SpindleDirectionTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleSpeedTag_rpm
+
+
+
+ Spindle speed for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string SpindleSpeedTag_rpm { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ToolIdTag
+
+
+
+ Tool ID Tag for CSV Parsing.
+
+
+
+
+ public string ToolIdTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
new file mode 100644
index 0000000..12cff17
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
@@ -0,0 +1,247 @@
+
+
+
+
+ Interface IControlRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Interface IControlRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
+
+
+
+
+ public interface IControlRunner
+
+
+
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
index 3ceffd3..f421ea3 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
@@ -102,7 +102,7 @@ Class NcRunner
- public class NcRunner
+ public class NcRunner : IControlRunner
@@ -116,6 +116,12 @@ Class NcRunner
+
+ - Implements
+ -
+
+
+
@@ -180,8 +186,8 @@ Class NcRunner
-
- NcRunner(NcEnv, SessionMessageHost)
+
+ NcRunner(PacePlayer, NcEnv, SessionMessageHost)
@@ -190,11 +196,13 @@ Class NcRunner
- public NcRunner(NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)
Parameters
+ pacePlayer
PacePlayer
+
ncEnv
NcEnv
The NC environment settings
@@ -314,6 +322,37 @@ Class NcRunner
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
@@ -350,10 +389,37 @@ Class NcRunner
-
+
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunner
- public IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunner
Returns
- - IEnumerable<(NcLine NcLine, IAct Act)>
+ - IEnumerable<SourceCommandActEntry>
Enumerable of NcLine and Act pairs
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
new file mode 100644
index 0000000..c88a807
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
@@ -0,0 +1,309 @@
+
+
+
+
+ Class SourceCommandActEntry | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class SourceCommandActEntry
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ SourceCommandActEntry
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ SourceCommandActEntry(IIndexedFileLine, IAct)
+
+
+
+
+
+
+
+ public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+
+
+ Parameters
+
+ SourceCommand
IIndexedFileLine
+
+ Act
IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Act
+
+
+
+
+
+
+
+ public IAct Act { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SourceCommand
+
+
+
+
+
+
+
+ public IIndexedFileLine SourceCommand { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IIndexedFileLine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
index a1f84b3..2a85897 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
@@ -94,9 +94,31 @@
Classes
+
+ - CsvRunner
+
+
+
+ - CsvRunnerConfig
+
+
- NcRunner
Provides functionality for running and processing NC code lines.
+
+
+
+ - SourceCommandActEntry
+
+
+
+Interfaces
+
+
+ - IControlRunner
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
index a5c0a20..ada38ff 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
@@ -102,7 +102,7 @@ Class NcLine
- public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
@@ -119,12 +119,12 @@ Class NcLine
- Implements
-
-
+
-
+
@@ -2221,20 +2221,18 @@ So be care that do not change the NC XYZ if not needed.
- Gets the source command associated with this instance.
-
+
- public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Returns
- - ISourceCommand
- The source command object.
-
+ - IIndexedFileLine
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
deleted file mode 100644
index d8761c3..0000000
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
+++ /dev/null
@@ -1,1333 +0,0 @@
-
-
-
-
- Class UniversalNcStep | HiAPI-C# 2025
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Class UniversalNcStep
-
-
-
- - Namespace
- Hi.UniversalNc
- - Assembly
- HiNc.dll
-
-
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
-
-
- public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
-
-
-
-
-
-
- - Inheritance
- -
-
- UniversalNcStep
-
-
-
-
- - Implements
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Inherited Members
- -
-
-
-
-
- object.GetType()
-
-
-
-
-
-
- - Extension Methods
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
-
-
-
-
- UniversalNcStep()
-
-
-
- Ctor.
-
-
-
-
- public UniversalNcStep()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- ColorGuide
-
-
-
- Gets or sets the color guide associated with this object.
-
-
-
-
- public IColorGuide ColorGuide { get; set; }
-
-
-
-
-
-
- Property Value
-
- - IColorGuide
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmdmin
-
-
-
- Feed rate in millimeters per minute.
-
-
-
-
- public double Feedrate_mmdmin { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmds
-
-
-
- Get feedrate in mm/s.
-
-
-
-
- public double Feedrate_mmds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileIndex
-
-
-
- File Index.
-Start on 0.
-
-
-
-
- public int FileIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileNo
-
-
-
- FileIndex+1.
-
-
-
-
- public int FileNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FilePath
-
-
-
- File path.
-
-
-
-
- public string FilePath { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- FlexDictionary
-
-
-
- Dictionary for storing flexible step properties as double values.
-
-
-
-
- public Dictionary<string, double> FlexDictionary { get; set; }
-
-
-
-
-
-
- Property Value
-
- - Dictionary<string, double>
-
-
-
-
-
-
-
-
-
-
-
-
-
- Line
-
-
-
- The line.
-
-
-
-
- public string Line { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineIndex
-
-
-
- Line Index.
-Start on 0.
-
-
-
-
- public int LineIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineNo
-
-
-
- LineIndex+1.
-
-
-
-
- public int LineNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingForce
-
-
-
- Milling force.
-
-
-
-
- public MillingForce MillingForce { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingForce
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingGeomBrief
-
-
-
- Gets or sets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief MillingGeomBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingGeomBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SeqPhysicsBrief
-
-
-
- Gets or sets the sequential physics brief.
-
-
-
-
- public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SeqPhysicsBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleDirection
-
-
-
- Spindle direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_radds
-
-
-
- Get spindle speed in rad/s.
-
-
-
-
- public double SpindleSpeed_radds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_rpm
-
-
-
- Spindle speed in revolutions per minute.
-
-
-
-
- public double SpindleSpeed_rpm { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepDuration_s
-
-
-
- Step duration. Unit is second.
-
-
-
-
- public double StepDuration_s { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepIndex
-
-
-
- Step index.
-
-
-
-
- public int StepIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToolId
-
-
-
- Get tool ID.
-
-
-
-
- public int ToolId { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
- tool ID
-
-
-
-
-
-
-
-
-
-
-
-
-
- WorkTime
-
-
-
- Worked time.
-
-
-
-
- public TimeSpan WorkTime { get; set; }
-
-
-
-
-
-
- Property Value
-
- - TimeSpan
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
- GetAxisPos(string)
-
-
-
- Get absolute position of the key
axis.
-
-
-
-
- public double GetAxisPos(string key)
-
-
- Parameters
-
- key
string
- axis name
-
-
-
- Returns
-
- - double
- absolute position of the key
axis
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetCsvDictionary()
-
-
-
- Get row dictionary.
-It suits for CSV output.
-
-
-
-
- public Dictionary<string, string> GetCsvDictionary()
-
-
-
- Returns
-
- - Dictionary<string, string>
- csv row dictionary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFeedrate_mmds()
-
-
-
- Gets the program feedrate in millimeters per second.
-
-
-
-
- public double GetFeedrate_mmds()
-
-
-
- Returns
-
- - double
- Feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFileLineIndex()
-
-
-
- Get FileLineIndex.
-
-
-
-
- public FileLineIndex GetFileLineIndex()
-
-
-
- Returns
-
- - FileLineIndex
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingForce()
-
-
-
- Get MillingForce.
-
-
-
-
- public MillingForce GetMillingForce()
-
-
-
- Returns
-
- - MillingForce
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingGeomBrief()
-
-
-
- Gets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief GetMillingGeomBrief()
-
-
-
- Returns
-
- - MillingGeomBrief
- The milling geometry brief information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetNcStep()
-
-
-
- Get controller state.
-
-
-
-
- public INcStep0 GetNcStep()
-
-
-
- Returns
-
- - INcStep0
- controller state
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetQuantityByKey(string)
-
-
-
- Gets a quantity value associated with the specified key.
-
-
-
-
- public double GetQuantityByKey(string key)
-
-
- Parameters
-
- key
string
- The key to look up
-
-
-
- Returns
-
- - double
- The quantity value associated with the key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleDirection()
-
-
-
- Gets the spindle rotation direction.
-
-
-
-
- public SpindleDirection GetSpindleDirection()
-
-
-
- Returns
-
- - SpindleDirection
- The spindle direction (clockwise, counterclockwise, or stopped)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleSpeed_radds()
-
-
-
- Gets the spindle speed in radians per second.
-
-
-
-
- public double GetSpindleSpeed_radds()
-
-
-
- Returns
-
- - double
- Spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetByRowDictionary(Dictionary<string, string>)
-
-
-
- Sets the properties of this object using values from a dictionary.
-
-
-
-
- public void SetByRowDictionary(Dictionary<string, string> src)
-
-
- Parameters
-
- src
Dictionary<string, string>
- Source dictionary containing property values as strings.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToString()
-
-
-
- Returns a string representation of this NC step.
-
-
-
-
- public override string ToString()
-
-
-
- Returns
-
- - string
- String representation of this step.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
index c28f350..dcfffe9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
@@ -99,11 +99,6 @@ Classes
A strongly-typed resource class, for looking up localized strings, etc.
-
- - UniversalNcStep
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/toc.html b/App/wwwroot/HiAPI-docsite/api/toc.html
index 7a580b3..463fae7 100644
--- a/App/wwwroot/HiAPI-docsite/api/toc.html
+++ b/App/wwwroot/HiAPI-docsite/api/toc.html
@@ -471,6 +471,9 @@
-
IGetIndexedFileLine
+ -
+ IIndexedFileLine
+
-
ILineChangedEventSupport
@@ -1337,14 +1340,11 @@
PlayAct(IAct, ISourceCommand, CancellationToken?)
+[JsAce]
[NonAction]
-public void PlayAct(IAct act, ISourceCommand sourceCommand = null, CancellationToken? cancellationToken = null)
+public void PlayAct(IAct act, IIndexedFileLine sourceCommand = null, CancellationToken? cancellationToken = null)
Parameters
act
IAct
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLinecancellationToken
CancellationToken?
@@ -3031,6 +3031,41 @@ public void PlayClTeleport(double x, double y, double z, double i, double j, dou
+
+
+ relFilePath
string
+ Relative path to the CSV file
+
+
+ PlayCsvFile(string) + +
+ +Plays an CSV file with the specified relative path.
+[JsAce("PlayCsvFile($1\"csvFile\");")]
+[HttpPost]
+public void PlayCsvFile(string relFilePath)
+ Parameters
+-
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
index 0cb5836..056d581 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningProcs.SessionMessage.html
@@ -289,12 +289,12 @@ gets null if the Gets or sets the direct source command from the data.
-gets null if the Data is not ISourceCommand.
+gets null if the Data is not IIndexedFileLine.
public ISourceCommand DirectInstantSourceCommand { get; set; }
+ public IIndexedFileLine DirectInstantSourceCommand { get; set; }
public ISourceCommand InstantSourceCommand { get; }
+ public IIndexedFileLine InstantSourceCommand { get; }
public ISourceCommand GetSourceCommand(SessionMessage machiningMessage)
+ public IIndexedFileLine GetSourceCommand(SessionMessage machiningMessage)
The source command that generated the message, or null if not found.
public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
-Interface IGetSourceCommand
+
+Interface IFlagText
@@ -97,12 +97,12 @@ Interface IGetSourceCommand
- Assembly
- HiMech.dll
- Defines an interface for retrieving source command information.
+ temperary design for showing flag text.
- public interface IGetSourceCommand
+ public interface IFlagText
@@ -142,31 +142,34 @@ Interface IGetSourceCommand
- Methods
+ Properties
-
+
-
- GetSourceCommand()
+
+ FlagsText
- Gets the source command associated with this instance.
+ Gets the text representation of command flags.
- ISourceCommand GetSourceCommand()
+ [Present("NC Flag", "NC Flag", PhysicsUnit.None, "G")]
+string FlagsText { get; }
- Returns
+
+
+
+ Property Value
- - ISourceCommand
- The source command object.
-
+ - string
+
@@ -177,9 +180,6 @@ Interface IGetSourceCommand
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
index 7395b7c..a9e5448 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
@@ -102,7 +102,7 @@ Class MachiningStep
- public class MachiningStep : IGetSourceCommand, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
+ public class MachiningStep : IGetIndexedFileLine, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
@@ -119,7 +119,7 @@ Class MachiningStep
- Implements
-
-
+
@@ -199,8 +199,8 @@ Class MachiningStep
-
- MachiningStep(IMachiningStepHost, int, ISourceCommand, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
+
+ MachiningStep(IMachiningStepHost, int, IIndexedFileLine, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
@@ -209,7 +209,7 @@ Class MachiningStep
- public MachiningStep(IMachiningStepHost host, int stepIndex, ISourceCommand sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
+ public MachiningStep(IMachiningStepHost host, int stepIndex, IIndexedFileLine sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
Parameters
@@ -220,7 +220,7 @@ Class MachiningStep
stepIndex
int
The index of the step.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
machiningStep
MachineMotionStep
@@ -2795,7 +2795,7 @@ public List<double> SideCuspList_um { get; }
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -2804,7 +2804,7 @@ public List<double> SideCuspList_um { get; }
Property Value
@@ -3034,7 +3034,7 @@ public double? SpindleWorkingTemperatureRatio { get; }
- [Present("Step Duration", null, PhysicsUnit.sec, "ss\\.ffffff")]
+ [Present("Step Duration", "duration", PhysicsUnit.sec, "ss\\.ffffff")]
[JsAce(ClassExt = "MachiningStep")]
public TimeSpan StepDuration { get; }
@@ -3511,6 +3511,39 @@ public double GetCutterDermisTemperature_C(double depth_mm)
+
+
+
+ GetIndexedFileLine()
+
+
+
+ Gets the file line associated with this object.
+
+
+
+
+ public IndexedFileLine GetIndexedFileLine()
+
+
+
+ Returns
+
+ - IndexedFileLine
+ The file line object.
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3666,39 +3699,6 @@ public double? GetMcValue(int index)
-
-
-
- GetSourceCommand()
-
-
-
- Gets the source command associated with this instance.
-
-
-
-
- public ISourceCommand GetSourceCommand()
-
-
-
- Returns
-
- - ISourceCommand
- The source command object.
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3711,7 +3711,9 @@ public double? GetMcValue(int index)
- public SpindleDirection GetSpindleDirection()
+ [Present("Spindle Direction", "Spd.Dir.", PhysicsUnit.None, "G")]
+[JsAce(ClassExt = "MachiningStep")]
+public SpindleDirection GetSpindleDirection()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
index f3a5dcc..5761a41 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
@@ -134,8 +134,8 @@ Note that the spindle information is only for milling behavior.
Interfaces
- - IGetSourceCommand
- Defines an interface for retrieving source command information.
+ - IFlagText
+ temperary design for showing flag text.
@@ -143,11 +143,6 @@ Interfaces
Represents a host interface for milling steps that provides access to milling equipment and related resources.
-
- - ISourceCommand
- Represents a source command interface that provides access to file line information and command flags.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
similarity index 91%
rename from App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
index 1544f8b..156049e 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
@@ -2,9 +2,9 @@
- Interface IGetNcStep | HiAPI-C# 2025
+ Interface IGetNcStep0 | HiAPI-C# 2025
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetNcStep
+
+Interface IGetNcStep0
@@ -97,12 +97,12 @@ Interface IGetNcStep
- Assembly
- HiMech.dll
- Interface of GetNcStep()
+ Interface of GetNcStep()
- public interface IGetNcStep
+ public interface IGetNcStep0
@@ -146,9 +146,9 @@ Interface IGetNcStep
-
+
-
+
GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
index 2462794..3e1dda5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
@@ -104,7 +104,7 @@ Contains basic information of NC step.
- public interface INcStep0 : IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
+ public interface INcStep0 : IGetNcStep0, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
@@ -117,7 +117,7 @@ Contains basic information of NC step.
- Inherited Members
-
IGetFeedrate.GetFeedrate_mmds()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
index 03634d5..490edec 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
@@ -103,8 +103,8 @@ Classes
Interfaces
- - IGetNcStep
- Interface of GetNcStep()
+ - IGetNcStep0
+ Interface of GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
new file mode 100644
index 0000000..739bfe1
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActData | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActData
+
+
+
+
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
+
+
+
+
+ public class ActData : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActData
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActData()
+
+
+
+
+
+
+
+ public ActData()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActData(Dictionary<string, object>)
+
+
+
+
+
+
+
+ public ActData(Dictionary<string, object> data)
+
+
+ Parameters
+
+ data
Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Data
+
+
+
+
+
+
+
+ public Dictionary<string, object> Data { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
index b0d77a3..e475246 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
@@ -213,8 +213,8 @@ Class ActLineBegin
-
- ActLineBegin(ISourceCommand)
+
+ ActLineBegin(IIndexedFileLine)
@@ -223,12 +223,12 @@ Class ActLineBegin
- public ActLineBegin(ISourceCommand sourceCommand)
+ public ActLineBegin(IIndexedFileLine sourceCommand)
Parameters
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command associated with this line beginning.
@@ -260,7 +260,7 @@ Class ActLineBegin
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -269,7 +269,7 @@ Class ActLineBegin
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
index cb16ac3..3509ff5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
@@ -292,7 +292,7 @@ Class ActLineEnd
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -301,7 +301,7 @@ Class ActLineEnd
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
new file mode 100644
index 0000000..34907de
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActSpindleDirection | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActSpindleDirection
+
+
+
+
+
+
+
+
+ public class ActSpindleDirection : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActSpindleDirection
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActSpindleDirection()
+
+
+
+ Initializes a new instance.
+
+
+
+
+ public ActSpindleDirection()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActSpindleDirection(SpindleDirection)
+
+
+
+
+
+
+
+ public ActSpindleDirection(SpindleDirection spindleDirection)
+
+
+ Parameters
+
+ spindleDirection
SpindleDirection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ SpindleDirection
+
+
+
+ Gets or sets the spindle rotation direction.
+
+
+
+
+ public SpindleDirection SpindleDirection { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SpindleDirection
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
index 8af839d..1e3235a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
@@ -212,38 +212,6 @@ Class ActSpindleSpeed
-
-
-
- SpindleDirection
-
-
-
- Gets or sets the spindle rotation direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
index 2b36500..44b712a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
@@ -117,6 +117,12 @@ Classes
- ActCooling
Represents a cooling action for machining operations.
+
+
+
+ - ActData
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
@@ -196,6 +202,10 @@ This class handles complex tool movements with both position and orientation con
Rapid feedrate.
+
+ - ActSpindleDirection
+
+
- ActSpindleSpeed
Represents an act that controls the spindle speed in numerical control operations.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
new file mode 100644
index 0000000..a5dba2a
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
@@ -0,0 +1,471 @@
+
+
+
+
+ Class CsvRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunner : IControlRunner
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunner
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ CsvRunner(PacePlayer, SessionMessageHost)
+
+
+
+
+
+
+
+ public CsvRunner(PacePlayer pacePlayer, SessionMessageHost sessionMessageHost)
+
+
+ Parameters
+
+ pacePlayer
PacePlayer
+
+ sessionMessageHost
SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Config
+
+
+
+
+
+
+
+ public CsvRunnerConfig Config { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - CsvRunnerConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SessionMessageHost
+
+
+
+ External Hosted.
+
+
+
+
+ public SessionMessageHost SessionMessageHost { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ Reset()
+
+
+
+ Reset runtime data.
+
+
+
+
+ public void Reset()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunToLineEnd()
+
+
+
+ Set EnumerablePlayer before use the function.
+
+
+
+
+ public void RunToLineEnd()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
new file mode 100644
index 0000000..6ab2a13
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
@@ -0,0 +1,522 @@
+
+
+
+
+ Class CsvRunnerConfig | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunnerConfig
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunnerConfig
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunnerConfig
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ CutterLocationPrefixTag
+
+
+
+ Cutter Location Prefix Tag for CSV Parsing.
+
+
+
+
+ public string CutterLocationPrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DurationTag
+
+
+
+
+
+
+
+ public string DurationTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FeedrateTag_mmdmin
+
+
+
+ Feedrate for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string FeedrateTag_mmdmin { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineBeginCsScriptTag
+
+
+
+ LineBeginCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineBeginCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineEndCsScriptTag
+
+
+
+ LineEndCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineEndCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MachineCoordinatePrefixTag
+
+
+
+ Machine Coordinate Prefix Tag for CSV Parsing.
+
+
+
+
+ public string MachineCoordinatePrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ParsingDictionary
+
+
+
+
+
+
+
+ public Dictionary<string, Func<string, object>> ParsingDictionary { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, Func<string, object>>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleDirectionTag
+
+
+
+ Spindle direction Tag for CSV Parsing.
+
+
+
+
+ public string SpindleDirectionTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleSpeedTag_rpm
+
+
+
+ Spindle speed for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string SpindleSpeedTag_rpm { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ToolIdTag
+
+
+
+ Tool ID Tag for CSV Parsing.
+
+
+
+
+ public string ToolIdTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
new file mode 100644
index 0000000..12cff17
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
@@ -0,0 +1,247 @@
+
+
+
+
+ Interface IControlRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Interface IControlRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
+
+
+
+
+ public interface IControlRunner
+
+
+
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
index 3ceffd3..f421ea3 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
@@ -102,7 +102,7 @@ Class NcRunner
- public class NcRunner
+ public class NcRunner : IControlRunner
@@ -116,6 +116,12 @@ Class NcRunner
+
+ - Implements
+ -
+
+
+
@@ -180,8 +186,8 @@ Class NcRunner
-
- NcRunner(NcEnv, SessionMessageHost)
+
+ NcRunner(PacePlayer, NcEnv, SessionMessageHost)
@@ -190,11 +196,13 @@ Class NcRunner
- public NcRunner(NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)
Parameters
+ pacePlayer
PacePlayer
+
ncEnv
NcEnv
The NC environment settings
@@ -314,6 +322,37 @@ Class NcRunner
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
@@ -350,10 +389,37 @@ Class NcRunner
-
+
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunner
- public IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunner
Returns
- - IEnumerable<(NcLine NcLine, IAct Act)>
+ - IEnumerable<SourceCommandActEntry>
Enumerable of NcLine and Act pairs
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
new file mode 100644
index 0000000..c88a807
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
@@ -0,0 +1,309 @@
+
+
+
+
+ Class SourceCommandActEntry | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class SourceCommandActEntry
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ SourceCommandActEntry
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ SourceCommandActEntry(IIndexedFileLine, IAct)
+
+
+
+
+
+
+
+ public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+
+
+ Parameters
+
+ SourceCommand
IIndexedFileLine
+
+ Act
IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Act
+
+
+
+
+
+
+
+ public IAct Act { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SourceCommand
+
+
+
+
+
+
+
+ public IIndexedFileLine SourceCommand { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IIndexedFileLine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
index a1f84b3..2a85897 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
@@ -94,9 +94,31 @@
Classes
+
+ - CsvRunner
+
+
+
+ - CsvRunnerConfig
+
+
- NcRunner
Provides functionality for running and processing NC code lines.
+
+
+
+ - SourceCommandActEntry
+
+
+
+Interfaces
+
+
+ - IControlRunner
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
index a5c0a20..ada38ff 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
@@ -102,7 +102,7 @@ Class NcLine
- public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
@@ -119,12 +119,12 @@ Class NcLine
- Implements
-
-
+
-
+
@@ -2221,20 +2221,18 @@ So be care that do not change the NC XYZ if not needed.
- Gets the source command associated with this instance.
-
+
- public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Returns
- - ISourceCommand
- The source command object.
-
+ - IIndexedFileLine
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
deleted file mode 100644
index d8761c3..0000000
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
+++ /dev/null
@@ -1,1333 +0,0 @@
-
-
-
-
- Class UniversalNcStep | HiAPI-C# 2025
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Class UniversalNcStep
-
-
-
- - Namespace
- Hi.UniversalNc
- - Assembly
- HiNc.dll
-
-
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
-
-
- public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
-
-
-
-
-
-
- - Inheritance
- -
-
- UniversalNcStep
-
-
-
-
- - Implements
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Inherited Members
- -
-
-
-
-
- object.GetType()
-
-
-
-
-
-
- - Extension Methods
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
-
-
-
-
- UniversalNcStep()
-
-
-
- Ctor.
-
-
-
-
- public UniversalNcStep()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- ColorGuide
-
-
-
- Gets or sets the color guide associated with this object.
-
-
-
-
- public IColorGuide ColorGuide { get; set; }
-
-
-
-
-
-
- Property Value
-
- - IColorGuide
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmdmin
-
-
-
- Feed rate in millimeters per minute.
-
-
-
-
- public double Feedrate_mmdmin { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmds
-
-
-
- Get feedrate in mm/s.
-
-
-
-
- public double Feedrate_mmds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileIndex
-
-
-
- File Index.
-Start on 0.
-
-
-
-
- public int FileIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileNo
-
-
-
- FileIndex+1.
-
-
-
-
- public int FileNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FilePath
-
-
-
- File path.
-
-
-
-
- public string FilePath { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- FlexDictionary
-
-
-
- Dictionary for storing flexible step properties as double values.
-
-
-
-
- public Dictionary<string, double> FlexDictionary { get; set; }
-
-
-
-
-
-
- Property Value
-
- - Dictionary<string, double>
-
-
-
-
-
-
-
-
-
-
-
-
-
- Line
-
-
-
- The line.
-
-
-
-
- public string Line { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineIndex
-
-
-
- Line Index.
-Start on 0.
-
-
-
-
- public int LineIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineNo
-
-
-
- LineIndex+1.
-
-
-
-
- public int LineNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingForce
-
-
-
- Milling force.
-
-
-
-
- public MillingForce MillingForce { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingForce
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingGeomBrief
-
-
-
- Gets or sets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief MillingGeomBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingGeomBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SeqPhysicsBrief
-
-
-
- Gets or sets the sequential physics brief.
-
-
-
-
- public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SeqPhysicsBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleDirection
-
-
-
- Spindle direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_radds
-
-
-
- Get spindle speed in rad/s.
-
-
-
-
- public double SpindleSpeed_radds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_rpm
-
-
-
- Spindle speed in revolutions per minute.
-
-
-
-
- public double SpindleSpeed_rpm { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepDuration_s
-
-
-
- Step duration. Unit is second.
-
-
-
-
- public double StepDuration_s { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepIndex
-
-
-
- Step index.
-
-
-
-
- public int StepIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToolId
-
-
-
- Get tool ID.
-
-
-
-
- public int ToolId { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
- tool ID
-
-
-
-
-
-
-
-
-
-
-
-
-
- WorkTime
-
-
-
- Worked time.
-
-
-
-
- public TimeSpan WorkTime { get; set; }
-
-
-
-
-
-
- Property Value
-
- - TimeSpan
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
- GetAxisPos(string)
-
-
-
- Get absolute position of the key
axis.
-
-
-
-
- public double GetAxisPos(string key)
-
-
- Parameters
-
- key
string
- axis name
-
-
-
- Returns
-
- - double
- absolute position of the key
axis
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetCsvDictionary()
-
-
-
- Get row dictionary.
-It suits for CSV output.
-
-
-
-
- public Dictionary<string, string> GetCsvDictionary()
-
-
-
- Returns
-
- - Dictionary<string, string>
- csv row dictionary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFeedrate_mmds()
-
-
-
- Gets the program feedrate in millimeters per second.
-
-
-
-
- public double GetFeedrate_mmds()
-
-
-
- Returns
-
- - double
- Feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFileLineIndex()
-
-
-
- Get FileLineIndex.
-
-
-
-
- public FileLineIndex GetFileLineIndex()
-
-
-
- Returns
-
- - FileLineIndex
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingForce()
-
-
-
- Get MillingForce.
-
-
-
-
- public MillingForce GetMillingForce()
-
-
-
- Returns
-
- - MillingForce
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingGeomBrief()
-
-
-
- Gets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief GetMillingGeomBrief()
-
-
-
- Returns
-
- - MillingGeomBrief
- The milling geometry brief information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetNcStep()
-
-
-
- Get controller state.
-
-
-
-
- public INcStep0 GetNcStep()
-
-
-
- Returns
-
- - INcStep0
- controller state
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetQuantityByKey(string)
-
-
-
- Gets a quantity value associated with the specified key.
-
-
-
-
- public double GetQuantityByKey(string key)
-
-
- Parameters
-
- key
string
- The key to look up
-
-
-
- Returns
-
- - double
- The quantity value associated with the key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleDirection()
-
-
-
- Gets the spindle rotation direction.
-
-
-
-
- public SpindleDirection GetSpindleDirection()
-
-
-
- Returns
-
- - SpindleDirection
- The spindle direction (clockwise, counterclockwise, or stopped)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleSpeed_radds()
-
-
-
- Gets the spindle speed in radians per second.
-
-
-
-
- public double GetSpindleSpeed_radds()
-
-
-
- Returns
-
- - double
- Spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetByRowDictionary(Dictionary<string, string>)
-
-
-
- Sets the properties of this object using values from a dictionary.
-
-
-
-
- public void SetByRowDictionary(Dictionary<string, string> src)
-
-
- Parameters
-
- src
Dictionary<string, string>
- Source dictionary containing property values as strings.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToString()
-
-
-
- Returns a string representation of this NC step.
-
-
-
-
- public override string ToString()
-
-
-
- Returns
-
- - string
- String representation of this step.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
index c28f350..dcfffe9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
@@ -99,11 +99,6 @@ Classes
A strongly-typed resource class, for looking up localized strings, etc.
-
- - UniversalNcStep
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/toc.html b/App/wwwroot/HiAPI-docsite/api/toc.html
index 7a580b3..463fae7 100644
--- a/App/wwwroot/HiAPI-docsite/api/toc.html
+++ b/App/wwwroot/HiAPI-docsite/api/toc.html
@@ -471,6 +471,9 @@
-
IGetIndexedFileLine
+ -
+ IIndexedFileLine
+
-
ILineChangedEventSupport
@@ -1337,14 +1340,11 @@
- Assembly
- HiMech.dll
Defines an interface for retrieving source command information.
+temperary design for showing flag text.
public interface IGetSourceCommand
+ public interface IFlagText
Methods
+ Properties
-
+
-
- GetSourceCommand()
+
+ FlagsText
- Gets the source command associated with this instance.
+ Gets the text representation of command flags.
- ISourceCommand GetSourceCommand()
+ [Present("NC Flag", "NC Flag", PhysicsUnit.None, "G")]
+string FlagsText { get; }
- Returns
+
+
+
+ Property Value
- - ISourceCommand
- The source command object.
-
+ - string
+
@@ -177,9 +180,6 @@ Interface IGetSourceCommand
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
index 7395b7c..a9e5448 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.MachiningStep.html
@@ -102,7 +102,7 @@ Class MachiningStep
- public class MachiningStep : IGetSourceCommand, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
+ public class MachiningStep : IGetIndexedFileLine, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
@@ -119,7 +119,7 @@ Class MachiningStep
- Implements
-
-
+
@@ -199,8 +199,8 @@ Class MachiningStep
-
- MachiningStep(IMachiningStepHost, int, ISourceCommand, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
+
+ MachiningStep(IMachiningStepHost, int, IIndexedFileLine, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
@@ -209,7 +209,7 @@ Class MachiningStep
- public MachiningStep(IMachiningStepHost host, int stepIndex, ISourceCommand sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
+ public MachiningStep(IMachiningStepHost host, int stepIndex, IIndexedFileLine sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
Parameters
@@ -220,7 +220,7 @@ Class MachiningStep
stepIndex
int
The index of the step.
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command.
machiningStep
MachineMotionStep
@@ -2795,7 +2795,7 @@ public List<double> SideCuspList_um { get; }
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -2804,7 +2804,7 @@ public List<double> SideCuspList_um { get; }
Property Value
@@ -3034,7 +3034,7 @@ public double? SpindleWorkingTemperatureRatio { get; }
- [Present("Step Duration", null, PhysicsUnit.sec, "ss\\.ffffff")]
+ [Present("Step Duration", "duration", PhysicsUnit.sec, "ss\\.ffffff")]
[JsAce(ClassExt = "MachiningStep")]
public TimeSpan StepDuration { get; }
@@ -3511,6 +3511,39 @@ public double GetCutterDermisTemperature_C(double depth_mm)
+
+
+
+ GetIndexedFileLine()
+
+
+
+ Gets the file line associated with this object.
+
+
+
+
+ public IndexedFileLine GetIndexedFileLine()
+
+
+
+ Returns
+
+ - IndexedFileLine
+ The file line object.
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -3666,39 +3699,6 @@ public double? GetMcValue(int index)
-
-
-
- GetSourceCommand()
-
-
-
- Gets the source command associated with this instance.
-
-
-
-
- public ISourceCommand GetSourceCommand()
-
-
-
- Returns
-
- - ISourceCommand
- The source command object.
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -3711,7 +3711,9 @@ public double? GetMcValue(int index)
- public SpindleDirection GetSpindleDirection()
+ [Present("Spindle Direction", "Spd.Dir.", PhysicsUnit.None, "G")]
+[JsAce(ClassExt = "MachiningStep")]
+public SpindleDirection GetSpindleDirection()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
index f3a5dcc..5761a41 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html
@@ -134,8 +134,8 @@ Note that the spindle information is only for milling behavior.
Interfaces
- - IGetSourceCommand
- Defines an interface for retrieving source command information.
+ - IFlagText
+ temperary design for showing flag text.
@@ -143,11 +143,6 @@ Interfaces
Represents a host interface for milling steps that provides access to milling equipment and related resources.
-
- - ISourceCommand
- Represents a source command interface that provides access to file line information and command flags.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
similarity index 91%
rename from App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
rename to App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
index 1544f8b..156049e 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.IGetNcStep0.html
@@ -2,9 +2,9 @@
- Interface IGetNcStep | HiAPI-C# 2025
+ Interface IGetNcStep0 | HiAPI-C# 2025
-
+
@@ -84,12 +84,12 @@
-
+
-
-Interface IGetNcStep
+
+Interface IGetNcStep0
@@ -97,12 +97,12 @@ Interface IGetNcStep
- Assembly
- HiMech.dll
- Interface of GetNcStep()
+ Interface of GetNcStep()
- public interface IGetNcStep
+ public interface IGetNcStep0
@@ -146,9 +146,9 @@ Interface IGetNcStep
-
+
-
+
GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
index 2462794..3e1dda5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
@@ -104,7 +104,7 @@ Contains basic information of NC step.
- public interface INcStep0 : IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
+ public interface INcStep0 : IGetNcStep0, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
@@ -117,7 +117,7 @@ Contains basic information of NC step.
- Inherited Members
-
IGetFeedrate.GetFeedrate_mmds()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
index 03634d5..490edec 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
@@ -103,8 +103,8 @@ Classes
Interfaces
- - IGetNcStep
- Interface of GetNcStep()
+ - IGetNcStep0
+ Interface of GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
new file mode 100644
index 0000000..739bfe1
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActData | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActData
+
+
+
+
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
+
+
+
+
+ public class ActData : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActData
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActData()
+
+
+
+
+
+
+
+ public ActData()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActData(Dictionary<string, object>)
+
+
+
+
+
+
+
+ public ActData(Dictionary<string, object> data)
+
+
+ Parameters
+
+ data
Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Data
+
+
+
+
+
+
+
+ public Dictionary<string, object> Data { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
index b0d77a3..e475246 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
@@ -213,8 +213,8 @@ Class ActLineBegin
-
- ActLineBegin(ISourceCommand)
+
+ ActLineBegin(IIndexedFileLine)
@@ -223,12 +223,12 @@ Class ActLineBegin
- public ActLineBegin(ISourceCommand sourceCommand)
+ public ActLineBegin(IIndexedFileLine sourceCommand)
Parameters
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command associated with this line beginning.
@@ -260,7 +260,7 @@ Class ActLineBegin
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -269,7 +269,7 @@ Class ActLineBegin
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
index cb16ac3..3509ff5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
@@ -292,7 +292,7 @@ Class ActLineEnd
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -301,7 +301,7 @@ Class ActLineEnd
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
new file mode 100644
index 0000000..34907de
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActSpindleDirection | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActSpindleDirection
+
+
+
+
+
+
+
+
+ public class ActSpindleDirection : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActSpindleDirection
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActSpindleDirection()
+
+
+
+ Initializes a new instance.
+
+
+
+
+ public ActSpindleDirection()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActSpindleDirection(SpindleDirection)
+
+
+
+
+
+
+
+ public ActSpindleDirection(SpindleDirection spindleDirection)
+
+
+ Parameters
+
+ spindleDirection
SpindleDirection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ SpindleDirection
+
+
+
+ Gets or sets the spindle rotation direction.
+
+
+
+
+ public SpindleDirection SpindleDirection { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SpindleDirection
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
index 8af839d..1e3235a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
@@ -212,38 +212,6 @@ Class ActSpindleSpeed
-
-
-
- SpindleDirection
-
-
-
- Gets or sets the spindle rotation direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
index 2b36500..44b712a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
@@ -117,6 +117,12 @@ Classes
- ActCooling
Represents a cooling action for machining operations.
+
+
+
+ - ActData
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
@@ -196,6 +202,10 @@ This class handles complex tool movements with both position and orientation con
Rapid feedrate.
+
+ - ActSpindleDirection
+
+
- ActSpindleSpeed
Represents an act that controls the spindle speed in numerical control operations.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
new file mode 100644
index 0000000..a5dba2a
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
@@ -0,0 +1,471 @@
+
+
+
+
+ Class CsvRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunner : IControlRunner
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunner
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ CsvRunner(PacePlayer, SessionMessageHost)
+
+
+
+
+
+
+
+ public CsvRunner(PacePlayer pacePlayer, SessionMessageHost sessionMessageHost)
+
+
+ Parameters
+
+ pacePlayer
PacePlayer
+
+ sessionMessageHost
SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Config
+
+
+
+
+
+
+
+ public CsvRunnerConfig Config { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - CsvRunnerConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SessionMessageHost
+
+
+
+ External Hosted.
+
+
+
+
+ public SessionMessageHost SessionMessageHost { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ Reset()
+
+
+
+ Reset runtime data.
+
+
+
+
+ public void Reset()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunToLineEnd()
+
+
+
+ Set EnumerablePlayer before use the function.
+
+
+
+
+ public void RunToLineEnd()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
new file mode 100644
index 0000000..6ab2a13
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
@@ -0,0 +1,522 @@
+
+
+
+
+ Class CsvRunnerConfig | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunnerConfig
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunnerConfig
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunnerConfig
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ CutterLocationPrefixTag
+
+
+
+ Cutter Location Prefix Tag for CSV Parsing.
+
+
+
+
+ public string CutterLocationPrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DurationTag
+
+
+
+
+
+
+
+ public string DurationTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FeedrateTag_mmdmin
+
+
+
+ Feedrate for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string FeedrateTag_mmdmin { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineBeginCsScriptTag
+
+
+
+ LineBeginCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineBeginCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineEndCsScriptTag
+
+
+
+ LineEndCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineEndCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MachineCoordinatePrefixTag
+
+
+
+ Machine Coordinate Prefix Tag for CSV Parsing.
+
+
+
+
+ public string MachineCoordinatePrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ParsingDictionary
+
+
+
+
+
+
+
+ public Dictionary<string, Func<string, object>> ParsingDictionary { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, Func<string, object>>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleDirectionTag
+
+
+
+ Spindle direction Tag for CSV Parsing.
+
+
+
+
+ public string SpindleDirectionTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleSpeedTag_rpm
+
+
+
+ Spindle speed for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string SpindleSpeedTag_rpm { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ToolIdTag
+
+
+
+ Tool ID Tag for CSV Parsing.
+
+
+
+
+ public string ToolIdTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
new file mode 100644
index 0000000..12cff17
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
@@ -0,0 +1,247 @@
+
+
+
+
+ Interface IControlRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Interface IControlRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
+
+
+
+
+ public interface IControlRunner
+
+
+
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
index 3ceffd3..f421ea3 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
@@ -102,7 +102,7 @@ Class NcRunner
- public class NcRunner
+ public class NcRunner : IControlRunner
@@ -116,6 +116,12 @@ Class NcRunner
+
+ - Implements
+ -
+
+
+
@@ -180,8 +186,8 @@ Class NcRunner
-
- NcRunner(NcEnv, SessionMessageHost)
+
+ NcRunner(PacePlayer, NcEnv, SessionMessageHost)
@@ -190,11 +196,13 @@ Class NcRunner
- public NcRunner(NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)
Parameters
+ pacePlayer
PacePlayer
+
ncEnv
NcEnv
The NC environment settings
@@ -314,6 +322,37 @@ Class NcRunner
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
@@ -350,10 +389,37 @@ Class NcRunner
-
+
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunner
- public IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunner
Returns
- - IEnumerable<(NcLine NcLine, IAct Act)>
+ - IEnumerable<SourceCommandActEntry>
Enumerable of NcLine and Act pairs
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
new file mode 100644
index 0000000..c88a807
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
@@ -0,0 +1,309 @@
+
+
+
+
+ Class SourceCommandActEntry | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class SourceCommandActEntry
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ SourceCommandActEntry
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ SourceCommandActEntry(IIndexedFileLine, IAct)
+
+
+
+
+
+
+
+ public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+
+
+ Parameters
+
+ SourceCommand
IIndexedFileLine
+
+ Act
IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Act
+
+
+
+
+
+
+
+ public IAct Act { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SourceCommand
+
+
+
+
+
+
+
+ public IIndexedFileLine SourceCommand { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IIndexedFileLine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
index a1f84b3..2a85897 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
@@ -94,9 +94,31 @@
Classes
+
+ - CsvRunner
+
+
+
+ - CsvRunnerConfig
+
+
- NcRunner
Provides functionality for running and processing NC code lines.
+
+
+
+ - SourceCommandActEntry
+
+
+
+Interfaces
+
+
+ - IControlRunner
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
index a5c0a20..ada38ff 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
@@ -102,7 +102,7 @@ Class NcLine
- public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
@@ -119,12 +119,12 @@ Class NcLine
- Implements
-
-
+
-
+
@@ -2221,20 +2221,18 @@ So be care that do not change the NC XYZ if not needed.
- Gets the source command associated with this instance.
-
+
- public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Returns
- - ISourceCommand
- The source command object.
-
+ - IIndexedFileLine
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
deleted file mode 100644
index d8761c3..0000000
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
+++ /dev/null
@@ -1,1333 +0,0 @@
-
-
-
-
- Class UniversalNcStep | HiAPI-C# 2025
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Class UniversalNcStep
-
-
-
- - Namespace
- Hi.UniversalNc
- - Assembly
- HiNc.dll
-
-
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
-
-
- public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
-
-
-
-
-
-
- - Inheritance
- -
-
- UniversalNcStep
-
-
-
-
- - Implements
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Inherited Members
- -
-
-
-
-
- object.GetType()
-
-
-
-
-
-
- - Extension Methods
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
-
-
-
-
- UniversalNcStep()
-
-
-
- Ctor.
-
-
-
-
- public UniversalNcStep()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- ColorGuide
-
-
-
- Gets or sets the color guide associated with this object.
-
-
-
-
- public IColorGuide ColorGuide { get; set; }
-
-
-
-
-
-
- Property Value
-
- - IColorGuide
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmdmin
-
-
-
- Feed rate in millimeters per minute.
-
-
-
-
- public double Feedrate_mmdmin { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmds
-
-
-
- Get feedrate in mm/s.
-
-
-
-
- public double Feedrate_mmds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileIndex
-
-
-
- File Index.
-Start on 0.
-
-
-
-
- public int FileIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileNo
-
-
-
- FileIndex+1.
-
-
-
-
- public int FileNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FilePath
-
-
-
- File path.
-
-
-
-
- public string FilePath { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- FlexDictionary
-
-
-
- Dictionary for storing flexible step properties as double values.
-
-
-
-
- public Dictionary<string, double> FlexDictionary { get; set; }
-
-
-
-
-
-
- Property Value
-
- - Dictionary<string, double>
-
-
-
-
-
-
-
-
-
-
-
-
-
- Line
-
-
-
- The line.
-
-
-
-
- public string Line { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineIndex
-
-
-
- Line Index.
-Start on 0.
-
-
-
-
- public int LineIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineNo
-
-
-
- LineIndex+1.
-
-
-
-
- public int LineNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingForce
-
-
-
- Milling force.
-
-
-
-
- public MillingForce MillingForce { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingForce
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingGeomBrief
-
-
-
- Gets or sets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief MillingGeomBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingGeomBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SeqPhysicsBrief
-
-
-
- Gets or sets the sequential physics brief.
-
-
-
-
- public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SeqPhysicsBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleDirection
-
-
-
- Spindle direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_radds
-
-
-
- Get spindle speed in rad/s.
-
-
-
-
- public double SpindleSpeed_radds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_rpm
-
-
-
- Spindle speed in revolutions per minute.
-
-
-
-
- public double SpindleSpeed_rpm { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepDuration_s
-
-
-
- Step duration. Unit is second.
-
-
-
-
- public double StepDuration_s { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepIndex
-
-
-
- Step index.
-
-
-
-
- public int StepIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToolId
-
-
-
- Get tool ID.
-
-
-
-
- public int ToolId { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
- tool ID
-
-
-
-
-
-
-
-
-
-
-
-
-
- WorkTime
-
-
-
- Worked time.
-
-
-
-
- public TimeSpan WorkTime { get; set; }
-
-
-
-
-
-
- Property Value
-
- - TimeSpan
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
- GetAxisPos(string)
-
-
-
- Get absolute position of the key
axis.
-
-
-
-
- public double GetAxisPos(string key)
-
-
- Parameters
-
- key
string
- axis name
-
-
-
- Returns
-
- - double
- absolute position of the key
axis
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetCsvDictionary()
-
-
-
- Get row dictionary.
-It suits for CSV output.
-
-
-
-
- public Dictionary<string, string> GetCsvDictionary()
-
-
-
- Returns
-
- - Dictionary<string, string>
- csv row dictionary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFeedrate_mmds()
-
-
-
- Gets the program feedrate in millimeters per second.
-
-
-
-
- public double GetFeedrate_mmds()
-
-
-
- Returns
-
- - double
- Feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFileLineIndex()
-
-
-
- Get FileLineIndex.
-
-
-
-
- public FileLineIndex GetFileLineIndex()
-
-
-
- Returns
-
- - FileLineIndex
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingForce()
-
-
-
- Get MillingForce.
-
-
-
-
- public MillingForce GetMillingForce()
-
-
-
- Returns
-
- - MillingForce
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingGeomBrief()
-
-
-
- Gets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief GetMillingGeomBrief()
-
-
-
- Returns
-
- - MillingGeomBrief
- The milling geometry brief information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetNcStep()
-
-
-
- Get controller state.
-
-
-
-
- public INcStep0 GetNcStep()
-
-
-
- Returns
-
- - INcStep0
- controller state
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetQuantityByKey(string)
-
-
-
- Gets a quantity value associated with the specified key.
-
-
-
-
- public double GetQuantityByKey(string key)
-
-
- Parameters
-
- key
string
- The key to look up
-
-
-
- Returns
-
- - double
- The quantity value associated with the key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleDirection()
-
-
-
- Gets the spindle rotation direction.
-
-
-
-
- public SpindleDirection GetSpindleDirection()
-
-
-
- Returns
-
- - SpindleDirection
- The spindle direction (clockwise, counterclockwise, or stopped)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleSpeed_radds()
-
-
-
- Gets the spindle speed in radians per second.
-
-
-
-
- public double GetSpindleSpeed_radds()
-
-
-
- Returns
-
- - double
- Spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetByRowDictionary(Dictionary<string, string>)
-
-
-
- Sets the properties of this object using values from a dictionary.
-
-
-
-
- public void SetByRowDictionary(Dictionary<string, string> src)
-
-
- Parameters
-
- src
Dictionary<string, string>
- Source dictionary containing property values as strings.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToString()
-
-
-
- Returns a string representation of this NC step.
-
-
-
-
- public override string ToString()
-
-
-
- Returns
-
- - string
- String representation of this step.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
index c28f350..dcfffe9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
@@ -99,11 +99,6 @@ Classes
A strongly-typed resource class, for looking up localized strings, etc.
-
- - UniversalNcStep
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/toc.html b/App/wwwroot/HiAPI-docsite/api/toc.html
index 7a580b3..463fae7 100644
--- a/App/wwwroot/HiAPI-docsite/api/toc.html
+++ b/App/wwwroot/HiAPI-docsite/api/toc.html
@@ -471,6 +471,9 @@
-
IGetIndexedFileLine
+ -
+ IIndexedFileLine
+
-
ILineChangedEventSupport
@@ -1337,14 +1340,11 @@
+ FlagsText
-Gets the source command associated with this instance.
+Gets the text representation of command flags.
ISourceCommand GetSourceCommand()
+ [Present("NC Flag", "NC Flag", PhysicsUnit.None, "G")]
+string FlagsText { get; }
Returns
+ + + +Property Value
-
-
- ISourceCommand -
The source command object.
-
+ - string +
public class MachiningStep : IGetSourceCommand, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
+ public class MachiningStep : IGetIndexedFileLine, IFlexDictionaryHost<object>, IGetFeedrate, IGetSpindleSpeed, IGetRgbWithPriority
- Implements
-
-
+
@@ -199,8 +199,8 @@ Class MachiningStep
-
- MachiningStep(IMachiningStepHost, int, ISourceCommand, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[]) +
+ MachiningStep(IMachiningStepHost, int, IIndexedFileLine, MachineMotionStep, MillingPhysicsStep, CollidedKeyPair[])
@@ -209,7 +209,7 @@ Class MachiningStep-
+public MachiningStep(IMachiningStepHost host, int stepIndex, ISourceCommand sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
public MachiningStep(IMachiningStepHost host, int stepIndex, IIndexedFileLine sourceCommand, MachineMotionStep machiningStep, MillingPhysicsStep millingPhysicsStep, MachiningStep.CollidedKeyPair[] collidedKeyPairs)
Parameters
@@ -220,7 +220,7 @@ Class MachiningStepstepIndex
int -The index of the step.
+sourceCommand
ISourceCommandsourceCommand
IIndexedFileLineThe source command.
@@ -2795,7 +2795,7 @@ public List<double> SideCuspList_um { get; }machiningStep
MachineMotionStep-@@ -2804,7 +2804,7 @@ public List<double> SideCuspList_um { get; }
+public ISourceCommand SourceCommand { get; set; }
public IIndexedFileLine SourceCommand { get; set; }
Property Value
@@ -3034,7 +3034,7 @@ public double? SpindleWorkingTemperatureRatio { get; }-@@ -3511,6 +3511,39 @@ public double GetCutterDermisTemperature_C(double depth_mm) + + +[Present("Step Duration", null, PhysicsUnit.sec, "ss\\.ffffff")] +
[Present("Step Duration", "duration", PhysicsUnit.sec, "ss\\.ffffff")] [JsAce(ClassExt = "MachiningStep")] public TimeSpan StepDuration { get; }
+ GetIndexedFileLine() + +
+ ++ + +Gets the file line associated with this object.
+++ + +
+public IndexedFileLine GetIndexedFileLine()
Returns
+-
+
- IndexedFileLine +
The file line object.
+
+
@@ -3666,39 +3699,6 @@ public double? GetMcValue(int index) - - -
- GetSourceCommand() - -
- -- - -Gets the source command associated with this instance.
--- - -
-public ISourceCommand GetSourceCommand()
Returns
--
-
- ISourceCommand -
The source command object.
-
-
@@ -3711,7 +3711,9 @@ public double? GetMcValue(int index)
-diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html index f3a5dcc..5761a41 100644 --- a/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html +++ b/App/wwwroot/HiAPI-docsite/api/Hi.MachiningSteps.html @@ -134,8 +134,8 @@ Note that the spindle information is only for milling behavior. Interfaces
+public SpindleDirection GetSpindleDirection()
[Present("Spindle Direction", "Spd.Dir.", PhysicsUnit.None, "G")] +[JsAce(ClassExt = "MachiningStep")] +public SpindleDirection GetSpindleDirection()
-
-
- IGetSourceCommand -
Defines an interface for retrieving source command information.
+- IFlagText +
temperary design for showing flag text.
-
@@ -143,11 +143,6 @@ Interfaces
Represents a host interface for milling steps that provides access to milling equipment and related resources.
-
-
- ISourceCommand -
Represents a source command interface that provides access to file line information and command flags.
-
-
Interface IGetNcStep | HiAPI-C# 2025 +Interface IGetNcStep0 | HiAPI-C# 2025 - + @@ -84,12 +84,12 @@
-Interface IGetNcStep
+
+Interface IGetNcStep0
@@ -97,12 +97,12 @@ Interface IGetNcStep
- Assembly
- HiMech.dll
- Interface of GetNcStep()
+ Interface of GetNcStep()
- public interface IGetNcStep
+ public interface IGetNcStep0
@@ -146,9 +146,9 @@ Interface IGetNcStep
-
+
-
+
GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
index 2462794..3e1dda5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
@@ -104,7 +104,7 @@ Contains basic information of NC step.
- public interface INcStep0 : IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
+ public interface INcStep0 : IGetNcStep0, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
@@ -117,7 +117,7 @@ Contains basic information of NC step.
- Inherited Members
-
IGetFeedrate.GetFeedrate_mmds()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
index 03634d5..490edec 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
@@ -103,8 +103,8 @@ Classes
Interfaces
- - IGetNcStep
- Interface of GetNcStep()
+ - IGetNcStep0
+ Interface of GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
new file mode 100644
index 0000000..739bfe1
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActData | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActData
+
+
+
+
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
+
+
+
+
+ public class ActData : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActData
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActData()
+
+
+
+
+
+
+
+ public ActData()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActData(Dictionary<string, object>)
+
+
+
+
+
+
+
+ public ActData(Dictionary<string, object> data)
+
+
+ Parameters
+
+ data
Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Data
+
+
+
+
+
+
+
+ public Dictionary<string, object> Data { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
index b0d77a3..e475246 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
@@ -213,8 +213,8 @@ Class ActLineBegin
-
- ActLineBegin(ISourceCommand)
+
+ ActLineBegin(IIndexedFileLine)
@@ -223,12 +223,12 @@ Class ActLineBegin
- public ActLineBegin(ISourceCommand sourceCommand)
+ public ActLineBegin(IIndexedFileLine sourceCommand)
Parameters
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command associated with this line beginning.
@@ -260,7 +260,7 @@ Class ActLineBegin
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -269,7 +269,7 @@ Class ActLineBegin
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
index cb16ac3..3509ff5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
@@ -292,7 +292,7 @@ Class ActLineEnd
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -301,7 +301,7 @@ Class ActLineEnd
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
new file mode 100644
index 0000000..34907de
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActSpindleDirection | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActSpindleDirection
+
+
+
+
+
+
+
+
+ public class ActSpindleDirection : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActSpindleDirection
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActSpindleDirection()
+
+
+
+ Initializes a new instance.
+
+
+
+
+ public ActSpindleDirection()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActSpindleDirection(SpindleDirection)
+
+
+
+
+
+
+
+ public ActSpindleDirection(SpindleDirection spindleDirection)
+
+
+ Parameters
+
+ spindleDirection
SpindleDirection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ SpindleDirection
+
+
+
+ Gets or sets the spindle rotation direction.
+
+
+
+
+ public SpindleDirection SpindleDirection { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SpindleDirection
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
index 8af839d..1e3235a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
@@ -212,38 +212,6 @@ Class ActSpindleSpeed
-
-
-
- SpindleDirection
-
-
-
- Gets or sets the spindle rotation direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
index 2b36500..44b712a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
@@ -117,6 +117,12 @@ Classes
- ActCooling
Represents a cooling action for machining operations.
+
+
+
+ - ActData
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
@@ -196,6 +202,10 @@ This class handles complex tool movements with both position and orientation con
Rapid feedrate.
+
+ - ActSpindleDirection
+
+
- ActSpindleSpeed
Represents an act that controls the spindle speed in numerical control operations.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
new file mode 100644
index 0000000..a5dba2a
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
@@ -0,0 +1,471 @@
+
+
+
+
+ Class CsvRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunner : IControlRunner
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunner
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ CsvRunner(PacePlayer, SessionMessageHost)
+
+
+
+
+
+
+
+ public CsvRunner(PacePlayer pacePlayer, SessionMessageHost sessionMessageHost)
+
+
+ Parameters
+
+ pacePlayer
PacePlayer
+
+ sessionMessageHost
SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Config
+
+
+
+
+
+
+
+ public CsvRunnerConfig Config { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - CsvRunnerConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SessionMessageHost
+
+
+
+ External Hosted.
+
+
+
+
+ public SessionMessageHost SessionMessageHost { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ Reset()
+
+
+
+ Reset runtime data.
+
+
+
+
+ public void Reset()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunToLineEnd()
+
+
+
+ Set EnumerablePlayer before use the function.
+
+
+
+
+ public void RunToLineEnd()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
new file mode 100644
index 0000000..6ab2a13
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
@@ -0,0 +1,522 @@
+
+
+
+
+ Class CsvRunnerConfig | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunnerConfig
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunnerConfig
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunnerConfig
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ CutterLocationPrefixTag
+
+
+
+ Cutter Location Prefix Tag for CSV Parsing.
+
+
+
+
+ public string CutterLocationPrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DurationTag
+
+
+
+
+
+
+
+ public string DurationTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FeedrateTag_mmdmin
+
+
+
+ Feedrate for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string FeedrateTag_mmdmin { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineBeginCsScriptTag
+
+
+
+ LineBeginCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineBeginCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineEndCsScriptTag
+
+
+
+ LineEndCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineEndCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MachineCoordinatePrefixTag
+
+
+
+ Machine Coordinate Prefix Tag for CSV Parsing.
+
+
+
+
+ public string MachineCoordinatePrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ParsingDictionary
+
+
+
+
+
+
+
+ public Dictionary<string, Func<string, object>> ParsingDictionary { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, Func<string, object>>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleDirectionTag
+
+
+
+ Spindle direction Tag for CSV Parsing.
+
+
+
+
+ public string SpindleDirectionTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleSpeedTag_rpm
+
+
+
+ Spindle speed for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string SpindleSpeedTag_rpm { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ToolIdTag
+
+
+
+ Tool ID Tag for CSV Parsing.
+
+
+
+
+ public string ToolIdTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
new file mode 100644
index 0000000..12cff17
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
@@ -0,0 +1,247 @@
+
+
+
+
+ Interface IControlRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Interface IControlRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
+
+
+
+
+ public interface IControlRunner
+
+
+
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
index 3ceffd3..f421ea3 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
@@ -102,7 +102,7 @@ Class NcRunner
- public class NcRunner
+ public class NcRunner : IControlRunner
@@ -116,6 +116,12 @@ Class NcRunner
+
+ - Implements
+ -
+
+
+
@@ -180,8 +186,8 @@ Class NcRunner
-
- NcRunner(NcEnv, SessionMessageHost)
+
+ NcRunner(PacePlayer, NcEnv, SessionMessageHost)
@@ -190,11 +196,13 @@ Class NcRunner
- public NcRunner(NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)
Parameters
+ pacePlayer
PacePlayer
+
ncEnv
NcEnv
The NC environment settings
@@ -314,6 +322,37 @@ Class NcRunner
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
@@ -350,10 +389,37 @@ Class NcRunner
-
+
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunner
- public IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunner
Returns
- - IEnumerable<(NcLine NcLine, IAct Act)>
+ - IEnumerable<SourceCommandActEntry>
Enumerable of NcLine and Act pairs
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
new file mode 100644
index 0000000..c88a807
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
@@ -0,0 +1,309 @@
+
+
+
+
+ Class SourceCommandActEntry | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class SourceCommandActEntry
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ SourceCommandActEntry
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ SourceCommandActEntry(IIndexedFileLine, IAct)
+
+
+
+
+
+
+
+ public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+
+
+ Parameters
+
+ SourceCommand
IIndexedFileLine
+
+ Act
IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Act
+
+
+
+
+
+
+
+ public IAct Act { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SourceCommand
+
+
+
+
+
+
+
+ public IIndexedFileLine SourceCommand { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IIndexedFileLine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
index a1f84b3..2a85897 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
@@ -94,9 +94,31 @@
Classes
+
+ - CsvRunner
+
+
+
+ - CsvRunnerConfig
+
+
- NcRunner
Provides functionality for running and processing NC code lines.
+
+
+
+ - SourceCommandActEntry
+
+
+
+Interfaces
+
+
+ - IControlRunner
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
index a5c0a20..ada38ff 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
@@ -102,7 +102,7 @@ Class NcLine
- public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
@@ -119,12 +119,12 @@ Class NcLine
- Implements
-
-
+
-
+
@@ -2221,20 +2221,18 @@ So be care that do not change the NC XYZ if not needed.
- Gets the source command associated with this instance.
-
+
- public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Returns
- - ISourceCommand
- The source command object.
-
+ - IIndexedFileLine
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
deleted file mode 100644
index d8761c3..0000000
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
+++ /dev/null
@@ -1,1333 +0,0 @@
-
-
-
-
- Class UniversalNcStep | HiAPI-C# 2025
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Class UniversalNcStep
-
-
-
- - Namespace
- Hi.UniversalNc
- - Assembly
- HiNc.dll
-
-
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
-
-
- public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
-
-
-
-
-
-
- - Inheritance
- -
-
- UniversalNcStep
-
-
-
-
- - Implements
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Inherited Members
- -
-
-
-
-
- object.GetType()
-
-
-
-
-
-
- - Extension Methods
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
-
-
-
-
- UniversalNcStep()
-
-
-
- Ctor.
-
-
-
-
- public UniversalNcStep()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- ColorGuide
-
-
-
- Gets or sets the color guide associated with this object.
-
-
-
-
- public IColorGuide ColorGuide { get; set; }
-
-
-
-
-
-
- Property Value
-
- - IColorGuide
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmdmin
-
-
-
- Feed rate in millimeters per minute.
-
-
-
-
- public double Feedrate_mmdmin { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmds
-
-
-
- Get feedrate in mm/s.
-
-
-
-
- public double Feedrate_mmds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileIndex
-
-
-
- File Index.
-Start on 0.
-
-
-
-
- public int FileIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileNo
-
-
-
- FileIndex+1.
-
-
-
-
- public int FileNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FilePath
-
-
-
- File path.
-
-
-
-
- public string FilePath { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- FlexDictionary
-
-
-
- Dictionary for storing flexible step properties as double values.
-
-
-
-
- public Dictionary<string, double> FlexDictionary { get; set; }
-
-
-
-
-
-
- Property Value
-
- - Dictionary<string, double>
-
-
-
-
-
-
-
-
-
-
-
-
-
- Line
-
-
-
- The line.
-
-
-
-
- public string Line { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineIndex
-
-
-
- Line Index.
-Start on 0.
-
-
-
-
- public int LineIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineNo
-
-
-
- LineIndex+1.
-
-
-
-
- public int LineNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingForce
-
-
-
- Milling force.
-
-
-
-
- public MillingForce MillingForce { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingForce
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingGeomBrief
-
-
-
- Gets or sets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief MillingGeomBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingGeomBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SeqPhysicsBrief
-
-
-
- Gets or sets the sequential physics brief.
-
-
-
-
- public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SeqPhysicsBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleDirection
-
-
-
- Spindle direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_radds
-
-
-
- Get spindle speed in rad/s.
-
-
-
-
- public double SpindleSpeed_radds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_rpm
-
-
-
- Spindle speed in revolutions per minute.
-
-
-
-
- public double SpindleSpeed_rpm { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepDuration_s
-
-
-
- Step duration. Unit is second.
-
-
-
-
- public double StepDuration_s { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepIndex
-
-
-
- Step index.
-
-
-
-
- public int StepIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToolId
-
-
-
- Get tool ID.
-
-
-
-
- public int ToolId { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
- tool ID
-
-
-
-
-
-
-
-
-
-
-
-
-
- WorkTime
-
-
-
- Worked time.
-
-
-
-
- public TimeSpan WorkTime { get; set; }
-
-
-
-
-
-
- Property Value
-
- - TimeSpan
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
- GetAxisPos(string)
-
-
-
- Get absolute position of the key
axis.
-
-
-
-
- public double GetAxisPos(string key)
-
-
- Parameters
-
- key
string
- axis name
-
-
-
- Returns
-
- - double
- absolute position of the key
axis
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetCsvDictionary()
-
-
-
- Get row dictionary.
-It suits for CSV output.
-
-
-
-
- public Dictionary<string, string> GetCsvDictionary()
-
-
-
- Returns
-
- - Dictionary<string, string>
- csv row dictionary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFeedrate_mmds()
-
-
-
- Gets the program feedrate in millimeters per second.
-
-
-
-
- public double GetFeedrate_mmds()
-
-
-
- Returns
-
- - double
- Feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFileLineIndex()
-
-
-
- Get FileLineIndex.
-
-
-
-
- public FileLineIndex GetFileLineIndex()
-
-
-
- Returns
-
- - FileLineIndex
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingForce()
-
-
-
- Get MillingForce.
-
-
-
-
- public MillingForce GetMillingForce()
-
-
-
- Returns
-
- - MillingForce
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingGeomBrief()
-
-
-
- Gets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief GetMillingGeomBrief()
-
-
-
- Returns
-
- - MillingGeomBrief
- The milling geometry brief information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetNcStep()
-
-
-
- Get controller state.
-
-
-
-
- public INcStep0 GetNcStep()
-
-
-
- Returns
-
- - INcStep0
- controller state
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetQuantityByKey(string)
-
-
-
- Gets a quantity value associated with the specified key.
-
-
-
-
- public double GetQuantityByKey(string key)
-
-
- Parameters
-
- key
string
- The key to look up
-
-
-
- Returns
-
- - double
- The quantity value associated with the key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleDirection()
-
-
-
- Gets the spindle rotation direction.
-
-
-
-
- public SpindleDirection GetSpindleDirection()
-
-
-
- Returns
-
- - SpindleDirection
- The spindle direction (clockwise, counterclockwise, or stopped)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleSpeed_radds()
-
-
-
- Gets the spindle speed in radians per second.
-
-
-
-
- public double GetSpindleSpeed_radds()
-
-
-
- Returns
-
- - double
- Spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetByRowDictionary(Dictionary<string, string>)
-
-
-
- Sets the properties of this object using values from a dictionary.
-
-
-
-
- public void SetByRowDictionary(Dictionary<string, string> src)
-
-
- Parameters
-
- src
Dictionary<string, string>
- Source dictionary containing property values as strings.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToString()
-
-
-
- Returns a string representation of this NC step.
-
-
-
-
- public override string ToString()
-
-
-
- Returns
-
- - string
- String representation of this step.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
index c28f350..dcfffe9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
@@ -99,11 +99,6 @@ Classes
A strongly-typed resource class, for looking up localized strings, etc.
-
- - UniversalNcStep
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/toc.html b/App/wwwroot/HiAPI-docsite/api/toc.html
index 7a580b3..463fae7 100644
--- a/App/wwwroot/HiAPI-docsite/api/toc.html
+++ b/App/wwwroot/HiAPI-docsite/api/toc.html
@@ -471,6 +471,9 @@
-
IGetIndexedFileLine
+ -
+ IIndexedFileLine
+
-
ILineChangedEventSupport
@@ -1337,14 +1340,11 @@
- Assembly
- HiMech.dll
Interface of GetNcStep()
+Interface of GetNcStep()
public interface IGetNcStep
+ public interface IGetNcStep0
+
GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
index 2462794..3e1dda5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.INcStep0.html
@@ -104,7 +104,7 @@ Contains basic information of NC step.
- public interface INcStep0 : IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
+ public interface INcStep0 : IGetNcStep0, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
@@ -117,7 +117,7 @@ Contains basic information of NC step.
- Inherited Members
-
IGetFeedrate.GetFeedrate_mmds()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
index 03634d5..490edec 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.NcStepUtils.html
@@ -103,8 +103,8 @@ Classes
Interfaces
- - IGetNcStep
- Interface of GetNcStep()
+ - IGetNcStep0
+ Interface of GetNcStep()
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
new file mode 100644
index 0000000..739bfe1
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActData | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActData
+
+
+
+
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
+
+
+
+
+ public class ActData : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActData
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActData()
+
+
+
+
+
+
+
+ public ActData()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActData(Dictionary<string, object>)
+
+
+
+
+
+
+
+ public ActData(Dictionary<string, object> data)
+
+
+ Parameters
+
+ data
Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Data
+
+
+
+
+
+
+
+ public Dictionary<string, object> Data { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, object>
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
index b0d77a3..e475246 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineBegin.html
@@ -213,8 +213,8 @@ Class ActLineBegin
-
- ActLineBegin(ISourceCommand)
+
+ ActLineBegin(IIndexedFileLine)
@@ -223,12 +223,12 @@ Class ActLineBegin
- public ActLineBegin(ISourceCommand sourceCommand)
+ public ActLineBegin(IIndexedFileLine sourceCommand)
Parameters
- sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLine
The source command associated with this line beginning.
@@ -260,7 +260,7 @@ Class ActLineBegin
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -269,7 +269,7 @@ Class ActLineBegin
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
index cb16ac3..3509ff5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
@@ -292,7 +292,7 @@ Class ActLineEnd
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -301,7 +301,7 @@ Class ActLineEnd
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
new file mode 100644
index 0000000..34907de
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActSpindleDirection | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActSpindleDirection
+
+
+
+
+
+
+
+
+ public class ActSpindleDirection : IAct
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ ActSpindleDirection
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActSpindleDirection()
+
+
+
+ Initializes a new instance.
+
+
+
+
+ public ActSpindleDirection()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActSpindleDirection(SpindleDirection)
+
+
+
+
+
+
+
+ public ActSpindleDirection(SpindleDirection spindleDirection)
+
+
+ Parameters
+
+ spindleDirection
SpindleDirection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ SpindleDirection
+
+
+
+ Gets or sets the spindle rotation direction.
+
+
+
+
+ public SpindleDirection SpindleDirection { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SpindleDirection
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+ - string
+ A string that represents the current object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
index 8af839d..1e3235a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
@@ -212,38 +212,6 @@ Class ActSpindleSpeed
-
-
-
- SpindleDirection
-
-
-
- Gets or sets the spindle rotation direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
index 2b36500..44b712a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
@@ -117,6 +117,12 @@ Classes
- ActCooling
Represents a cooling action for machining operations.
+
+
+
+ - ActData
+ Action that add data to the step.
+The data is maybe from the sensor or computed, etc..
@@ -196,6 +202,10 @@ This class handles complex tool movements with both position and orientation con
Rapid feedrate.
+
+ - ActSpindleDirection
+
+
- ActSpindleSpeed
Represents an act that controls the spindle speed in numerical control operations.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
new file mode 100644
index 0000000..a5dba2a
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html
@@ -0,0 +1,471 @@
+
+
+
+
+ Class CsvRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunner : IControlRunner
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunner
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ CsvRunner(PacePlayer, SessionMessageHost)
+
+
+
+
+
+
+
+ public CsvRunner(PacePlayer pacePlayer, SessionMessageHost sessionMessageHost)
+
+
+ Parameters
+
+ pacePlayer
PacePlayer
+
+ sessionMessageHost
SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Config
+
+
+
+
+
+
+
+ public CsvRunnerConfig Config { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - CsvRunnerConfig
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SessionMessageHost
+
+
+
+ External Hosted.
+
+
+
+
+ public SessionMessageHost SessionMessageHost { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - SessionMessageHost
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ Reset()
+
+
+
+ Reset runtime data.
+
+
+
+
+ public void Reset()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunToLineEnd()
+
+
+
+ Set EnumerablePlayer before use the function.
+
+
+
+
+ public void RunToLineEnd()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
new file mode 100644
index 0000000..6ab2a13
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html
@@ -0,0 +1,522 @@
+
+
+
+
+ Class CsvRunnerConfig | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class CsvRunnerConfig
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public class CsvRunnerConfig
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ CsvRunnerConfig
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ CutterLocationPrefixTag
+
+
+
+ Cutter Location Prefix Tag for CSV Parsing.
+
+
+
+
+ public string CutterLocationPrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DurationTag
+
+
+
+
+
+
+
+ public string DurationTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ FeedrateTag_mmdmin
+
+
+
+ Feedrate for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string FeedrateTag_mmdmin { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineBeginCsScriptTag
+
+
+
+ LineBeginCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineBeginCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LineEndCsScriptTag
+
+
+
+ LineEndCsScript Tag for CSV Parsing.
+
+
+
+
+ public string LineEndCsScriptTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MachineCoordinatePrefixTag
+
+
+
+ Machine Coordinate Prefix Tag for CSV Parsing.
+
+
+
+
+ public string MachineCoordinatePrefixTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ParsingDictionary
+
+
+
+
+
+
+
+ public Dictionary<string, Func<string, object>> ParsingDictionary { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - Dictionary<string, Func<string, object>>
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleDirectionTag
+
+
+
+ Spindle direction Tag for CSV Parsing.
+
+
+
+
+ public string SpindleDirectionTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SpindleSpeedTag_rpm
+
+
+
+ Spindle speed for Simulator Tag for CSV Parsing.
+
+
+
+
+ public string SpindleSpeedTag_rpm { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ToolIdTag
+
+
+
+ Tool ID Tag for CSV Parsing.
+
+
+
+
+ public string ToolIdTag { get; set; }
+
+
+
+
+
+
+ Property Value
+
+ - string
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
new file mode 100644
index 0000000..12cff17
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html
@@ -0,0 +1,247 @@
+
+
+
+
+ Interface IControlRunner | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Interface IControlRunner
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
+
+
+
+
+ public interface IControlRunner
+
+
+
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
+
+
+
+ Runs raw Control lines and yields source control line and Act pairs.
+
+
+
+
+ IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+
+
+ Parameters
+
+ relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
+
+ Returns
+
+ - IEnumerable<SourceCommandActEntry>
+ Enumerable of source control line and Act pairs
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
index 3ceffd3..f421ea3 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html
@@ -102,7 +102,7 @@ Class NcRunner
- public class NcRunner
+ public class NcRunner : IControlRunner
@@ -116,6 +116,12 @@ Class NcRunner
+
+ - Implements
+ -
+
+
+
@@ -180,8 +186,8 @@ Class NcRunner
-
- NcRunner(NcEnv, SessionMessageHost)
+
+ NcRunner(PacePlayer, NcEnv, SessionMessageHost)
@@ -190,11 +196,13 @@ Class NcRunner
- public NcRunner(NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)
Parameters
+ pacePlayer
PacePlayer
+
ncEnv
NcEnv
The NC environment settings
@@ -314,6 +322,37 @@ Class NcRunner
+
+
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+ - PacePlayer
+
+
+
+
+
+
+
+
+
+
@@ -350,10 +389,37 @@ Class NcRunner
-
+
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunner
- public IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunner
Returns
- - IEnumerable<(NcLine NcLine, IAct Act)>
+ - IEnumerable<SourceCommandActEntry>
Enumerable of NcLine and Act pairs
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
new file mode 100644
index 0000000..c88a807
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
@@ -0,0 +1,309 @@
+
+
+
+
+ Class SourceCommandActEntry | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class SourceCommandActEntry
+
+
+
+ - Namespace
- Hi.Numerical.FilePlayers
+ - Assembly
- HiNc.dll
+
+
+
+
+
+
+ public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+
+
+
+
+
+
+ - Inheritance
+ -
+
+ SourceCommandActEntry
+
+
+
+
+ - Implements
+ -
+
+
+
+
+
+
+ - Inherited Members
+ -
+
+
+
+
+ object.GetType()
+
+
+
+
+
+
+
+ - Extension Methods
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ SourceCommandActEntry(IIndexedFileLine, IAct)
+
+
+
+
+
+
+
+ public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+
+
+ Parameters
+
+ SourceCommand
IIndexedFileLine
+
+ Act
IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Act
+
+
+
+
+
+
+
+ public IAct Act { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SourceCommand
+
+
+
+
+
+
+
+ public IIndexedFileLine SourceCommand { get; init; }
+
+
+
+
+
+
+ Property Value
+
+ - IIndexedFileLine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
index a1f84b3..2a85897 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
@@ -94,9 +94,31 @@
Classes
+
+ - CsvRunner
+
+
+
+ - CsvRunnerConfig
+
+
- NcRunner
Provides functionality for running and processing NC code lines.
+
+
+
+ - SourceCommandActEntry
+
+
+
+Interfaces
+
+
+ - IControlRunner
+ Control Runner.
+The term control is machine control.
+The Control Line is such like the NC (Numerical Control) line.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
index a5c0a20..ada38ff 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
@@ -102,7 +102,7 @@ Class NcLine
- public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
@@ -119,12 +119,12 @@ Class NcLine
- Implements
-
-
+
-
+
@@ -2221,20 +2221,18 @@ So be care that do not change the NC XYZ if not needed.
- Gets the source command associated with this instance.
-
+
- public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Returns
- - ISourceCommand
- The source command object.
-
+ - IIndexedFileLine
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
deleted file mode 100644
index d8761c3..0000000
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
+++ /dev/null
@@ -1,1333 +0,0 @@
-
-
-
-
- Class UniversalNcStep | HiAPI-C# 2025
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Class UniversalNcStep
-
-
-
- - Namespace
- Hi.UniversalNc
- - Assembly
- HiNc.dll
-
-
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
-
-
- public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
-
-
-
-
-
-
- - Inheritance
- -
-
- UniversalNcStep
-
-
-
-
- - Implements
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Inherited Members
- -
-
-
-
-
- object.GetType()
-
-
-
-
-
-
- - Extension Methods
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
-
-
-
-
- UniversalNcStep()
-
-
-
- Ctor.
-
-
-
-
- public UniversalNcStep()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- ColorGuide
-
-
-
- Gets or sets the color guide associated with this object.
-
-
-
-
- public IColorGuide ColorGuide { get; set; }
-
-
-
-
-
-
- Property Value
-
- - IColorGuide
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmdmin
-
-
-
- Feed rate in millimeters per minute.
-
-
-
-
- public double Feedrate_mmdmin { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmds
-
-
-
- Get feedrate in mm/s.
-
-
-
-
- public double Feedrate_mmds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileIndex
-
-
-
- File Index.
-Start on 0.
-
-
-
-
- public int FileIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileNo
-
-
-
- FileIndex+1.
-
-
-
-
- public int FileNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- FilePath
-
-
-
- File path.
-
-
-
-
- public string FilePath { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- FlexDictionary
-
-
-
- Dictionary for storing flexible step properties as double values.
-
-
-
-
- public Dictionary<string, double> FlexDictionary { get; set; }
-
-
-
-
-
-
- Property Value
-
- - Dictionary<string, double>
-
-
-
-
-
-
-
-
-
-
-
-
-
- Line
-
-
-
- The line.
-
-
-
-
- public string Line { get; set; }
-
-
-
-
-
-
- Property Value
-
- - string
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineIndex
-
-
-
- Line Index.
-Start on 0.
-
-
-
-
- public int LineIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineNo
-
-
-
- LineIndex+1.
-
-
-
-
- public int LineNo { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingForce
-
-
-
- Milling force.
-
-
-
-
- public MillingForce MillingForce { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingForce
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingGeomBrief
-
-
-
- Gets or sets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief MillingGeomBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - MillingGeomBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SeqPhysicsBrief
-
-
-
- Gets or sets the sequential physics brief.
-
-
-
-
- public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SeqPhysicsBrief
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleDirection
-
-
-
- Spindle direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
- - SpindleDirection
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_radds
-
-
-
- Get spindle speed in rad/s.
-
-
-
-
- public double SpindleSpeed_radds { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
- spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_rpm
-
-
-
- Spindle speed in revolutions per minute.
-
-
-
-
- public double SpindleSpeed_rpm { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepDuration_s
-
-
-
- Step duration. Unit is second.
-
-
-
-
- public double StepDuration_s { get; set; }
-
-
-
-
-
-
- Property Value
-
- - double
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepIndex
-
-
-
- Step index.
-
-
-
-
- public int StepIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToolId
-
-
-
- Get tool ID.
-
-
-
-
- public int ToolId { get; set; }
-
-
-
-
-
-
- Property Value
-
- - int
- tool ID
-
-
-
-
-
-
-
-
-
-
-
-
-
- WorkTime
-
-
-
- Worked time.
-
-
-
-
- public TimeSpan WorkTime { get; set; }
-
-
-
-
-
-
- Property Value
-
- - TimeSpan
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
- GetAxisPos(string)
-
-
-
- Get absolute position of the key
axis.
-
-
-
-
- public double GetAxisPos(string key)
-
-
- Parameters
-
- key
string
- axis name
-
-
-
- Returns
-
- - double
- absolute position of the key
axis
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetCsvDictionary()
-
-
-
- Get row dictionary.
-It suits for CSV output.
-
-
-
-
- public Dictionary<string, string> GetCsvDictionary()
-
-
-
- Returns
-
- - Dictionary<string, string>
- csv row dictionary
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFeedrate_mmds()
-
-
-
- Gets the program feedrate in millimeters per second.
-
-
-
-
- public double GetFeedrate_mmds()
-
-
-
- Returns
-
- - double
- Feedrate in mm/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFileLineIndex()
-
-
-
- Get FileLineIndex.
-
-
-
-
- public FileLineIndex GetFileLineIndex()
-
-
-
- Returns
-
- - FileLineIndex
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingForce()
-
-
-
- Get MillingForce.
-
-
-
-
- public MillingForce GetMillingForce()
-
-
-
- Returns
-
- - MillingForce
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingGeomBrief()
-
-
-
- Gets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief GetMillingGeomBrief()
-
-
-
- Returns
-
- - MillingGeomBrief
- The milling geometry brief information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetNcStep()
-
-
-
- Get controller state.
-
-
-
-
- public INcStep0 GetNcStep()
-
-
-
- Returns
-
- - INcStep0
- controller state
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetQuantityByKey(string)
-
-
-
- Gets a quantity value associated with the specified key.
-
-
-
-
- public double GetQuantityByKey(string key)
-
-
- Parameters
-
- key
string
- The key to look up
-
-
-
- Returns
-
- - double
- The quantity value associated with the key
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleDirection()
-
-
-
- Gets the spindle rotation direction.
-
-
-
-
- public SpindleDirection GetSpindleDirection()
-
-
-
- Returns
-
- - SpindleDirection
- The spindle direction (clockwise, counterclockwise, or stopped)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleSpeed_radds()
-
-
-
- Gets the spindle speed in radians per second.
-
-
-
-
- public double GetSpindleSpeed_radds()
-
-
-
- Returns
-
- - double
- Spindle speed in rad/s
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetByRowDictionary(Dictionary<string, string>)
-
-
-
- Sets the properties of this object using values from a dictionary.
-
-
-
-
- public void SetByRowDictionary(Dictionary<string, string> src)
-
-
- Parameters
-
- src
Dictionary<string, string>
- Source dictionary containing property values as strings.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToString()
-
-
-
- Returns a string representation of this NC step.
-
-
-
-
- public override string ToString()
-
-
-
- Returns
-
- - string
- String representation of this step.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
index c28f350..dcfffe9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
@@ -99,11 +99,6 @@ Classes
A strongly-typed resource class, for looking up localized strings, etc.
-
- - UniversalNcStep
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/toc.html b/App/wwwroot/HiAPI-docsite/api/toc.html
index 7a580b3..463fae7 100644
--- a/App/wwwroot/HiAPI-docsite/api/toc.html
+++ b/App/wwwroot/HiAPI-docsite/api/toc.html
@@ -471,6 +471,9 @@
-
IGetIndexedFileLine
+ -
+ IIndexedFileLine
+
-
ILineChangedEventSupport
@@ -1337,14 +1340,11 @@
public interface INcStep0 : IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
+ public interface INcStep0 : IGetNcStep0, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine
-
-
- IGetNcStep -
Interface of GetNcStep()
+- IGetNcStep0 +
Interface of GetNcStep()
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
new file mode 100644
index 0000000..739bfe1
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActData.html
@@ -0,0 +1,338 @@
+
+
+
+
+
- Inheritance +
-
+
+ ActData+
+
- Implements +
- + + +
- Inherited Members +
-
+
+
+
+ + object.GetType() ++ + +
- Extension Methods +
- + + + + + + + +
data
Dictionary<string, object>
+
+ - Dictionary<string, object> + +
- string +
A string that represents the current object.
+
+ sourceCommand
ISourceCommand
+ sourceCommand
IIndexedFileLineThe source command associated with this line beginning.
- Inheritance +
-
+
+ ActSpindleDirection+
+
- Implements +
- + + +
- Inherited Members +
-
+
+
+
+ + object.GetType() ++ + +
- Extension Methods +
- + + + + + + + +
spindleDirection
SpindleDirection
+
+ - SpindleDirection + +
- string +
A string that represents the current object.
+
+ - SpindleDirection - -
- ActCooling
Represents a cooling action for machining operations.
+
+ - ActData +
Action that add data to the step. +The data is maybe from the sensor or computed, etc..
Rapid feedrate.
- ActSpindleDirection + +
- ActSpindleSpeed
Represents an act that controls the spindle speed in numerical control operations.
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html new file mode 100644 index 0000000..a5dba2a --- /dev/null +++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunner.html @@ -0,0 +1,471 @@ + + + + +Class CsvRunner | HiAPI-C# 2025 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ++ + + ++ + + + + + + diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html new file mode 100644 index 0000000..6ab2a13 --- /dev/null +++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.CsvRunnerConfig.html @@ -0,0 +1,522 @@ + + + + +++ +++++Table of Contents
+ ++ ++++ + + ++ + + + + ++Class CsvRunner +
+ +++ + + + +- Namespace
- Hi.Numerical.FilePlayers
- Assembly
- HiNc.dll
++ + + + +
+public class CsvRunner : IControlRunner
-
+
- Inheritance +
-
+
+ CsvRunner+
+
-
+
- Implements +
- + + +
-
+
- Inherited Members +
-
+
+
+
+ + object.GetType() ++ + + +
-
+
- Extension Methods +
- + + + + + + + +
Constructors +
+ + + + ++ CsvRunner(PacePlayer, SessionMessageHost) + +
+ + + + +++ +
+public CsvRunner(PacePlayer pacePlayer, SessionMessageHost sessionMessageHost)
Parameters
+-
+
pacePlayer
PacePlayer
+
+ sessionMessageHost
SessionMessageHost
+
+
Properties +
+ + + + ++ Config + +
+ + + + +++ + + + + +
+public CsvRunnerConfig Config { get; set; }
Property Value
+-
+
- CsvRunnerConfig + +
+ PacePlayer + +
+ + + + +++ + + + + +
+public PacePlayer PacePlayer { get; }
Property Value
+-
+
- PacePlayer + +
+ SessionMessageHost + +
+ ++ + +External Hosted.
+++ + + + + +
+public SessionMessageHost SessionMessageHost { get; set; }
Property Value
+-
+
- SessionMessageHost + +
Methods +
+ + + + ++ Reset() + +
+ ++ + +Reset runtime data.
+++ + + + + + + + + + + + + + + +
+public void Reset()
+ ResetFileIndex() + +
+ ++ + +Resets the file index to zero.
+++ + + + + + + + + + + + + + + +
+public void ResetFileIndex()
+ RunControlLines(string, IEnumerable<string>, CancellationToken) + +
+ ++ + +Runs raw Control lines and yields source control line and Act pairs.
+++ +
+public IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
+-
+
relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
Returns
+-
+
- IEnumerable<SourceCommandActEntry> +
Enumerable of source control line and Act pairs
+
+
+ RunToLineEnd() + +
+ ++ + +Set EnumerablePlayer before use the function.
+++ + + + + + + + + + + + + + +
+public void RunToLineEnd()
++ + ++ ++Class CsvRunnerConfig | HiAPI-C# 2025 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ++ + + ++ + + + + + + diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html new file mode 100644 index 0000000..12cff17 --- /dev/null +++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.IControlRunner.html @@ -0,0 +1,247 @@ + + + + +++ +++++Table of Contents
+ ++ ++++ + + ++ + + + + ++Class CsvRunnerConfig +
+ +++ + + + +- Namespace
- Hi.Numerical.FilePlayers
- Assembly
- HiNc.dll
++ + + + +
+public class CsvRunnerConfig
-
+
- Inheritance +
-
+
+ CsvRunnerConfig+
+
-
+
- Inherited Members +
-
+
+
+
+ + object.GetType() ++ + + +
-
+
- Extension Methods +
- + + + + + + + +
Properties +
+ + + + ++ CutterLocationPrefixTag + +
+ ++ + +Cutter Location Prefix Tag for CSV Parsing.
+++ + + + + +
+public string CutterLocationPrefixTag { get; set; }
Property Value
+-
+
- string + +
+ DurationTag + +
+ + + + +++ + + + + +
+public string DurationTag { get; set; }
Property Value
+-
+
- string + +
+ FeedrateTag_mmdmin + +
+ ++ + +Feedrate for Simulator Tag for CSV Parsing.
+++ + + + + +
+public string FeedrateTag_mmdmin { get; set; }
Property Value
+-
+
- string + +
+ LineBeginCsScriptTag + +
+ ++ + +LineBeginCsScript Tag for CSV Parsing.
+++ + + + + +
+public string LineBeginCsScriptTag { get; set; }
Property Value
+-
+
- string + +
+ LineEndCsScriptTag + +
+ ++ + +LineEndCsScript Tag for CSV Parsing.
+++ + + + + +
+public string LineEndCsScriptTag { get; set; }
Property Value
+-
+
- string + +
+ MachineCoordinatePrefixTag + +
+ ++ + +Machine Coordinate Prefix Tag for CSV Parsing.
+++ + + + + +
+public string MachineCoordinatePrefixTag { get; set; }
Property Value
+-
+
- string + +
+ ParsingDictionary + +
+ + + + +++ + + + + +
+public Dictionary<string, Func<string, object>> ParsingDictionary { get; set; }
Property Value
+-
+
- Dictionary<string, Func<string, object>> + +
+ SpindleDirectionTag + +
+ ++ + +Spindle direction Tag for CSV Parsing.
+++ + + + + +
+public string SpindleDirectionTag { get; set; }
Property Value
+-
+
- string + +
+ SpindleSpeedTag_rpm + +
+ ++ + +Spindle speed for Simulator Tag for CSV Parsing.
+++ + + + + +
+public string SpindleSpeedTag_rpm { get; set; }
Property Value
+-
+
- string + +
+ ToolIdTag + +
+ ++ + +Tool ID Tag for CSV Parsing.
+++ + + + + +
+public string ToolIdTag { get; set; }
Property Value
+-
+
- string + +
++ + ++ ++Interface IControlRunner | HiAPI-C# 2025 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ++ + + ++ + + + + + + diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html index 3ceffd3..f421ea3 100644 --- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html +++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.NcRunner.html @@ -102,7 +102,7 @@ Class NcRunner++ +++++Table of Contents
+ ++ ++++ + + ++ + + + + ++Interface IControlRunner +
+ +++ +- Namespace
- Hi.Numerical.FilePlayers
- Assembly
- HiNc.dll
+ + +Control Runner. +The term control is machine control. +The Control Line is such like the NC (Numerical Control) line.
+++ + + + + + + + +
+public interface IControlRunner
-
+
- Extension Methods +
- + + + + + + + +
Methods +
+ + + + ++ ResetFileIndex() + +
+ ++ + +Resets the file index to zero.
+++ + + + + + + + + + + + + + + +
+void ResetFileIndex()
+ RunControlLines(string, IEnumerable<string>, CancellationToken) + +
+ ++ + +Runs raw Control lines and yields source control line and Act pairs.
+++ +
+IEnumerable<SourceCommandActEntry> RunControlLines(string relFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
+-
+
relFilePath
string
+ The relative path of the control file
+
+ lines
IEnumerable<string>
+ The enumerable collection of command (control code) lines
+
+ cancellationToken
CancellationToken
+ Cancellation token to cancel the operation
+
+
Returns
+-
+
- IEnumerable<SourceCommandActEntry> +
Enumerable of source control line and Act pairs
+
+
++ + ++ ++-@@ -116,6 +116,12 @@ Class NcRunner
+public class NcRunner
public class NcRunner : IControlRunner
- Implements +
- + + +
pacePlayer
PacePlayer
+
ncEnv
NcEnvThe NC environment settings
@@ -314,6 +322,37 @@ Class NcRunner
+
+
+ - PacePlayer + +
- IEnumerable<(NcLine NcLine, IAct Act)> +
- IEnumerable<SourceCommandActEntry>
Enumerable of NcLine and Act pairs
- Namespace
- Hi.Numerical.FilePlayers
- Assembly
- HiNc.dll
- Inheritance +
-
+
+ SourceCommandActEntry+
+
- Implements +
- + + +
- Inherited Members +
-
+
+
+
+ + object.GetType() ++ + + +
- Extension Methods +
- + + + + + + + +
SourceCommand
IIndexedFileLine
+
+ Act
IAct
+
+ - IAct + +
- IIndexedFileLine + +
- CsvRunner + +
- CsvRunnerConfig + +
- NcRunner
Provides functionality for running and processing NC code lines.
+
+ - SourceCommandActEntry + +
- IControlRunner +
Control Runner. +The term control is machine control. +The Control Line is such like the NC (Numerical Control) line.
- Implements
- - + - +
- ISourceCommand -
The source command object.
-
+ - IIndexedFileLine +
- Namespace
- Hi.UniversalNc
- Assembly
- HiNc.dll
- Inheritance -
-
-
- UniversalNcStep-
-
- Implements -
- - - - - - - - - - - - - - - - - - -
- Inherited Members -
-
-
-
-
- - object.GetType() -- - -
- Extension Methods -
- - - - - - - - - - - - - - - -
- IColorGuide - -
- double - -
- double -
feedrate in mm/s
-
- - int - -
- int - -
- string - -
- Dictionary<string, double> - -
- string - -
- int - -
- int - -
- MillingForce - -
- MillingGeomBrief - -
- SeqPhysicsBrief - -
- SpindleDirection - -
- double -
spindle speed in rad/s
-
- - double - -
- double - -
- int - -
- int -
tool ID
-
- - TimeSpan - -
key
string
- axis name
-
- - double -
absolute position of the
-key
axis
- - Dictionary<string, string> -
csv row dictionary
-
- - double -
Feedrate in mm/s
-
- - FileLineIndex -
- - -
- MillingForce -
- - -
- MillingGeomBrief -
The milling geometry brief information.
-
- - INcStep0 -
controller state
-
- key
string
- The key to look up
-
- - double -
The quantity value associated with the key
-
- - SpindleDirection -
The spindle direction (clockwise, counterclockwise, or stopped)
-
- - double -
Spindle speed in rad/s
-
- src
Dictionary<string, string>
- Source dictionary containing property values as strings.
-
- - string -
String representation of this step.
-
- A strongly-typed resource class, for looking up localized strings, etc.
- UniversalNcStep -
Universal NC step implementation that provides a flexible storage for various step properties.
-
-
Table of Contents
+ ++Class ActData +
+ + + +Action that add data to the step. +The data is maybe from the sensor or computed, etc..
+public class ActData : IAct
+ -
+
-
+
-
+
-
+
Constructors +
+ + + + ++ ActData() + +
+ + + + +public ActData()
+ + ActData(Dictionary<string, object>) + +
+ + + + +public ActData(Dictionary<string, object> data)
+ Parameters
+-
+
Properties +
+ + + + ++ Data + +
+ + + + +public Dictionary<string, object> Data { get; set; }
+ Property Value
+-
+
Methods +
+ + + + ++ ToString() + +
+ +Returns a string that represents the current object.
+public override string ToString()
+ Returns
+-
+
- ActLineBegin(ISourceCommand)
+
+ ActLineBegin(IIndexedFileLine)
@@ -223,12 +223,12 @@ Class ActLineBegin
- public ActLineBegin(ISourceCommand sourceCommand)
+ public ActLineBegin(IIndexedFileLine sourceCommand)
Parameters
-
@@ -260,7 +260,7 @@ Class ActLineBegin
- public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
@@ -269,7 +269,7 @@ Class ActLineBegin
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
index cb16ac3..3509ff5 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActLineEnd.html
@@ -292,7 +292,7 @@ Class ActLineEnd
- public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
@@ -301,7 +301,7 @@ Class ActLineEnd
Property Value
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
new file mode 100644
index 0000000..34907de
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleDirection.html
@@ -0,0 +1,338 @@
+
+
+
+
+ Class ActSpindleDirection | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class ActSpindleDirection
+
+
+
+
+
+
+
+
+ public class ActSpindleDirection : IAct
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ ActSpindleDirection()
+
+
+
+ Initializes a new instance.
+
+
+
+
+ public ActSpindleDirection()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActSpindleDirection(SpindleDirection)
+
+
+
+
+
+
+
+ public ActSpindleDirection(SpindleDirection spindleDirection)
+
+
+ Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ SpindleDirection
+
+
+
+ Gets or sets the spindle rotation direction.
+
+
+
+
+ public SpindleDirection SpindleDirection { get; set; }
+
+
+
+
+
+
+ Property Value
+
+
+
+
+
+
+
+
+
+
+ Methods
+
+
+
+
+
+
+ ToString()
+
+
+
+ Returns a string that represents the current object.
+
+
+
+
+ public override string ToString()
+
+
+
+ Returns
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
index 8af839d..1e3235a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.ActSpindleSpeed.html
@@ -212,38 +212,6 @@ Class ActSpindleSpeed
-
-
-
- SpindleDirection
-
-
-
- Gets or sets the spindle rotation direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
index 2b36500..44b712a 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.Acts.html
@@ -117,6 +117,12 @@ Classes
+
+
@@ -196,6 +202,10 @@ This class handles complex tool movements with both position and orientation con
+
+
+
+
@@ -180,8 +186,8 @@ Class NcRunner
-
- NcRunner(NcEnv, SessionMessageHost)
+
+ NcRunner(PacePlayer, NcEnv, SessionMessageHost)
@@ -190,11 +196,13 @@ Class NcRunner
- public NcRunner(NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)
Parameters
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+
+
+
+
+
+
+
+
+
@@ -350,10 +389,37 @@ Class NcRunner
-
+
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunner
- public IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunner
Returns
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
new file mode 100644
index 0000000..c88a807
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
@@ -0,0 +1,309 @@
+
+
+
+
+ Class SourceCommandActEntry | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class SourceCommandActEntry
+
+
+
+
+
+
+
+
+
+
+
+ public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ SourceCommandActEntry(IIndexedFileLine, IAct)
+
+
+
+
+
+
+
+ public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+
+
+ Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Act
+
+
+
+
+
+
+
+ public IAct Act { get; init; }
+
+
+
+
+
+
+ Property Value
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SourceCommand
+
+
+
+
+
+
+
+ public IIndexedFileLine SourceCommand { get; init; }
+
+
+
+
+
+
+ Property Value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
index a1f84b3..2a85897 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
@@ -94,9 +94,31 @@
Classes
+
+
+
+
+
+
+
+Interfaces
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
index a5c0a20..ada38ff 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
@@ -102,7 +102,7 @@ Class NcLine
- public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
@@ -119,12 +119,12 @@ Class NcLine
@@ -2221,20 +2221,18 @@ So be care that do not change the NC XYZ if not needed.
- Gets the source command associated with this instance.
-
+
- public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Returns
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
deleted file mode 100644
index d8761c3..0000000
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
+++ /dev/null
@@ -1,1333 +0,0 @@
-
-
-
-
- Class UniversalNcStep | HiAPI-C# 2025
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Class UniversalNcStep
-
-
-
-
-
-
-
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
-
-
- public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
-
-
-
-
- UniversalNcStep()
-
-
-
- Ctor.
-
-
-
-
- public UniversalNcStep()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- ColorGuide
-
-
-
- Gets or sets the color guide associated with this object.
-
-
-
-
- public IColorGuide ColorGuide { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmdmin
-
-
-
- Feed rate in millimeters per minute.
-
-
-
-
- public double Feedrate_mmdmin { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmds
-
-
-
- Get feedrate in mm/s.
-
-
-
-
- public double Feedrate_mmds { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileIndex
-
-
-
- File Index.
-Start on 0.
-
-
-
-
- public int FileIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileNo
-
-
-
- FileIndex+1.
-
-
-
-
- public int FileNo { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- FilePath
-
-
-
- File path.
-
-
-
-
- public string FilePath { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- FlexDictionary
-
-
-
- Dictionary for storing flexible step properties as double values.
-
-
-
-
- public Dictionary<string, double> FlexDictionary { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- Line
-
-
-
- The line.
-
-
-
-
- public string Line { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineIndex
-
-
-
- Line Index.
-Start on 0.
-
-
-
-
- public int LineIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineNo
-
-
-
- LineIndex+1.
-
-
-
-
- public int LineNo { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingForce
-
-
-
- Milling force.
-
-
-
-
- public MillingForce MillingForce { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingGeomBrief
-
-
-
- Gets or sets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief MillingGeomBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- SeqPhysicsBrief
-
-
-
- Gets or sets the sequential physics brief.
-
-
-
-
- public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleDirection
-
-
-
- Spindle direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_radds
-
-
-
- Get spindle speed in rad/s.
-
-
-
-
- public double SpindleSpeed_radds { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_rpm
-
-
-
- Spindle speed in revolutions per minute.
-
-
-
-
- public double SpindleSpeed_rpm { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepDuration_s
-
-
-
- Step duration. Unit is second.
-
-
-
-
- public double StepDuration_s { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepIndex
-
-
-
- Step index.
-
-
-
-
- public int StepIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToolId
-
-
-
- Get tool ID.
-
-
-
-
- public int ToolId { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- WorkTime
-
-
-
- Worked time.
-
-
-
-
- public TimeSpan WorkTime { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
- GetAxisPos(string)
-
-
-
- Get absolute position of the key
axis.
-
-
-
-
- public double GetAxisPos(string key)
-
-
- Parameters
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetCsvDictionary()
-
-
-
- Get row dictionary.
-It suits for CSV output.
-
-
-
-
- public Dictionary<string, string> GetCsvDictionary()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFeedrate_mmds()
-
-
-
- Gets the program feedrate in millimeters per second.
-
-
-
-
- public double GetFeedrate_mmds()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFileLineIndex()
-
-
-
- Get FileLineIndex.
-
-
-
-
- public FileLineIndex GetFileLineIndex()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingForce()
-
-
-
- Get MillingForce.
-
-
-
-
- public MillingForce GetMillingForce()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingGeomBrief()
-
-
-
- Gets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief GetMillingGeomBrief()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetNcStep()
-
-
-
- Get controller state.
-
-
-
-
- public INcStep0 GetNcStep()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetQuantityByKey(string)
-
-
-
- Gets a quantity value associated with the specified key.
-
-
-
-
- public double GetQuantityByKey(string key)
-
-
- Parameters
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleDirection()
-
-
-
- Gets the spindle rotation direction.
-
-
-
-
- public SpindleDirection GetSpindleDirection()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleSpeed_radds()
-
-
-
- Gets the spindle speed in radians per second.
-
-
-
-
- public double GetSpindleSpeed_radds()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetByRowDictionary(Dictionary<string, string>)
-
-
-
- Sets the properties of this object using values from a dictionary.
-
-
-
-
- public void SetByRowDictionary(Dictionary<string, string> src)
-
-
- Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToString()
-
-
-
- Returns a string representation of this NC step.
-
-
-
-
- public override string ToString()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
index c28f350..dcfffe9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
@@ -99,11 +99,6 @@ Classes
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/toc.html b/App/wwwroot/HiAPI-docsite/api/toc.html
index 7a580b3..463fae7 100644
--- a/App/wwwroot/HiAPI-docsite/api/toc.html
+++ b/App/wwwroot/HiAPI-docsite/api/toc.html
@@ -471,6 +471,9 @@
public ActLineBegin(ISourceCommand sourceCommand)
+ public ActLineBegin(IIndexedFileLine sourceCommand)
public ISourceCommand SourceCommand { get; set; }
+ public IIndexedFileLine SourceCommand { get; set; }
public ISourceCommand SourceCommand { get; }
+ public IIndexedFileLine SourceCommand { get; }
Table of Contents
+ ++Class ActSpindleDirection +
+ + + + + + +public class ActSpindleDirection : IAct
+ -
+
-
+
-
+
-
+
Constructors +
+ + + + ++ ActSpindleDirection() + +
+ +Initializes a new instance.
+public ActSpindleDirection()
+ + ActSpindleDirection(SpindleDirection) + +
+ + + + +public ActSpindleDirection(SpindleDirection spindleDirection)
+ Parameters
+-
+
Properties +
+ + + + ++ SpindleDirection + +
+ +Gets or sets the spindle rotation direction.
+public SpindleDirection SpindleDirection { get; set; }
+ Property Value
+-
+
Methods +
+ + + + ++ ToString() + +
+ +Returns a string that represents the current object.
+public override string ToString()
+ Returns
+-
+
Gets or sets the spindle rotation direction.
-public SpindleDirection SpindleDirection { get; set; }
- -
+
-
@@ -196,6 +202,10 @@ This class handles complex tool movements with both position and orientation con
-
+
-
+
-
@@ -180,8 +186,8 @@ Class NcRunner
-
- NcRunner(NcEnv, SessionMessageHost)
+
+ NcRunner(PacePlayer, NcEnv, SessionMessageHost)
@@ -190,11 +196,13 @@ Class NcRunner
- public NcRunner(NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)
Parameters
+
+ PacePlayer
+
+
+
+
+
+
+
+ public PacePlayer PacePlayer { get; }
+
+
+
+
+
+
+ Property Value
+
+
+
+
+
+
+
+
+
+
@@ -350,10 +389,37 @@ Class NcRunner
-
+
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunner
- public IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunner
Returns
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
new file mode 100644
index 0000000..c88a807
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
@@ -0,0 +1,309 @@
+
+
+
+
+ Class SourceCommandActEntry | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class SourceCommandActEntry
+
+
+
+
+
+
+
+
+
+
+
+ public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ SourceCommandActEntry(IIndexedFileLine, IAct)
+
+
+
+
+
+
+
+ public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+
+
+ Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Act
+
+
+
+
+
+
+
+ public IAct Act { get; init; }
+
+
+
+
+
+
+ Property Value
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SourceCommand
+
+
+
+
+
+
+
+ public IIndexedFileLine SourceCommand { get; init; }
+
+
+
+
+
+
+ Property Value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
index a1f84b3..2a85897 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
@@ -94,9 +94,31 @@
Classes
+
+
+
+
+
+
+
+Interfaces
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
index a5c0a20..ada38ff 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
@@ -102,7 +102,7 @@ Class NcLine
- public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
@@ -119,12 +119,12 @@ Class NcLine
@@ -2221,20 +2221,18 @@ So be care that do not change the NC XYZ if not needed.
- Gets the source command associated with this instance.
-
+
- public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Returns
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
deleted file mode 100644
index d8761c3..0000000
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
+++ /dev/null
@@ -1,1333 +0,0 @@
-
-
-
-
- Class UniversalNcStep | HiAPI-C# 2025
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Class UniversalNcStep
-
-
-
-
-
-
-
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
-
-
- public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
-
-
-
-
- UniversalNcStep()
-
-
-
- Ctor.
-
-
-
-
- public UniversalNcStep()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- ColorGuide
-
-
-
- Gets or sets the color guide associated with this object.
-
-
-
-
- public IColorGuide ColorGuide { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmdmin
-
-
-
- Feed rate in millimeters per minute.
-
-
-
-
- public double Feedrate_mmdmin { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmds
-
-
-
- Get feedrate in mm/s.
-
-
-
-
- public double Feedrate_mmds { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileIndex
-
-
-
- File Index.
-Start on 0.
-
-
-
-
- public int FileIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileNo
-
-
-
- FileIndex+1.
-
-
-
-
- public int FileNo { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- FilePath
-
-
-
- File path.
-
-
-
-
- public string FilePath { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- FlexDictionary
-
-
-
- Dictionary for storing flexible step properties as double values.
-
-
-
-
- public Dictionary<string, double> FlexDictionary { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- Line
-
-
-
- The line.
-
-
-
-
- public string Line { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineIndex
-
-
-
- Line Index.
-Start on 0.
-
-
-
-
- public int LineIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineNo
-
-
-
- LineIndex+1.
-
-
-
-
- public int LineNo { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingForce
-
-
-
- Milling force.
-
-
-
-
- public MillingForce MillingForce { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingGeomBrief
-
-
-
- Gets or sets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief MillingGeomBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- SeqPhysicsBrief
-
-
-
- Gets or sets the sequential physics brief.
-
-
-
-
- public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleDirection
-
-
-
- Spindle direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_radds
-
-
-
- Get spindle speed in rad/s.
-
-
-
-
- public double SpindleSpeed_radds { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_rpm
-
-
-
- Spindle speed in revolutions per minute.
-
-
-
-
- public double SpindleSpeed_rpm { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepDuration_s
-
-
-
- Step duration. Unit is second.
-
-
-
-
- public double StepDuration_s { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepIndex
-
-
-
- Step index.
-
-
-
-
- public int StepIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToolId
-
-
-
- Get tool ID.
-
-
-
-
- public int ToolId { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- WorkTime
-
-
-
- Worked time.
-
-
-
-
- public TimeSpan WorkTime { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
- GetAxisPos(string)
-
-
-
- Get absolute position of the key
axis.
-
-
-
-
- public double GetAxisPos(string key)
-
-
- Parameters
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetCsvDictionary()
-
-
-
- Get row dictionary.
-It suits for CSV output.
-
-
-
-
- public Dictionary<string, string> GetCsvDictionary()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFeedrate_mmds()
-
-
-
- Gets the program feedrate in millimeters per second.
-
-
-
-
- public double GetFeedrate_mmds()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFileLineIndex()
-
-
-
- Get FileLineIndex.
-
-
-
-
- public FileLineIndex GetFileLineIndex()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingForce()
-
-
-
- Get MillingForce.
-
-
-
-
- public MillingForce GetMillingForce()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingGeomBrief()
-
-
-
- Gets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief GetMillingGeomBrief()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetNcStep()
-
-
-
- Get controller state.
-
-
-
-
- public INcStep0 GetNcStep()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetQuantityByKey(string)
-
-
-
- Gets a quantity value associated with the specified key.
-
-
-
-
- public double GetQuantityByKey(string key)
-
-
- Parameters
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleDirection()
-
-
-
- Gets the spindle rotation direction.
-
-
-
-
- public SpindleDirection GetSpindleDirection()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleSpeed_radds()
-
-
-
- Gets the spindle speed in radians per second.
-
-
-
-
- public double GetSpindleSpeed_radds()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetByRowDictionary(Dictionary<string, string>)
-
-
-
- Sets the properties of this object using values from a dictionary.
-
-
-
-
- public void SetByRowDictionary(Dictionary<string, string> src)
-
-
- Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToString()
-
-
-
- Returns a string representation of this NC step.
-
-
-
-
- public override string ToString()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
index c28f350..dcfffe9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
@@ -99,11 +99,6 @@ Classes
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/toc.html b/App/wwwroot/HiAPI-docsite/api/toc.html
index 7a580b3..463fae7 100644
--- a/App/wwwroot/HiAPI-docsite/api/toc.html
+++ b/App/wwwroot/HiAPI-docsite/api/toc.html
@@ -471,6 +471,9 @@
public NcRunner(NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ public NcRunner(PacePlayer pacePlayer, NcEnv ncEnv, SessionMessageHost millingProcessMessage)
+ PacePlayer + +
+ + + + +public PacePlayer PacePlayer { get; }
+ Property Value
+-
+
@@ -350,10 +389,37 @@ Class NcRunner
-
+
-
- RunRawNcLines(string, IEnumerable<string>, CancellationToken)
+
+ ResetFileIndex()
+
+
+
+ Resets the file index to zero.
+
+
+
+
+ public void ResetFileIndex()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunner
- public IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunner
Returns
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
new file mode 100644
index 0000000..c88a807
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.SourceCommandActEntry.html
@@ -0,0 +1,309 @@
+
+
+
+
+ Class SourceCommandActEntry | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Class SourceCommandActEntry
+
+
+
+
+
+
+
+
+
+
+
+ public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Constructors
+
+
+
+
+
+
+ SourceCommandActEntry(IIndexedFileLine, IAct)
+
+
+
+
+
+
+
+ public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+
+
+ Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Properties
+
+
+
+
+
+
+ Act
+
+
+
+
+
+
+
+ public IAct Act { get; init; }
+
+
+
+
+
+
+ Property Value
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SourceCommand
+
+
+
+
+
+
+
+ public IIndexedFileLine SourceCommand { get; init; }
+
+
+
+
+
+
+ Property Value
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
index a1f84b3..2a85897 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.FilePlayers.html
@@ -94,9 +94,31 @@
Classes
+
+
+
+
+
+
+
+Interfaces
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
index a5c0a20..ada38ff 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.Numerical.NcLine.html
@@ -102,7 +102,7 @@ Class NcLine
- public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
@@ -119,12 +119,12 @@ Class NcLine
@@ -2221,20 +2221,18 @@ So be care that do not change the NC XYZ if not needed.
- Gets the source command associated with this instance.
-
+
- public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Returns
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
deleted file mode 100644
index d8761c3..0000000
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.UniversalNcStep.html
+++ /dev/null
@@ -1,1333 +0,0 @@
-
-
-
-
- Class UniversalNcStep | HiAPI-C# 2025
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Class UniversalNcStep
-
-
-
-
-
-
-
- Universal NC step implementation that provides a flexible storage for various step properties.
-
-
-
-
- public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Constructors
-
-
-
-
-
-
- UniversalNcStep()
-
-
-
- Ctor.
-
-
-
-
- public UniversalNcStep()
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Properties
-
-
-
-
-
-
- ColorGuide
-
-
-
- Gets or sets the color guide associated with this object.
-
-
-
-
- public IColorGuide ColorGuide { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmdmin
-
-
-
- Feed rate in millimeters per minute.
-
-
-
-
- public double Feedrate_mmdmin { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- Feedrate_mmds
-
-
-
- Get feedrate in mm/s.
-
-
-
-
- public double Feedrate_mmds { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileIndex
-
-
-
- File Index.
-Start on 0.
-
-
-
-
- public int FileIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- FileNo
-
-
-
- FileIndex+1.
-
-
-
-
- public int FileNo { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- FilePath
-
-
-
- File path.
-
-
-
-
- public string FilePath { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- FlexDictionary
-
-
-
- Dictionary for storing flexible step properties as double values.
-
-
-
-
- public Dictionary<string, double> FlexDictionary { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- Line
-
-
-
- The line.
-
-
-
-
- public string Line { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineIndex
-
-
-
- Line Index.
-Start on 0.
-
-
-
-
- public int LineIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- LineNo
-
-
-
- LineIndex+1.
-
-
-
-
- public int LineNo { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingForce
-
-
-
- Milling force.
-
-
-
-
- public MillingForce MillingForce { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- MillingGeomBrief
-
-
-
- Gets or sets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief MillingGeomBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- SeqPhysicsBrief
-
-
-
- Gets or sets the sequential physics brief.
-
-
-
-
- public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleDirection
-
-
-
- Spindle direction.
-
-
-
-
- public SpindleDirection SpindleDirection { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_radds
-
-
-
- Get spindle speed in rad/s.
-
-
-
-
- public double SpindleSpeed_radds { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- SpindleSpeed_rpm
-
-
-
- Spindle speed in revolutions per minute.
-
-
-
-
- public double SpindleSpeed_rpm { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepDuration_s
-
-
-
- Step duration. Unit is second.
-
-
-
-
- public double StepDuration_s { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- StepIndex
-
-
-
- Step index.
-
-
-
-
- public int StepIndex { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToolId
-
-
-
- Get tool ID.
-
-
-
-
- public int ToolId { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
-
-
-
- WorkTime
-
-
-
- Worked time.
-
-
-
-
- public TimeSpan WorkTime { get; set; }
-
-
-
-
-
-
- Property Value
-
-
-
-
-
-
-
-
-
-
- Methods
-
-
-
-
-
-
- GetAxisPos(string)
-
-
-
- Get absolute position of the key
axis.
-
-
-
-
- public double GetAxisPos(string key)
-
-
- Parameters
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetCsvDictionary()
-
-
-
- Get row dictionary.
-It suits for CSV output.
-
-
-
-
- public Dictionary<string, string> GetCsvDictionary()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFeedrate_mmds()
-
-
-
- Gets the program feedrate in millimeters per second.
-
-
-
-
- public double GetFeedrate_mmds()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetFileLineIndex()
-
-
-
- Get FileLineIndex.
-
-
-
-
- public FileLineIndex GetFileLineIndex()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingForce()
-
-
-
- Get MillingForce.
-
-
-
-
- public MillingForce GetMillingForce()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetMillingGeomBrief()
-
-
-
- Gets the milling geometry brief information.
-
-
-
-
- public MillingGeomBrief GetMillingGeomBrief()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetNcStep()
-
-
-
- Get controller state.
-
-
-
-
- public INcStep0 GetNcStep()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetQuantityByKey(string)
-
-
-
- Gets a quantity value associated with the specified key.
-
-
-
-
- public double GetQuantityByKey(string key)
-
-
- Parameters
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleDirection()
-
-
-
- Gets the spindle rotation direction.
-
-
-
-
- public SpindleDirection GetSpindleDirection()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- GetSpindleSpeed_radds()
-
-
-
- Gets the spindle speed in radians per second.
-
-
-
-
- public double GetSpindleSpeed_radds()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetByRowDictionary(Dictionary<string, string>)
-
-
-
- Sets the properties of this object using values from a dictionary.
-
-
-
-
- public void SetByRowDictionary(Dictionary<string, string> src)
-
-
- Parameters
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ToString()
-
-
-
- Returns a string representation of this NC step.
-
-
-
-
- public override string ToString()
-
-
-
- Returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
index c28f350..dcfffe9 100644
--- a/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
+++ b/App/wwwroot/HiAPI-docsite/api/Hi.UniversalNc.html
@@ -99,11 +99,6 @@ Classes
+ ResetFileIndex() + +
+ +Resets the file index to zero.
+public void ResetFileIndex()
+ + RunControlLines(string, IEnumerable<string>, CancellationToken)
@@ -362,7 +428,7 @@ Class NcRunnerpublic IEnumerable<(NcLine NcLine, IAct Act)> RunRawNcLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
+ public IEnumerable<SourceCommandActEntry> RunControlLines(string relNcFilePath, IEnumerable<string> lines, CancellationToken cancellationToken)
Parameters
@@ -380,7 +446,7 @@ Class NcRunnerReturns
-
-
Table of Contents
+ ++Class SourceCommandActEntry +
+ +public record SourceCommandActEntry : IEquatable<SourceCommandActEntry>
+ -
+
-
+
-
+
-
+
Constructors +
+ + + + ++ SourceCommandActEntry(IIndexedFileLine, IAct) + +
+ + + + +public SourceCommandActEntry(IIndexedFileLine SourceCommand, IAct Act)
+ Parameters
+-
+
Properties +
+ + + + ++ Act + +
+ + + + +public IAct Act { get; init; }
+ Property Value
+-
+
+ SourceCommand + +
+ + + + +public IIndexedFileLine SourceCommand { get; init; }
+ Property Value
+-
+
Classes
+-
+
-
+
-
+
+Interfaces +
+-
+
public class NcLine : ISourceCommand, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IGetSourceCommand
+ public class NcLine : IIndexedFileLine, IFileLine, IFileLineIndex, IGetIndexedFileLine, IGetFileLineIndex, IFlagText
Gets the source command associated with this instance.
-public ISourceCommand GetSourceCommand()
+ public IIndexedFileLine GetSourceCommand()
Table of Contents
- --Class UniversalNcStep -
- -Universal NC step implementation that provides a flexible storage for various step properties.
-public class UniversalNcStep : INcStep0, IGetNcStep, IGetFeedrate, IGetSpindleSpeed, IGetCsvDictionary, IFileLineIndex, IGetFileLineIndex, IFileLine, IColorGuideProperty, IGetQuantityByKey, IMillingForceAccessor, IGetMillingForce, IMillingGeomBriefAccessor, IGetMillingGeomBrief, ISuccessivePhysicsBriefAccessor, IFlexDictionaryHost<double>
- -
-
-
-
-
-
-
-
Constructors -
- - - - -- UniversalNcStep() - -
- -Ctor.
-public UniversalNcStep()
- Properties -
- - - - -- ColorGuide - -
- -Gets or sets the color guide associated with this object.
-public IColorGuide ColorGuide { get; set; }
- Property Value
--
-
- Feedrate_mmdmin - -
- -Feed rate in millimeters per minute.
-public double Feedrate_mmdmin { get; set; }
- Property Value
--
-
- Feedrate_mmds - -
- -Get feedrate in mm/s.
-public double Feedrate_mmds { get; set; }
- Property Value
--
-
- FileIndex - -
- -File Index. -Start on 0.
-public int FileIndex { get; set; }
- Property Value
--
-
- FileNo - -
- -FileIndex+1.
-public int FileNo { get; set; }
- Property Value
--
-
- FilePath - -
- -File path.
-public string FilePath { get; set; }
- Property Value
--
-
- FlexDictionary - -
- -Dictionary for storing flexible step properties as double values.
-public Dictionary<string, double> FlexDictionary { get; set; }
- Property Value
--
-
- Line - -
- -The line.
-public string Line { get; set; }
- Property Value
--
-
- LineIndex - -
- -Line Index. -Start on 0.
-public int LineIndex { get; set; }
- Property Value
--
-
- LineNo - -
- -LineIndex+1.
-public int LineNo { get; set; }
- Property Value
--
-
- MillingForce - -
- -Milling force.
-public MillingForce MillingForce { get; set; }
- Property Value
--
-
- MillingGeomBrief - -
- -Gets or sets the milling geometry brief information.
-public MillingGeomBrief MillingGeomBrief { get; set; }
- Property Value
--
-
- SeqPhysicsBrief - -
- -Gets or sets the sequential physics brief.
-public SeqPhysicsBrief SeqPhysicsBrief { get; set; }
- Property Value
--
-
- SpindleDirection - -
- -Spindle direction.
-public SpindleDirection SpindleDirection { get; set; }
- Property Value
--
-
- SpindleSpeed_radds - -
- -Get spindle speed in rad/s.
-public double SpindleSpeed_radds { get; set; }
- Property Value
--
-
- SpindleSpeed_rpm - -
- -Spindle speed in revolutions per minute.
-public double SpindleSpeed_rpm { get; set; }
- Property Value
--
-
- StepDuration_s - -
- -Step duration. Unit is second.
-public double StepDuration_s { get; set; }
- Property Value
--
-
- StepIndex - -
- -Step index.
-public int StepIndex { get; set; }
- Property Value
--
-
- ToolId - -
- -Get tool ID.
-public int ToolId { get; set; }
- Property Value
--
-
- WorkTime - -
- -Worked time.
-public TimeSpan WorkTime { get; set; }
- Property Value
--
-
Methods -
- - - - -- GetAxisPos(string) - -
- -Get absolute position of the key
axis.
public double GetAxisPos(string key)
- Parameters
--
-
Returns
--
-
- GetCsvDictionary() - -
- -Get row dictionary. -It suits for CSV output.
-public Dictionary<string, string> GetCsvDictionary()
- Returns
--
-
- GetFeedrate_mmds() - -
- -Gets the program feedrate in millimeters per second.
-public double GetFeedrate_mmds()
- Returns
--
-
- GetFileLineIndex() - -
- -Get FileLineIndex.
-public FileLineIndex GetFileLineIndex()
- Returns
--
-
- GetMillingForce() - -
- -Get MillingForce.
-public MillingForce GetMillingForce()
- Returns
--
-
- GetMillingGeomBrief() - -
- -Gets the milling geometry brief information.
-public MillingGeomBrief GetMillingGeomBrief()
- Returns
--
-
- GetNcStep() - -
- -Get controller state.
-public INcStep0 GetNcStep()
- Returns
--
-
- GetQuantityByKey(string) - -
- -Gets a quantity value associated with the specified key.
-public double GetQuantityByKey(string key)
- Parameters
--
-
Returns
--
-
- GetSpindleDirection() - -
- -Gets the spindle rotation direction.
-public SpindleDirection GetSpindleDirection()
- Returns
--
-
- GetSpindleSpeed_radds() - -
- -Gets the spindle speed in radians per second.
-public double GetSpindleSpeed_radds()
- Returns
--
-
- SetByRowDictionary(Dictionary<string, string>) - -
- -Sets the properties of this object using values from a dictionary.
-public void SetByRowDictionary(Dictionary<string, string> src)
- Parameters
--
-
- ToString() - -
- -Returns a string representation of this NC step.
-public override string ToString()
- Returns
--
-