aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Resume
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2024-07-14 23:06:47 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2024-07-14 23:06:47 +0300
commitc03fb4a1b2aadd8952b321d08ca840e55fcee72d (patch)
tree453cc2986a60c87ddff21bff348d6d35d7ed1c2e /Software/Visual_Studio/PPC/Tango.PPC.Common/Resume
parent70c0c5921c3c124779ec0d603e43d72e67def63f (diff)
downloadTango-c03fb4a1b2aadd8952b321d08ca840e55fcee72d.tar.gz
Tango-c03fb4a1b2aadd8952b321d08ca840e55fcee72d.zip
Revision of statistics and resumed jobs.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/Resume')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Resume/DefaultJobResumeManager.cs1
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/Resume/JobResumeModel.cs2
2 files changed, 3 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Resume/DefaultJobResumeManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Resume/DefaultJobResumeManager.cs
index 5f819d34d..4c4e3f169 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Resume/DefaultJobResumeManager.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Resume/DefaultJobResumeManager.cs
@@ -55,6 +55,7 @@ namespace Tango.PPC.Common.Resume
model.FirstUnitStartPosition = e.JobHandler.Status.CurrentUnitProgress;
model.RemainingUnits = e.JobHandler.Status.RemainingUnits;
model.GlobalStartPosition = e.JobHandler.JobStatus.Progress;
+ model.ResumeProgress = e.JobHandler.Status.ProgressMinusSettingUp;
if (insert)
{
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Resume/JobResumeModel.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Resume/JobResumeModel.cs
index 40386566e..db5d4d3d9 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Resume/JobResumeModel.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Resume/JobResumeModel.cs
@@ -17,5 +17,7 @@ namespace Tango.PPC.Common.Resume
public double GlobalStartPosition { get; set; }
public double FirstUnitStartPosition { get; set; }
+
+ public double ResumeProgress { get; set; }
}
}