From 516ee0b585d84bda4fcc3c31aa44d1e3b7da5e93 Mon Sep 17 00:00:00 2001 From: Victoria Plitt Date: Thu, 28 Jul 2022 18:33:11 +0300 Subject: MS. RML extension. Added table washing test results , GUI and database. Related Work Items: #6660 --- .../Views/TestResultsView.xaml | 602 ++++++++++++--------- .../Views/TestResultsView.xaml.cs | 13 + 2 files changed, 369 insertions(+), 246 deletions(-) (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Views') diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Views/TestResultsView.xaml b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Views/TestResultsView.xaml index 0aceebc9a..77cac3648 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Views/TestResultsView.xaml +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Views/TestResultsView.xaml @@ -12,10 +12,12 @@ xmlns:localconverters="clr-namespace:Tango.MachineStudio.ThreadExtensions.Converters" xmlns:global="clr-namespace:Tango.MachineStudio.ThreadExtensions" xmlns:mahapps="http://metro.mahapps.com/winfx/xaml/controls" + xmlns:colorPicker="clr-namespace:Tango;assembly=Tango.ColorPicker" + xmlns:components="clr-namespace:Tango.SharedUI.Components;assembly=Tango.SharedUI" xmlns:autoComplete="clr-namespace:Tango.AutoComplete.Editors;assembly=Tango.AutoComplete" xmlns:fa="http://schemas.fontawesome.io/icons/" mc:Ignorable="d" - d:DesignHeight="950" d:DesignWidth="1200" Background="Transparent" d:DataContext="{d:DesignInstance Type=vm:MainViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.MainViewVM}" FontSize="16"> + d:DesignHeight="950" d:DesignWidth="1200" Background="Transparent" d:DataContext="{d:DesignInstance Type=vm:MainViewVM, IsDesignTimeCreatable=False}" DataContext="{x:Static global:ViewModelLocator.MainViewVM}" FontSize="14"> @@ -23,7 +25,8 @@ - + + + + + + + + + + + @@ -416,68 +413,146 @@ - + - - - + + + + + + + + + + + + + COLOR + + + + + + + + + + COLOR + + + + + + + + - + + + + + + - + - + + + + + + - + - + + + + + + + + + + + + + + + + + + + + - + - + + + + + + - + - + + + + + + - + - + + + + + + - + @@ -486,93 +561,155 @@ - - - - Tension through the thread path - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tension through the thread path + - Tension in Zone + Tension in Zone - Tensiometer (gr) + Tensiometer (gr) - Tension in Zone + Tension in Zone - MS + MS - Head + Head - - + + - BTSR + BTSR - - + + - After dryer + After dryer - - + + - Puller tension + Puller tension - - + + - Winder + Winder - - + + - Winder Exit Tension + Winder Exit Tension - - + + - - Mechanical properties - + + Mechanical properties + - - + + @@ -607,12 +744,13 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Views/TestResultsView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Views/TestResultsView.xaml.cs index a75dc5d09..20be37970 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Views/TestResultsView.xaml.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Views/TestResultsView.xaml.cs @@ -52,5 +52,18 @@ namespace Tango.MachineStudio.ThreadExtensions.Views } } } + private void Popup_MouseDown(object sender, MouseButtonEventArgs e) + { + e.Handled = true; + } + private void ColorCanvas_SelectedColorChanged(object sender, RoutedPropertyChangedEventArgs e) + { + if (e.NewValue.HasValue) + { + //_vm.OnSelectedBrushColorChanged((Color)e.NewValue); + } + } + } } + -- cgit v1.3.1