Changeset 9819
- Timestamp:
- 07/30/13 17:35:04 (11 years ago)
- Location:
- trunk/sources/HeuristicLab.Clients.Hive/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive/3.3/HiveTasks/HiveTask.cs
r9456 r9819 172 172 protected HiveTask(bool deserializing) { } 173 173 174 public HiveTask() { 174 public HiveTask() 175 : base() { 176 Name = "Hive Task"; 175 177 this.Task = new Task() { CoresNeeded = 1, MemoryNeeded = 128 }; 176 178 task.State = TaskState.Offline; -
trunk/sources/HeuristicLab.Clients.Hive/3.3/Tasks/EngineTask.cs
r9456 r9819 50 50 51 51 #region constructors and cloning 52 public EngineTask() { }53 52 public EngineTask(IOperation initialOperation, IEngine engine) { 54 53 this.initialOperation = initialOperation; … … 144 143 145 144 public override string Name { 146 get { return Item != null ? Item.ToString() : null; }145 get { return Item != null ? Item.ToString() : "Engine Task"; } 147 146 set { throw new NotSupportedException(); } 148 147 } … … 153 152 154 153 public override string ItemName { 155 get { return "Engine Task"; }154 get { return "Engine Task"; } 156 155 } 157 156 } -
trunk/sources/HeuristicLab.Clients.Hive/3.3/Tasks/OptimizerTask.cs
r9456 r9819 46 46 } 47 47 48 public OptimizerTask() : base() { } 49 public OptimizerTask(IOptimizer optimizer) 50 : this() { 48 public OptimizerTask(IOptimizer optimizer) { 51 49 this.Item = optimizer; 52 50 … … 210 208 get { 211 209 if (Item == null) 212 return string.Empty;210 return "Optimizer Task"; 213 211 else 214 212 return Item.Name;
Note: See TracChangeset
for help on using the changeset viewer.