void MonitorRunningEnd() { if (runningJob.ID == Guid.Empty) { return; } JobUtilHelper.UpdateJobHistory(runningJob); runningJob.EndRun = DateTime.Now; Console.WriteLine("runningJob.end= " + runningJob.Insert); }
void MonitorCompleteGetData() { if (runningJob.ID == Guid.Empty) { return; } JobUtilHelper.UpdateJobHistory(runningJob, true); runningJob.EndRun = DateTime.Now; Console.WriteLine("runningJob.MonitorCompleteGetData= " + runningJob.Insert); }