Changeset 11202 for branches/HiveStatistics/sources/HeuristicLab.Clients.Hive/3.3/HiveTasks/HiveTask.cs
- Timestamp:
- 07/18/14 12:01:13 (10 years ago)
- Location:
- branches/HiveStatistics/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources
- Property svn:ignore
-
old new 8 8 FxCopResults.txt 9 9 Google.ProtocolBuffers-0.9.1.dll 10 Google.ProtocolBuffers-2.4.1.473.dll 10 11 HeuristicLab 3.3.5.1.ReSharper.user 11 12 HeuristicLab 3.3.6.0.ReSharper.user 12 13 HeuristicLab.4.5.resharper.user 13 14 HeuristicLab.ExtLibs.6.0.ReSharper.user 15 HeuristicLab.Scripting.Development 14 16 HeuristicLab.resharper.user 15 17 ProtoGen.exe … … 17 19 _ReSharper.HeuristicLab 18 20 _ReSharper.HeuristicLab 3.3 21 _ReSharper.HeuristicLab 3.3 Tests 19 22 _ReSharper.HeuristicLab.ExtLibs 20 23 bin 21 24 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/HiveStatistics/sources/HeuristicLab.Clients.Hive/3.3/HiveTasks/HiveTask.cs
r9251 r11202 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 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; … … 180 182 } 181 183 182 public HiveTask(ItemTask item Job, bool autoCreateChildHiveJobs)184 public HiveTask(ItemTask itemTask, bool autoCreateChildHiveTasks) 183 185 : this() { 184 this.syncTasksWithOptimizers = autoCreateChildHive Jobs;185 this.ItemTask = item Job;186 this.syncTasksWithOptimizers = autoCreateChildHiveTasks; 187 this.ItemTask = itemTask; 186 188 this.syncTasksWithOptimizers = true; 187 189 } 188 190 189 public HiveTask(Task job, TaskData taskData, bool autoCreateChildHiveTasks) {191 public HiveTask(Task task, TaskData taskData, bool autoCreateChildHiveTasks) { 190 192 this.syncTasksWithOptimizers = autoCreateChildHiveTasks; 191 this.Task = job;193 this.Task = task; 192 194 try { 193 195 this.ItemTask = PersistenceUtil.Deserialize<ItemTask>(taskData.Data); … … 543 545 public new T ItemTask { 544 546 get { return (T)base.ItemTask; } 545 internalset { base.ItemTask = value; }547 set { base.ItemTask = value; } 546 548 } 547 549 … … 550 552 [StorableConstructor] 551 553 protected HiveTask(bool deserializing) { } 552 public HiveTask(T item Job) : base(itemJob, true) { }554 public HiveTask(T itemTask) : base(itemTask, true) { } 553 555 protected HiveTask(HiveTask<T> original, Cloner cloner) 554 556 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.