Changeset 6743 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.3/DataTransfer/LightweightTask.cs
- Timestamp:
- 09/12/11 18:04:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.3/DataTransfer/LightweightTask.cs
r6721 r6743 40 40 public Command? Command { get; set; } 41 41 [DataMember] 42 public DateTime Last JobDataUpdate { get; set; }42 public DateTime LastTaskDataUpdate { get; set; } 43 43 44 44 public StateLog CurrentStateLog { get { return StateLog.LastOrDefault(); } } … … 50 50 } 51 51 52 public LightweightTask(Task job) {53 this.Id = job.Id;54 this.ExecutionTime = job.ExecutionTime;55 this.ParentTaskId = job.ParentTaskId;56 this.StateLog = new List<StateLog>( job.StateLog);57 this.State = job.State;58 this.Command = job.Command;59 this.Last JobDataUpdate = job.LastJobDataUpdate;52 public LightweightTask(Task task) { 53 this.Id = task.Id; 54 this.ExecutionTime = task.ExecutionTime; 55 this.ParentTaskId = task.ParentTaskId; 56 this.StateLog = new List<StateLog>(task.StateLog); 57 this.State = task.State; 58 this.Command = task.Command; 59 this.LastTaskDataUpdate = task.LastTaskDataUpdate; 60 60 } 61 61 }
Note: See TracChangeset
for help on using the changeset viewer.