blob: f9ce1d4ae94edaa76a86768db63da9507a74e46a (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.Integration.Operation
{
/// <summary>
/// Represents a running job status.
/// </summary>
public class RunningJobStatus
{
/// <summary>
/// Gets or sets the total time.
/// </summary>
public TimeSpan TotalTime { get; set; }
/// <summary>
/// Gets or sets the remaining time.
/// </summary>
public TimeSpan RemainingTime { get; set; }
/// <summary>
/// Gets or sets the progress.
/// </summary>
public double Progress { get; set; }
/// <summary>
/// Gets or sets the total progress.
/// </summary>
public double TotalProgress { get; set; }
/// <summary>
/// Gets or sets the remaining progress.
/// </summary>
public double RemainingProgress { get; set; }
/// <summary>
/// Gets or sets the current unit number.
/// </summary>
public int CurrentUnit { get; set; }
/// <summary>
/// Gets or sets the remaining units if it is an embroidery job.
/// </summary>
public int RemainingUnits { get; set; }
/// <summary>
/// Gets or sets the current unit progress.
/// </summary>
public double CurrentUnitProgress { get; set; }
/// <summary>
/// Gets or sets the current unit total progress.
/// </summary>
public double CurrentUnitTotalProgress { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is canceled.
/// </summary>
public bool IsCanceled { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is completed.
/// </summary>
public bool IsCompleted { get; set; }
/// <summary>
/// Gets or sets the message.
/// </summary>
public String Message { get; set; }
}
}
|