aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2024-03-10 16:26:32 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2024-03-10 16:26:32 +0200
commit6dbef47fe2ca696fcf11ce4c2d0662c28b36bf35 (patch)
tree4acde5e7e00c919e57c8e09e30179dfb14b2e36c /Software/Visual_Studio/PPC/Tango.PPC.UI
parent0e4045af38f59004c537e9bf5e7f2e89f7320f1f (diff)
downloadTango-6dbef47fe2ca696fcf11ce4c2d0662c28b36bf35.tar.gz
Tango-6dbef47fe2ca696fcf11ce4c2d0662c28b36bf35.zip
FSE Remote Job Parameters.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs2
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineStatusViewVM.cs3
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/app.manifest2
3 files changed, 4 insertions, 3 deletions
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.
-->
- <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
+ <!--<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />-->
</requestedPrivileges>
</security>
</trustInfo>