From 0f5d23b3a4d38e5a68436acf3a96822d59249f46 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 17 Jul 2018 20:21:16 +0300 Subject: *1. Implement Real Progress on Machine Emulator. *2. Add ParameterIgnore to Observable Entity validation props. *3. Block logging of similar continous job status events from embedded. (Add counter for embedded logs). *6. Make font size larger on Research module. *7. Open jobs on double click. *9. Add default sorting to job events. (NOT WORKING) *10. Add tool tips for job progress. *12. Test PPC Job Progress *13. Fix issue with inversed color conversion. --- .../Views/MachineJobSelectionView.xaml.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MachineJobSelectionView.xaml.cs') diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MachineJobSelectionView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MachineJobSelectionView.xaml.cs index 52786a59f..d21342d01 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MachineJobSelectionView.xaml.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MachineJobSelectionView.xaml.cs @@ -12,6 +12,8 @@ using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; +using Tango.BL.Entities; +using Tango.MachineStudio.Developer.ViewModels; namespace Tango.MachineStudio.Developer.Views { @@ -20,9 +22,29 @@ namespace Tango.MachineStudio.Developer.Views /// public partial class MachineJobSelectionView : UserControl { + private MainViewVM _vm; + public MachineJobSelectionView() { InitializeComponent(); + + this.Loaded += (_, __) => + { + _vm = DataContext as MainViewVM; + }; + } + + private void MultiSelectDataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e) + { + DataGrid row = sender as DataGrid; + + + + + if (row != null && row.SelectedItem is Job) + { + _vm.LoadJobCommand.Execute(null); + } } } } -- cgit v1.3.1