aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/Operators/MachineOperator.cs
diff options
context:
space:
mode:
authorRoy <roy.mail.net@gmail.com>2018-02-10 02:13:37 +0200
committerRoy <roy.mail.net@gmail.com>2018-02-10 02:13:37 +0200
commit07e686eb253ffd29f36dbe530b3a17633e02b353 (patch)
treed9663f1c92a400349dffc743adb0114ee1a7f618 /Software/Visual_Studio/Tango.Integration/Operators/MachineOperator.cs
parentc8c9606e545f49aae3d9f0524775436adbdf27e9 (diff)
downloadTango-07e686eb253ffd29f36dbe530b3a17633e02b353.tar.gz
Tango-07e686eb253ffd29f36dbe530b3a17633e02b353.zip
Added support for motor controllers.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Operators/MachineOperator.cs')
-rw-r--r--Software/Visual_Studio/Tango.Integration/Operators/MachineOperator.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Operators/MachineOperator.cs b/Software/Visual_Studio/Tango.Integration/Operators/MachineOperator.cs
index cc42b64ed..56b7ec971 100644
--- a/Software/Visual_Studio/Tango.Integration/Operators/MachineOperator.cs
+++ b/Software/Visual_Studio/Tango.Integration/Operators/MachineOperator.cs
@@ -184,6 +184,26 @@ namespace Tango.Integration.Operators
return handler;
}
+ /// <summary>
+ /// Starts jogging the specified motor.
+ /// </summary>
+ /// <param name="request">The request.</param>
+ /// <returns></returns>
+ public Task<TangoMessage<MotorJoggingResponse>> StartMotorJogging(MotorJoggingRequest request)
+ {
+ return SendRequest<MotorJoggingRequest, MotorJoggingResponse>(request);
+ }
+
+ /// <summary>
+ /// Stops jogging the specified motor.
+ /// </summary>
+ /// <param name="request">The request.</param>
+ /// <returns></returns>
+ public Task<TangoMessage<MotorAbortJoggingResponse>> StopMotorJogging(MotorAbortJoggingRequest request)
+ {
+ return SendRequest<MotorAbortJoggingRequest, MotorAbortJoggingResponse>(request);
+ }
+
#endregion
}
}