aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/DeveloperModuleSettings.cs
blob: 2099b12d91367595b8d19fc3b2b61f933feb58ed (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;
using Tango.Settings;

namespace Tango.MachineStudio.Developer
{
    public class DeveloperModuleSettings : SettingsBase
    {
        public class ParameterIndex
        {
            public String Name { get; set; }
            public int Index { get; set; }
        }

        public String LastSelectedMachineGuid { get; set; }

        public String LastSelectedJobGuid { get; set; }

        public List<ParameterIndex> ProcessParametersIndices { get; set; }

        public String DefaultJobRmlGuid { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether to enable gradient generation.
        /// </summary>
        public bool EnableGradientGeneration { get; set; }

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

        public DeveloperModuleSettings()
        {
            ProcessParametersIndices = new List<ParameterIndex>();

            EnableGradientGeneration = true;
            GradientResolutionCM = 500;
        }
    }
}