Changeset 6372 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/Job.cs
- Timestamp:
- 06/06/11 18:54:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/Job.cs
r6267 r6372 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 29 29 public Job() { } 30 30 31 protected Job(Job original, Cloner cloner) : base(original, cloner) { 31 protected Job(Job original, Cloner cloner) 32 : base(original, cloner) { 32 33 this.Priority = original.Priority; 33 34 this.CoresNeeded = original.CoresNeeded; … … 46 47 47 48 public override string ToString() { 48 return string.Format("State: {0}, SlaveId: {1}, DateCreated: {2}, CoresNeeded: {3}, MemoryNeeded: {4}", 49 State, 50 CurrentStateLog != null ? (CurrentStateLog.SlaveId.HasValue ? CurrentStateLog.SlaveId.Value.ToString() : string.Empty) : string.Empty, 51 DateCreated.HasValue ? DateCreated.ToString() : string.Empty, 52 CoresNeeded, 49 return string.Format("State: {0}, SlaveId: {1}, DateCreated: {2}, CoresNeeded: {3}, MemoryNeeded: {4}", 50 State, 51 CurrentStateLog != null ? (CurrentStateLog.SlaveId.HasValue ? CurrentStateLog.SlaveId.Value.ToString() : string.Empty) : string.Empty, 52 DateCreated.HasValue ? DateCreated.ToString() : string.Empty, 53 CoresNeeded, 53 54 MemoryNeeded); 54 55 }
Note: See TracChangeset
for help on using the changeset viewer.