diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-08 17:59:31 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-08 17:59:31 +0200 |
| commit | aeebb8d47e1d78b50d9ae5afd9df6eaf9765ed87 (patch) | |
| tree | ac65520ce09b073a5adf3fe01a81634e9381e7af /Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs | |
| parent | b76a8d009b807ddbbb21386ad362deb786c506f4 (diff) | |
| download | Tango-aeebb8d47e1d78b50d9ae5afd9df6eaf9765ed87.tar.gz Tango-aeebb8d47e1d78b50d9ae5afd9df6eaf9765ed87.zip | |
Started working on power module...
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs index 5aa003c1e..7053e8356 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/PPCModuleBase.cs @@ -8,6 +8,7 @@ using System.Windows.Media.Imaging; using Tango.Core; using Tango.BL.Entities; using Tango.BL.Enumerations; +using System.Reflection; namespace Tango.PPC.Common { @@ -28,6 +29,14 @@ namespace Tango.PPC.Common } /// <summary> + /// Gets a value indicating whether to dock this module menu item to the bottom. + /// </summary> + public bool DockToBottom + { + get { return this.GetType().GetCustomAttribute<PPCModuleAttribute>().DockToBottom; } + } + + /// <summary> /// Gets the module name. /// </summary> public abstract string Name { get; } |
