diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-03-15 15:46:03 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-03-15 15:46:03 +0200 |
| commit | b188d7bfd91062f65474bd139bb8a434694f117b (patch) | |
| tree | b75e5628482d4f96fc4236beaf854152d83292a4 /Software/Visual_Studio/Tango.Integration/JobRuns | |
| parent | 47d63f4b155318d674a891a6586433f41881a3b1 (diff) | |
| download | Tango-b188d7bfd91062f65474bd139bb8a434694f117b.tar.gz Tango-b188d7bfd91062f65474bd139bb8a434694f117b.zip | |
Fixed issue with job run start date.
Fixed issue with ActionLogs busy indication.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/JobRuns')
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/JobRuns/BasicJobRunsLogger.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/JobRuns/BasicJobRunsLogger.cs b/Software/Visual_Studio/Tango.Integration/JobRuns/BasicJobRunsLogger.cs index f2fb2f16e..0fadd1baa 100644 --- a/Software/Visual_Studio/Tango.Integration/JobRuns/BasicJobRunsLogger.cs +++ b/Software/Visual_Studio/Tango.Integration/JobRuns/BasicJobRunsLogger.cs @@ -17,7 +17,6 @@ namespace Tango.Integration.JobRuns /// <seealso cref="Tango.Integration.JobRuns.IJobRunsLogger" /> public class BasicJobRunsLogger : ExtendedObject, IJobRunsLogger { - private DateTime _start_date; private Job _job; #region Properties @@ -96,7 +95,7 @@ namespace Tango.Integration.JobRuns JobRun run = new JobRun(); run.UserGuid = _job.UserGuid; - run.StartDate = _start_date; + run.StartDate = e.StartDate; run.UploadingStartDate = e.UploadingStartTime; run.HeatingStartDate = e.HeatingStartTime; run.ActualStartDate = e.ActualStartTime; @@ -187,7 +186,6 @@ namespace Tango.Integration.JobRuns private void Machine_PrintingStarted(object sender, PrintingEventArgs e) { _job = e.Job; - _start_date = DateTime.UtcNow; } #endregion |
