aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Graphics/Machine Studio Modules/developer.jpg
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Graphics/Machine Studio Modules/developer.jpg')
0 files changed, 0 insertions, 0 deletions
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; }

        private bool _usePreferredLiquidVolumeIndex;
        /// <summary>
        /// Gets or sets a value indicating whether to use the preferred liquid volume index.
        /// </summary>
        public bool UsePreferredLiquidVolumeIndex
        {
            get { return _usePreferredLiquidVolumeIndex; }
            set { _usePreferredLiquidVolumeIndex = value;  RaisePropertyChangedAuto(); }
        }

        public bool AutoProcessSelection { get; set; }

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

            EnableGradientGeneration = true;
            GradientResolutionCM = 500;
        }
    }
}