From 8a59643571080bfff715f0b0e4bb03e2dee4961a Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 12 Jun 2018 15:47:10 +0300 Subject: Starting splitting PPC to modules. --- .../PPC/Modules/Tango.PPC.Jobs/JobsModule.cs | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/JobsModule.cs (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/JobsModule.cs') diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/JobsModule.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/JobsModule.cs new file mode 100644 index 000000000..de4b89c22 --- /dev/null +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/JobsModule.cs @@ -0,0 +1,61 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Media.Imaging; +using Tango.BL.Enumerations; +using Tango.PPC.Common; +using Tango.PPC.Jobs.Views; +using Tango.SharedUI.Helpers; + +namespace Tango.PPC.Jobs +{ + public class JobsModule : PPCModuleBase + { + public override string Name + { + get + { + return "Jobs"; + } + } + + public override string Description + { + get + { + return "Manage and run jobs"; + } + } + + public override BitmapSource Image + { + get + { + return ResourceHelper.GetImageFromResources("Images/jobs-module.png"); + } + } + + public override Type MainViewType + { + get + { + return typeof(MainView); + } + } + + public override Permissions Permission + { + get + { + return Permissions.RunTechnicianModule; + } + } + + public override void Dispose() + { + + } + } +} -- cgit v1.3.1