Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/14/11 14:53:14 (13 years ago)
Author:
jhelm
Message:

#1329: Did some minor changes affecting datatypes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Scheduling/HeuristicLab.Problems.Scheduling.Views/3.3/JobShopSchedulingProblemView.cs

    r6294 r6412  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Core.Views;
    26 using HeuristicLab.Data;
    2726using HeuristicLab.MainForm;
    28 using HeuristicLab.Parameters;
    2927using HeuristicLab.PluginInfrastructure;
    30 using System.Drawing;
    3128
    3229namespace HeuristicLab.Problems.Scheduling.Views {
     
    6360        double lastEndTime = 0;
    6461        foreach (Task t in content.JobData[jobCount].Tasks) {
    65           int categoryNr = t.JobNr.Value;
     62          int categoryNr = t.JobNr;
    6663          string categoryName = "Job" + categoryNr;
    6764          ganttChart.AddJobColor(categoryNr);
     
    6966            categoryNr,
    7067            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;
    7471        }
    7572        jobCount++;
Note: See TracChangeset for help on using the changeset viewer.