Commit 5009a14a authored by Jérome Perrin's avatar Jérome Perrin

remove dead code

parent 132eff5c
...@@ -117,15 +117,11 @@ ...@@ -117,15 +117,11 @@
seen_parts = {}; seen_parts = {};
$.each(obj.results.schedule, function (i, schedule) { $.each(obj.results.schedule, function (i, schedule) {
var entrance_date, var task_start_date,
task_start_date,
job_full_id; job_full_id;
// Filter intermediate steps in part job shop // Filter intermediate steps in part job shop
if (isVisibleStation(schedule.stationId)) { if (isVisibleStation(schedule.stationId)) {
entrance_date = new Date(start_date.getTime());
entrance_date.setTime(entrance_date.getTime() +
schedule.entranceTime * 1000 * 3600);
if (schedule.exitTime) { if (schedule.exitTime) {
duration = 24 * (schedule.exitTime - schedule.entranceTime); duration = 24 * (schedule.exitTime - schedule.entranceTime);
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment