using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media.Imaging;
using Tango.BL.Entities;
using Tango.BL.Enumerations;
using Tango.MachineStudio.Common;
using Tango.MachineStudio.Technician.Views;
using Tango.SharedUI.Helpers;
namespace Tango.MachineStudio.Technician
{
///
/// Represents a machine studio technician module.
///
///
[StudioModule(1)]
public class TechnicianModule : StudioModuleBase
{
///
/// Gets the module name.
///
public override string Name => "Tech Board";
///
/// Gets the module description.
///
public override string Description => "Provides access to low level machine components by exposing diagnostics and profiling tools.";
///
/// Gets the module cover image.
///
public override BitmapSource Image => ResourceHelper.GetImageFromResources("Images/technician.jpg");
///
/// Gets the module entry point view type.
///
public override Type MainViewType
{
get
{
return typeof(MachineTechView);
}
}
///
/// Gets the permission required to see and load this module.
///
public override Permissions Permission => Permissions.RunTechBoardModule;
///
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
///
public override void Dispose()
{
}
}
}