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.DB.Views;
namespace Tango.MachineStudio.DB
{
///
/// Represents a Machine Studio database module.
///
///
public class DBModule : StudioModuleBase
{
///
/// Gets the module name.
///
public override string Name => "Data Base";
///
/// Gets the module description.
///
public override string Description => "Provides access to raw database tables.";
///
/// Gets the module cover image.
///
public override BitmapSource Image => SharedUI.Helpers.ResourceHelper.GetImageFromResources("Images/db.png");
///
/// Gets the module entry point view type.
///
public override Type MainViewType
{
get
{
return typeof(MainDBView);
}
}
///
/// Gets the permission required to see and load this module.
///
public override Permissions Permission => Permissions.RunDataBaseModule;
///
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
///
public override void Dispose()
{
}
}
}