From 03405603d0706435ad51182c8adc732af1aced9d Mon Sep 17 00:00:00 2001 From: Roy Date: Thu, 8 Dec 2022 16:38:25 +0200 Subject: Added "long head cleaning". --- Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs') 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. /// /// - public Task PerformHeadCleaning() + public Task PerformHeadCleaning(bool longCleaning) { if (_isHeadCleaningInProgress) { @@ -4316,7 +4316,7 @@ namespace Tango.Integration.Operation bool firstResponse = true; _jobStartDate = DateTime.UtcNow; - SendContinuousRequest(new StartHeadCleaningRequest(), new TransportContinuousRequestConfig() { ContinuousTimeout = TimeSpan.FromSeconds(5), ShouldLog = true }).ObserveOn(new NewThreadScheduler()).Subscribe((response) => + SendContinuousRequest(new StartHeadCleaningRequest() { IsLongJob = longCleaning }, new TransportContinuousRequestConfig() { ContinuousTimeout = TimeSpan.FromSeconds(5), ShouldLog = true }).ObserveOn(new NewThreadScheduler()).Subscribe((response) => { if (firstResponse) { -- cgit v1.3.1