aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/UpdatePackages/PackageRunnerResult.cs
blob: 55f3a490a7a3754ab3a75b62179bd43c9dde3ff4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
            }
        }
    }
}