From 56e222adc848ccc223e6b1065d311ced5c82f34c Mon Sep 17 00:00:00 2001 From: Victoria Plitt Date: Wed, 18 May 2022 19:49:41 +0300 Subject: Vector Fine Tuning. --- .../Tango.PPC.MachineSettings/ViewModels/MainViewVM.cs | 11 +++++++++++ .../PPC/Modules/Tango.PPC.MachineSettings/Views/MainView.xaml | 3 +++ 2 files changed, 14 insertions(+) (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings') diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/ViewModels/MainViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/ViewModels/MainViewVM.cs index 59005509e..f057f2e73 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/ViewModels/MainViewVM.cs +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/ViewModels/MainViewVM.cs @@ -261,6 +261,14 @@ namespace Tango.PPC.MachineSettings.ViewModels set { _enableProxy = value; RaisePropertyChangedAuto(); } } + private int _manualFineTuningLength; + public int FineTuningLength + { + get { return _manualFineTuningLength; } + set { _manualFineTuningLength = value; RaisePropertyChangedAuto(); } + } + + #endregion #region Commands @@ -317,6 +325,7 @@ namespace Tango.PPC.MachineSettings.ViewModels Settings.SynchronizeDiagnostics = SynchronizeDiagnostics; Settings.AutoCheckForUpdates = AutoCheckForUpdates; Settings.LubricationLevels = LubricationLevels.Where(x => x.LubricationLevel != LubricationLevel.Standard).Select(x => x.ToRmlLubricationLevel()).ToList(); + Settings.FineTuningTrialLengthMeters = FineTuningLength; MachineDataSynchronizer.IsEnabled = SynchronizeJobs || SynchronizeDiagnostics; @@ -519,6 +528,8 @@ namespace Tango.PPC.MachineSettings.ViewModels LockScreenTimeoutMinutes = (int)Settings.LockScreenTimeout.TotalMinutes; LockScreenPassword = Settings.LockScreenPassword; + FineTuningLength = Settings.FineTuningTrialLengthMeters; + SelectedJobTypes = new SelectedObjectCollection(Enum.GetValues(typeof(JobTypes)).Cast().ToObservableCollection(), Settings.SupportedJobTypes.ToObservableCollection()); SelectedColorSpaces = new SelectedObjectCollection(Enum.GetValues(typeof(ColorSpaces)).Cast().Where(x => x.IsUserSpace()).ToObservableCollection(), Settings.SupportedColorSpaces.ToObservableCollection()); diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/Views/MainView.xaml b/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/Views/MainView.xaml index bf8777200..74b0ce7e1 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/Views/MainView.xaml +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/Views/MainView.xaml @@ -160,6 +160,9 @@ Default Segment Length + Vector Fine Tuning Job Length + + Use Light Inks When Possible -- cgit v1.3.1