- Timestamp:
- 06/25/09 12:29:58 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Core/3.2/JobManager.cs
r2086 r2092 74 74 75 75 if (job != null) { 76 ComputableJob computableJob =77 new ComputableJob();76 SerializedJob computableJob = 77 new SerializedJob(); 78 78 computableJob.JobInfo = 79 79 job; … … 82 82 if (lastJobResult != null) { 83 83 computableJob.JobInfo.Percentage = lastJobResult.Percentage; 84 computableJob.SerializedJob = lastJobResult.Result;84 computableJob.SerializedJobData = lastJobResult.Result; 85 85 86 86 jobAdapter.UpdateComputableJob(computableJob); … … 196 196 /// <param name="job"></param> 197 197 /// <returns></returns> 198 public ResponseObject<Job> AddNewJob( ComputableJob job) {198 public ResponseObject<Job> AddNewJob(SerializedJob job) { 199 199 ISession session = factory.GetSessionForCurrentThread(); 200 200 … … 216 216 return response; 217 217 } 218 if (job.SerializedJob == null) {218 if (job.SerializedJobData == null) { 219 219 response.StatusMessage = ApplicationConstants.RESPONSE_JOB_JOB_NULL; 220 220 response.Success = false;
Note: See TracChangeset
for help on using the changeset viewer.