diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2024-05-19 09:59:19 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2024-05-19 09:59:19 +0300 |
| commit | 61fdeccc6976d5dd2cca30495a26a67233fcde02 (patch) | |
| tree | 6f58487a33692607fe1e74ea2bcca8c1eb16c403 /Software/Visual_Studio/Tango.Integration | |
| parent | d35f80a12e3b4258e429f479a489ba930c583873 (diff) | |
| download | Tango-61fdeccc6976d5dd2cca30495a26a67233fcde02.tar.gz Tango-61fdeccc6976d5dd2cca30495a26a67233fcde02.zip | |
Abort Thread Loading.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration')
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs | 6 | ||||
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs b/Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs index 68ed696fa..7951bc584 100644 --- a/Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs +++ b/Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs @@ -563,6 +563,12 @@ namespace Tango.Integration.Operation Task ContinueThreadLoading(ProcessParametersTable processParameters); /// <summary> + /// Aborts the current thread loading process. + /// </summary> + /// <returns></returns> + Task AbortThreadLoading(); + + /// <summary> /// Attempts to jog the thread in order to check whether there are no thread breaking issues. /// </summary> /// <returns></returns> diff --git a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs index 9596dc29c..a2fc447af 100644 --- a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs +++ b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs @@ -4560,6 +4560,11 @@ namespace Tango.Integration.Operation }, new TransportRequestConfig() { ShouldLog = true }); } + public async Task AbortThreadLoading() + { + var response = await SendRequest<AbortThreadLoadingRequest, AbortThreadLoadingResponse>(new AbortThreadLoadingRequest()); + } + /// <summary> /// Attempts to jog the thread in order to check whether there are no thread breaking issues. /// </summary> |
