using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core.DI;
using Tango.PPC.Common.Connection;
using Tango.PPC.Common.Notifications;
namespace Tango.PPC.Jobs.AppBarItems
{
/// <summary>
/// Represents a job progress <see cref="AppBarItem"/>.
/// </summary>
/// <seealso cref="Tango.PPC.Common.Notifications.AppBarItem" />
public class JobProgressAppBarItem : AppBarItem
{
/// <summary>
/// Gets or sets the machine provider.
/// </summary>
[TangoInject]
public IMachineProvider MachineProvider { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="JobProgressAppBarItem"/> class.
/// </summary>
public JobProgressAppBarItem()
{
TangoIOC.Default.Inject(this);
}
/// <summary>
/// Gets or sets the view type.
/// </summary>
public override Type ViewType
{
get
{
return typeof(JobProgressAppBarItemView);
}
}
}
}