using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;
using Tango.BL.Enumerations;
using Tango.Integration.Operation;
namespace Tango.Integration.JobRuns
{
///
/// Represents a machine operator job runs logger
///
public interface IJobRunsLogger
{
///
/// Occurs when a new job run is available.
///
event EventHandler JobRunAvailable;
///
/// Gets the machine operator.
///
IMachineOperator MachineOperator { get; }
///
/// Gets or sets the job designations of which the logger should log (supports multiple flags).
///
JobDesignations JobDesignationFilter { get; set; }
///
/// Gets or sets the job run source when logging job runs.
///
JobSource JobSource { get; set; }
///
/// Gets a value indicating whether this instance is started.
///
bool IsStarted { get; }
///
/// Starts the logger.
///
void Start();
///
/// Stops the logger.
///
void Stop();
///
/// Sets the head cleaning parameters.
///
/// The machine.
void SetDefaultMachine(Machine machine);
}
}