From e571f20e27c4fca6bb6efe03d6427a1f332f9830 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 27 May 2018 19:33:15 +0300 Subject: Working on panel pc. --- .../Application/IPPCApplicationManager.cs | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Application') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs new file mode 100644 index 000000000..3a516c072 --- /dev/null +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs @@ -0,0 +1,54 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using Tango.BL.Entities; +using Tango.Integration.Operation; +using Tango.Integration.Services; + +namespace Tango.PPC.Common.Application +{ + /// + /// Represents the Machine Studio application manager. + /// + public interface IPPCApplicationManager + { + /// + /// Gets or sets the DAL machine. + /// + Machine Machine { get; } + + /// + /// Sets the machine. + /// + /// The machine. + void SetMachine(Machine machine); + + /// + /// Occurs when the connected machine property has changed. + /// + event EventHandler ConnectedMachineChanged; + + /// + /// Gets a value indicating whether Machine Studio is shutting down. + /// + bool IsShuttingDown { get; } + + /// + /// Shutdown the application. + /// + void ShutDown(); + + /// + /// Gets or sets the currently connected machine if any. + /// + IMachineOperator ConnectedMachine { get; set; } + + /// + /// Gets the machine studio application version. + /// + String Version { get; } + } +} -- cgit v1.3.1