diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-08-12 19:00:36 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-08-12 19:00:36 +0300 |
| commit | 18fc4053deb06af6643f28a6bb4fd66c6a9a93e0 (patch) | |
| tree | db2e3b344e30a95a3a09d662930ce129246a57d9 /Software/Visual_Studio/PPC/Tango.PPC.Common/Application | |
| parent | bbbc155a96729050b9aa7d966055726df46696af (diff) | |
| download | Tango-18fc4053deb06af6643f28a6bb4fd66c6a9a93e0.tar.gz Tango-18fc4053deb06af6643f28a6bb4fd66c6a9a93e0.zip | |
Implemented temporary DB user login for machine service machine setup.
Implemented Tango updater!
Implemented support for software update on machine setup.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Application')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs | 11 | ||||
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Application/SetupRequiredEventArgs.cs | 23 |
2 files changed, 8 insertions, 26 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 index e1d06034f..aba2d2fcd 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/IPPCApplicationManager.cs @@ -38,7 +38,7 @@ namespace Tango.PPC.Common.Application /// <summary> /// Occurs when machine setup is required. /// </summary> - event EventHandler<SetupRequiredEventArgs> SetupRequired; + event EventHandler SetupRequired; /// <summary> /// Gets a value indicating whether the application is shutting down. @@ -51,8 +51,13 @@ namespace Tango.PPC.Common.Application void ShutDown(); /// <summary> - /// Gets the application version. + /// Gets the machine studio application version. /// </summary> - String Version { get; } + Version Version { get; } + + /// <summary> + /// Gets the build date. + /// </summary> + String BuildDate { get; } } } diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/SetupRequiredEventArgs.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/SetupRequiredEventArgs.cs deleted file mode 100644 index 9a545d781..000000000 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Application/SetupRequiredEventArgs.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Tango.PPC.Common.Application -{ - public class SetupRequiredEventArgs : EventArgs - { - private Action _continueAction; - - public SetupRequiredEventArgs(Action continueAction) - { - _continueAction = continueAction; - } - - public void Continue() - { - _continueAction?.Invoke(); - } - } -} |
