aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/JobRuns/IJobRunsLogger.cs
blob: 8c4174311bc9b741bdb804ddc7bdea5a0dcce252 (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Enumerations;
using Tango.Integration.Operation;

namespace Tango.Integration.JobRuns
{
    /// <summary>
    /// Represents a machine operator job runs logger
    /// </summary>
    public interface IJobRunsLogger
    {
        /// <summary>
        /// Gets the machine operator.
        /// </summary>
        IMachineOperator MachineOperator { get; }

        /// <summary>
        /// Gets or sets the job designations of which the logger should log (supports multiple flags).
        /// </summary>
        JobDesignations JobDesignation { get; set; }

        /// <summary>
        /// Gets a value indicating whether this instance is started.
        /// </summary>
        bool IsStarted { get; }

        /// <summary>
        /// Starts the logger.
        /// </summary>
        void Start();

        /// <summary>
        /// Stops the logger.
        /// </summary>
        void Stop();
    }
}