aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/Operation
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2024-05-19 09:59:19 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2024-05-19 09:59:19 +0300
commit61fdeccc6976d5dd2cca30495a26a67233fcde02 (patch)
tree6f58487a33692607fe1e74ea2bcca8c1eb16c403 /Software/Visual_Studio/Tango.Integration/Operation
parentd35f80a12e3b4258e429f479a489ba930c583873 (diff)
downloadTango-61fdeccc6976d5dd2cca30495a26a67233fcde02.tar.gz
Tango-61fdeccc6976d5dd2cca30495a26a67233fcde02.zip
Abort Thread Loading.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Operation')
-rw-r--r--Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs6
-rw-r--r--Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs5
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>