Changeset 6412 for branches/Scheduling/HeuristicLab.Problems.Scheduling.Views/3.3/JobShopSchedulingProblemView.cs
- Timestamp:
- 06/14/11 14:53:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Scheduling/HeuristicLab.Problems.Scheduling.Views/3.3/JobShopSchedulingProblemView.cs
r6294 r6412 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Core.Views; 26 using HeuristicLab.Data;27 26 using HeuristicLab.MainForm; 28 using HeuristicLab.Parameters;29 27 using HeuristicLab.PluginInfrastructure; 30 using System.Drawing;31 28 32 29 namespace HeuristicLab.Problems.Scheduling.Views { … … 63 60 double lastEndTime = 0; 64 61 foreach (Task t in content.JobData[jobCount].Tasks) { 65 int categoryNr = t.JobNr .Value;62 int categoryNr = t.JobNr; 66 63 string categoryName = "Job" + categoryNr; 67 64 ganttChart.AddJobColor(categoryNr); … … 69 66 categoryNr, 70 67 lastEndTime + 1, 71 lastEndTime + t.Duration .Value,72 "Job" + t.JobNr + " - " + "Task#" + t.TaskNr. Value.ToString());73 lastEndTime += t.Duration .Value;68 lastEndTime + t.Duration, 69 "Job" + t.JobNr + " - " + "Task#" + t.TaskNr.ToString()); 70 lastEndTime += t.Duration; 74 71 } 75 72 jobCount++;
Note: See TracChangeset
for help on using the changeset viewer.