Changeset 5779 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ExperimentManager
- Timestamp:
- 03/21/11 15:05:48 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ExperimentManager/HiveJobClient.cs
r5718 r5779 45 45 else if (job.State == JobState.Calculating) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutableStarted; 46 46 else if (job.State == JobState.Transferring) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutableStarted; 47 else if (job.State == JobState.Paused) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutablePaused; 47 48 else if (job.State == JobState.Aborted) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutableStopped; 48 49 else if (job.State == JobState.Failed) return HeuristicLab.Common.Resources.VSImageLibrary.Error; … … 604 605 } 605 606 #endregion 607 608 public void Pause() { 609 ServiceLocator.Instance.CallHiveService(s => s.PauseJob(this.job.Id)); 610 } 611 612 public void Stop() { 613 ServiceLocator.Instance.CallHiveService(s => s.StopJob(this.job.Id)); 614 } 615 616 public void Restart() { 617 ServiceLocator.Instance.CallHiveService(s => s.RestartJob(this.job.Id)); 618 } 606 619 } 607 620 }
Note: See TracChangeset
for help on using the changeset viewer.