aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.UI/Tiles/RemoteJob/RemoteJobProgressRingTile.cs
blob: f5519ec4898764815109a7df6a993709f5f71ee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Tango.FSE.Common;
using Tango.Integration.Operation;

namespace Tango.FSE.UI.Tiles.RemoteJob
{
    public class RemoteJobProgressRingTile : RemoteJobTile
    {
        public RemoteJobProgressRingTile() : base()
        {
            Name = "Remote Job Timer";
            AutoContainerStyle = false;
            AutoTitleStyle = false;
            AutoTitleAlignment = System.Windows.Controls.Dock.Right;
            Column = 4;
            Row = 6;
            ColumnSpan = 4;
            RowSpan = 4;
            AutoTitleLineOffset = 60;
            RunningJobStatus.RemainingTime = TimeSpan.Zero;
        }

        public override FrameworkElement GetView()
        {
            return new RemoteJobProgressRingTileView();
        }
    }
}