blob: 6b64575deeefcc4592fc07b4c5338466cc7670bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Integration.Observables;
using Tango.PMR.Diagnostics;
using Tango.PMR.Printing;
using Tango.Transport;
using System.Reactive;
using Tango.Integration.Printing;
using Tango.PMR;
namespace Tango.Integration.Operators
{
/// <summary>
/// Represents a Tango machine operator.
/// </summary>
/// <seealso cref="Tango.Transport.ITransporter" />
public interface IMachineOperator : ITransporter
{
/// <summary>
/// Occurs when there is new diagnostics data available.
/// </summary>
event EventHandler<PushDiagnosticsResponse> DiagnosticsDataAvailable;
/// <summary>
/// Gets or sets a value indicating whether direct the embedded device to send diagnostics messages.
/// </summary>
bool EnableDiagnostics { get; set; }
/// <summary>
/// Prints the specified job using the specified job parameters.
/// </summary>
/// <param name="job">The job.</param>
/// <param name="processParameters">Process parameters table</param>
/// <returns></returns>
JobHandler Print(Job job, ProcessParametersTable processParameters);
/// <summary>
/// Starts jogging the specified motor.
/// </summary>
/// <param name="request">The request.</param>
/// <returns></returns>
Task<TangoMessage<MotorJoggingResponse>> StartMotorJogging(MotorJoggingRequest request);
/// <summary>
/// Stops jogging the specified motor.
/// </summary>
/// <param name="request">The request.</param>
/// <returns></returns>
Task<TangoMessage<MotorAbortJoggingResponse>> StopMotorJogging(MotorAbortJoggingRequest request);
}
}
|