diff options
| author | Roy <roy.mail.net@gmail.com> | 2018-02-10 02:13:37 +0200 |
|---|---|---|
| committer | Roy <roy.mail.net@gmail.com> | 2018-02-10 02:13:37 +0200 |
| commit | 07e686eb253ffd29f36dbe530b3a17633e02b353 (patch) | |
| tree | d9663f1c92a400349dffc743adb0114ee1a7f618 /Software/Visual_Studio/Tango.Integration/Operators/MachineOperator.cs | |
| parent | c8c9606e545f49aae3d9f0524775436adbdf27e9 (diff) | |
| download | Tango-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.cs | 20 |
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 } } |
