aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/Operators/IMachineOperator.cs
blob: 58b19c91430fce0a5a5f4232c23051d1313f6e73 (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
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;

namespace Tango.Integration.Operators
{
    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 to enable diagnostics messages by requesting diagnostics messages.
        /// </summary>
        bool EnableSensorsUpdate { get; set; }

        /// <summary>
        /// Prints the specified job.
        /// </summary>
        /// <param name="job">The job.</param>
        /// <param name="processParameters">Process parameters table</param>
        /// <returns></returns>
        JobHandler Print(Job job, ProcessParametersTable processParameters);
    }
}