aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/App.xaml
blob: bd3cf16ee38b63b8fe359d1e2154ffc133fb25d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
<Application x:Class="Tango.PPC.Events.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/Tango.PPC.Common;component/Resources/Merged.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>
</Application>
6699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;

namespace Tango.Integration.Operation
{
    /// <summary>
    /// Represents a <see cref="IMachineOperator"/> gradient steps generation configuration.
    /// </summary>
    public interface IGradientGenerationConfiguration
    {
        /// <summary>
        /// Gets or sets a value indicating whether to generate the gradient steps.
        /// </summary>
        bool IsEnabled { get; set; }

        /// <summary>
        /// Gets or sets the gradient steps resolution in centimeters.
        /// </summary>
        int ResolutionCM { get; set; }

        /// <summary>
        /// Creates a collection of brush stops representing the required gradient steps.
        /// </summary>
        /// <param name="segment">The segment.</param>
        /// <param name="job">The job</param>
        /// <param name="processParameters">The process parameters.</param>
        /// <param name="progress">Progress callback.</param>
        /// <returns></returns>
        List<BrushStop> Generate(Segment segment, Job job, ProcessParametersTable processParameters, Action<PreparingJobProgressEventArgs> progress = null);

        /// <summary>
        /// Aborts the current generation.
        /// </summary>
        void AbortCurrentGeneration();
    }
}