diff options
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs | 54 |
1 files changed, 54 insertions, 0 deletions
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 +{ + /// <summary> + /// Represents the Machine Studio application manager. + /// </summary> + public interface IPPCApplicationManager + { + /// <summary> + /// Gets or sets the DAL machine. + /// </summary> + Machine Machine { get; } + + /// <summary> + /// Sets the machine. + /// </summary> + /// <param name="machine">The machine.</param> + void SetMachine(Machine machine); + + /// <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; } + } +} |
