aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-11-09 23:34:01 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-11-09 23:34:01 +0200
commite7cbb2ad47498bb072ee293baaf7fc9e2999fbec (patch)
tree073fe0b1fee57246dd639c2f21dc6b175e197a23 /Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
parentf42acf4a2513bfb156f3323d2cd9dadf67809220 (diff)
parent313970208cf06fe7925e41a9479e619fa1aca7f6 (diff)
downloadTango-e7cbb2ad47498bb072ee293baaf7fc9e2999fbec.tar.gz
Tango-e7cbb2ad47498bb072ee293baaf7fc9e2999fbec.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs')
-rw-r--r--Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
index 464e0713f..83579d776 100644
--- a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
+++ b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
@@ -1384,6 +1384,7 @@ namespace Tango.Integration.Operation
if (Status == MachineStatuses.Upgrading) return;
Status = MachineStatuses.Disconnected;
+ MachineStatus.State = MachineState.Ready;
SessionLogger.EndSession();
@@ -2699,6 +2700,7 @@ namespace Tango.Integration.Operation
//Head Cleaning Parameters
ticket.HeadCleaningParameters = new HeadCleaningParameters();
ticket.HeadCleaningParameters.CleanerFlow = job.Rml.CleanerFlow;
+ ticket.HeadCleaningParameters.ArcHeadCleaningMotorSpeed = job.Rml.ArcHeadCleaningMotorSpeed;
JobHandler handler = null;
StorageFileHandler fileUploadHandler = null;
@@ -4131,6 +4133,18 @@ namespace Tango.Integration.Operation
}, new TransportRequestConfig() { ShouldLog = true });
}
+ /// <summary>
+ /// Attempts to jog the thread in order to check whether there are no thread breaking issues.
+ /// </summary>
+ /// <returns></returns>
+ public async Task AttemptThreadJogging()
+ {
+ var r = await SendRequest<AttemptThreadJoggingRequest, AttemptThreadJoggingResponse>(new AttemptThreadJoggingRequest()
+ {
+
+ }, new TransportRequestConfig() { ShouldLog = true, Timeout = TimeSpan.FromSeconds(20) });
+ }
+
#endregion
}
}