Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/12/11 18:04:25 (13 years ago)
Author:
ascheibe
Message:

#1233

  • fixed a bug in the Slave UI
  • finished renaming Webservice and Dao methods to be consistent with Job/Task naming
  • some cosmetic changes and project dependencies cleanups
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.3/DataTransfer/LightweightTask.cs

    r6721 r6743  
    4040    public Command? Command { get; set; }
    4141    [DataMember]
    42     public DateTime LastJobDataUpdate { get; set; }
     42    public DateTime LastTaskDataUpdate { get; set; }
    4343
    4444    public StateLog CurrentStateLog { get { return StateLog.LastOrDefault(); } }
     
    5050    }
    5151
    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.LastJobDataUpdate = 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;
    6060    }
    6161  }
Note: See TracChangeset for help on using the changeset viewer.