aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2022-12-08 16:38:25 +0200
committerRoy <Roy.mail.net@gmail.com>2022-12-08 16:38:25 +0200
commit03405603d0706435ad51182c8adc732af1aced9d (patch)
tree9a46e36b21ab87b515b0cfca93a597a8c4dcd3c7 /Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
parent88416618b921c57d88f08877c3397be6324b8605 (diff)
downloadTango-03405603d0706435ad51182c8adc732af1aced9d.tar.gz
Tango-03405603d0706435ad51182c8adc732af1aced9d.zip
Added "long head cleaning".
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs')
-rw-r--r--Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
index 8d198a427..6b79fa5bc 100644
--- a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
+++ b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
@@ -4276,7 +4276,7 @@ namespace Tango.Integration.Operation
/// Turns off the machine.
/// </summary>
/// <returns></returns>
- public Task<HeadCleaningHandler> PerformHeadCleaning()
+ public Task<HeadCleaningHandler> PerformHeadCleaning(bool longCleaning)
{
if (_isHeadCleaningInProgress)
{
@@ -4316,7 +4316,7 @@ namespace Tango.Integration.Operation
bool firstResponse = true;
_jobStartDate = DateTime.UtcNow;
- SendContinuousRequest<StartHeadCleaningRequest, StartHeadCleaningResponse>(new StartHeadCleaningRequest(), new TransportContinuousRequestConfig() { ContinuousTimeout = TimeSpan.FromSeconds(5), ShouldLog = true }).ObserveOn(new NewThreadScheduler()).Subscribe((response) =>
+ SendContinuousRequest<StartHeadCleaningRequest, StartHeadCleaningResponse>(new StartHeadCleaningRequest() { IsLongJob = longCleaning }, new TransportContinuousRequestConfig() { ContinuousTimeout = TimeSpan.FromSeconds(5), ShouldLog = true }).ObserveOn(new NewThreadScheduler()).Subscribe((response) =>
{
if (firstResponse)
{