diff options
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> |
