diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-01-12 19:11:24 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-01-12 19:11:24 +0200 |
| commit | 3bdeaff66bdfe57d67b27ca7fd8194604499131f (patch) | |
| tree | 6a7149a62368fde4eba5c03a06ff4d4b671b8482 /Software/Visual_Studio/Tango.Integration/JobRuns/BasicJobRunsLogger.cs | |
| parent | ea06554bd915b078a2e80f6876087659bac707bf (diff) | |
| download | Tango-3bdeaff66bdfe57d67b27ca7fd8194604499131f.tar.gz Tango-3bdeaff66bdfe57d67b27ca7fd8194604499131f.zip | |
Implemented job runs liquid quantities.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/JobRuns/BasicJobRunsLogger.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/JobRuns/BasicJobRunsLogger.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/JobRuns/BasicJobRunsLogger.cs b/Software/Visual_Studio/Tango.Integration/JobRuns/BasicJobRunsLogger.cs index cc08de2a2..78cc9a284 100644 --- a/Software/Visual_Studio/Tango.Integration/JobRuns/BasicJobRunsLogger.cs +++ b/Software/Visual_Studio/Tango.Integration/JobRuns/BasicJobRunsLogger.cs @@ -121,6 +121,8 @@ namespace Tango.Integration.JobRuns JobRunStatus = JobRunStatus.Failed, EndPosition = e.JobHandler.Status.Progress, FailedMessage = e.Exception.Message, + JobLength = e.JobHandler.Status.TotalProgress, + LiquidQuantities = e.LiquidQuantities, }); e.Job.LastRun = DateTime.UtcNow; @@ -165,6 +167,8 @@ namespace Tango.Integration.JobRuns MachineGuid = _job.MachineGuid, EndPosition = e.JobHandler.Status.Progress, JobRunStatus = JobRunStatus.Aborted, + JobLength = e.JobHandler.Status.TotalProgress, + LiquidQuantities = e.LiquidQuantities, }); e.Job.LastRun = DateTime.UtcNow; |
