aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PanelPC/Tango.PanelPC.UI/PanelPCApplication
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2018-05-24 08:47:21 +0300
committerAvi Levkovich <avi@twine-s.com>2018-05-24 08:47:21 +0300
commit082fce8a6ba0157ad02281c373b3e8bf1b7b052e (patch)
treebb3b619e38826cf567f0847f3bc9f653f474364a /Software/Visual_Studio/PanelPC/Tango.PanelPC.UI/PanelPCApplication
parenta11268348763472504c0303e5b4c8e5f8f9c13da (diff)
parent6faef62d683a670aa85ca4a4ff0c39cf1b3002ed (diff)
downloadTango-082fce8a6ba0157ad02281c373b3e8bf1b7b052e.tar.gz
Tango-082fce8a6ba0157ad02281c373b3e8bf1b7b052e.zip
fix conflict
Diffstat (limited to 'Software/Visual_Studio/PanelPC/Tango.PanelPC.UI/PanelPCApplication')
-rw-r--r--Software/Visual_Studio/PanelPC/Tango.PanelPC.UI/PanelPCApplication/DefaultPanelPCApplicationManager.cs48
-rw-r--r--Software/Visual_Studio/PanelPC/Tango.PanelPC.UI/PanelPCApplication/IPanelPCApplicationManager.cs42
2 files changed, 90 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PanelPC/Tango.PanelPC.UI/PanelPCApplication/DefaultPanelPCApplicationManager.cs b/Software/Visual_Studio/PanelPC/Tango.PanelPC.UI/PanelPCApplication/DefaultPanelPCApplicationManager.cs
new file mode 100644
index 000000000..aa36bb9cd
--- /dev/null
+++ b/Software/Visual_Studio/PanelPC/Tango.PanelPC.UI/PanelPCApplication/DefaultPanelPCApplicationManager.cs
@@ -0,0 +1,48 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Tango.Integration.Operation;
+
+namespace Tango.PanelPC.UI.PanelPCApplication
+{
+ public class DefaultPanelPCApplicationManager : IPanelPCApplicationManager
+ {
+ public bool IsShuttingDown
+ {
+ get
+ {
+ throw new NotImplementedException();
+ }
+ }
+
+ public IMachineOperator ConnectedMachine
+ {
+ get
+ {
+ throw new NotImplementedException();
+ }
+
+ set
+ {
+ throw new NotImplementedException();
+ }
+ }
+
+ public string Version
+ {
+ get
+ {
+ throw new NotImplementedException();
+ }
+ }
+
+ public event EventHandler<IMachineOperator> ConnectedMachineChanged;
+
+ public void ShutDown()
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/Software/Visual_Studio/PanelPC/Tango.PanelPC.UI/PanelPCApplication/IPanelPCApplicationManager.cs b/Software/Visual_Studio/PanelPC/Tango.PanelPC.UI/PanelPCApplication/IPanelPCApplicationManager.cs
new file mode 100644
index 000000000..fd5b68f3c
--- /dev/null
+++ b/Software/Visual_Studio/PanelPC/Tango.PanelPC.UI/PanelPCApplication/IPanelPCApplicationManager.cs
@@ -0,0 +1,42 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using Tango.Integration.Operation;
+using Tango.Integration.Services;
+
+namespace Tango.PanelPC.UI.PanelPCApplication
+{
+ /// <summary>
+ /// Represents the Machine Studio application manager.
+ /// </summary>
+ public interface IPanelPCApplicationManager
+ {
+ /// <summary>
+ /// Occurs when the connected machine property has changed.
+ /// </summary>
+ event EventHandler<IMachineOperator> ConnectedMachineChanged;
+
+ /// <summary>
+ /// Gets a value indicating whether Machine Studio is shutting down.
+ /// </summary>
+ bool IsShuttingDown { get; }
+
+ /// <summary>
+ /// Shutdown the application.
+ /// </summary>
+ void ShutDown();
+
+ /// <summary>
+ /// Gets or sets the currently connected machine if any.
+ /// </summary>
+ IMachineOperator ConnectedMachine { get; set; }
+
+ /// <summary>
+ /// Gets the machine studio application version.
+ /// </summary>
+ String Version { get; }
+ }
+}