From 6dbef47fe2ca696fcf11ce4c2d0662c28b36bf35 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Sun, 10 Mar 2024 16:26:32 +0200 Subject: FSE Remote Job Parameters. --- Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs | 2 +- .../Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineStatusViewVM.cs | 3 ++- Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs index 92c527134..4a67f204c 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs @@ -73,7 +73,7 @@ namespace Tango.PPC.UI viewBox.Child = new Views.MainEurekaView(); var screens = System.Windows.Forms.Screen.AllScreens; - var touch_screen = screens.Last(); + var touch_screen = screens.OrderBy(x => x.Bounds.X).Last(); bool hasTouch = TouchHelper.IsTouchEnabled() || settings.ForceTouchMode; diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineStatusViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineStatusViewVM.cs index 937a76f94..8507d1e39 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineStatusViewVM.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineStatusViewVM.cs @@ -30,10 +30,11 @@ using System.Windows.Media; using Tango.PPC.Common.Resume; using Tango.Core.ExtensionMethods; using Tango.PPC.Common.Printing; +using Tango.PPC.Common.RemoteJob; namespace Tango.PPC.UI.ViewModels { - public class MachineStatusViewVM : PPCViewModel + public class MachineStatusViewVM : PPCViewModel, IRemoteJobInputOutputProvider { public enum StatisticTab { diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest b/Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest index d72e75011..efc5f8179 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest @@ -16,7 +16,7 @@ Remove this element if your application requires this virtualization for backwards compatibility. --> - + -- cgit v1.3.1