diff options
| author | Roy <Roy.mail.net@gmail.com> | 2022-12-08 16:38:25 +0200 |
|---|---|---|
| committer | Roy <Roy.mail.net@gmail.com> | 2022-12-08 16:38:25 +0200 |
| commit | 03405603d0706435ad51182c8adc732af1aced9d (patch) | |
| tree | 9a46e36b21ab87b515b0cfca93a597a8c4dcd3c7 /Software/Visual_Studio/Tango.Integration | |
| parent | 88416618b921c57d88f08877c3397be6324b8605 (diff) | |
| download | Tango-03405603d0706435ad51182c8adc732af1aced9d.tar.gz Tango-03405603d0706435ad51182c8adc732af1aced9d.zip | |
Added "long head cleaning".
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration')
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs | 2 | ||||
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs b/Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs index 8f5dff90e..873e024fd 100644 --- a/Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs +++ b/Software/Visual_Studio/Tango.Integration/Operation/IMachineOperator.cs @@ -536,7 +536,7 @@ namespace Tango.Integration.Operation /// Starts a manual head cleaning process. /// </summary> /// <returns></returns> - Task<HeadCleaningHandler> PerformHeadCleaning(); + Task<HeadCleaningHandler> PerformHeadCleaning(bool longCleaning); /// <summary> /// Starts the automatic thread loading process. 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) { |
