diff --git a/gantt/ViewModel/BaselineTableViewModel.cs b/gantt/ViewModel/BaselineTableViewModel.cs index 073b1337b..6864de2ee 100644 --- a/gantt/ViewModel/BaselineTableViewModel.cs +++ b/gantt/ViewModel/BaselineTableViewModel.cs @@ -63,84 +63,84 @@ public ObservableCollection GetData() // Adding Tasks - data.Add(new BaselineTableModel() { Id = 1, Name = "Residential Construction (2500 sq.ft)", StDate = new DateTime(2012, 3, 1), EndDate = new DateTime(2012, 3, 15), BaselineStart = new DateTime(2012, 3, 1), BaselineEnd = new DateTime(2012, 3, 14), Complete = 0d, Cost = 500, BaselineCost = 833d, }); - - data[0].ChildTask.Add(new BaselineTableModel() { Id = 2, Name = "General Considerations", StDate = new DateTime(2012, 7, 3), EndDate = new DateTime(2012, 7, 14), BaselineStart = new DateTime(2012, 7, 3), BaselineEnd = new DateTime(2012, 7, 14), Complete = 0d, Cost = 89, BaselineCost = 833d, }); - - data[0].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 3, Name = "Finalize and Approve Plans", StDate = new DateTime(2012, 3, 1), EndDate = new DateTime(2012, 3, 15), BaselineStart = new DateTime(2012, 3, 2), BaselineEnd = new DateTime(2012, 3, 16), Complete = 0d, Cost = 500, BaselineCost = 833d, }); - data[0].ChildTask[0].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 4, Name = "Review and Finalize Site Plans", StDate = new DateTime(2012, 3, 1), EndDate = new DateTime(2012, 3, 20), BaselineStart = new DateTime(2012, 3, 1), BaselineEnd = new DateTime(2012, 3, 20), Complete = 0d, Cost = 500, BaselineCost = 833d, }); - data[0].ChildTask[0].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 5, Name = "Sign contract and Proceed", StDate = new DateTime(2012, 3, 20), EndDate = new DateTime(2012, 3, 22), BaselineStart = new DateTime(2012, 3, 19), BaselineEnd = new DateTime(2012, 3, 21), Complete = 0d, Cost = 500, BaselineCost = 833d, }); - - data[0].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 6, Name = "Contracts and Agreements", StDate = new DateTime(2012, 3, 22), EndDate = new DateTime(2012, 3, 22), BaselineStart = new DateTime(2012, 3, 20), BaselineEnd = new DateTime(2012, 3, 21), Complete = 0d, Cost = 20d, BaselineCost = 14 }); - data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new BaselineTableModel() { Id = 7, Name = "Lot Sale Agreement", StDate = new DateTime(2012, 3, 22), EndDate = new DateTime(2012, 3, 22), BaselineStart = new DateTime(2012, 3, 20), BaselineEnd = new DateTime(2012, 3, 20), Complete = 0d, Cost = 20d, BaselineCost = 14 })); - data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new BaselineTableModel() { Id = 8, Name = "Construction Agreement", StDate = new DateTime(2012, 3, 22), EndDate = new DateTime(2012, 3, 22), BaselineStart = new DateTime(2012, 3, 21), BaselineEnd = new DateTime(2012, 3, 21), Complete = 0d, Cost = 33d, BaselineCost = 12 })); - data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new BaselineTableModel() { Id = 9, Name = "Contract Specifications", StDate = new DateTime(2012, 3, 22), EndDate = new DateTime(2012, 3, 22), BaselineStart = new DateTime(2012, 3, 20), BaselineEnd = new DateTime(2012, 3, 20), Complete = 0d, Cost = 30d, BaselineCost = 50 })); - data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new BaselineTableModel() { Id = 10, Name = "Contract Site Plan", StDate = new DateTime(2012, 3, 22), EndDate = new DateTime(2012, 3, 22), BaselineStart = new DateTime(2012, 3, 20), BaselineEnd = new DateTime(2012, 3, 20), Complete = 0d, Cost = 360d, BaselineCost = 100 })); - data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new BaselineTableModel() { Id = 11, Name = "Financing", StDate = new DateTime(2012, 3, 22), EndDate = new DateTime(2012, 3, 22), BaselineStart = new DateTime(2012, 3, 20), BaselineEnd = new DateTime(2012, 3, 20), Complete = 0d, Cost = 39d, BaselineCost = 16 })); - - data[0].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 12, Name = "Apply Permits", StDate = new DateTime(2012, 3, 23), EndDate = new DateTime(2012, 3, 24), BaselineStart = new DateTime(2012, 3, 22), BaselineEnd = new DateTime(2012, 3, 23), Complete = 0d, Cost = 53d, BaselineCost = 65 }); - data[0].ChildTask[0].ChildTask[2].ChildTask.Add((new BaselineTableModel() { Id = 13, Name = "Foundation Permit", StDate = new DateTime(2012, 3, 23), EndDate = new DateTime(2012, 3, 24), BaselineStart = new DateTime(2012, 3, 22), BaselineEnd = new DateTime(2012, 3, 23), Complete = 0d, Cost = 53d, BaselineCost = 65 })); - data[0].ChildTask[0].ChildTask[2].ChildTask.Add((new BaselineTableModel() { Id = 14, Name = "Electrical Permit", StDate = new DateTime(2012, 3, 24), EndDate = new DateTime(2012, 3, 25), BaselineStart = new DateTime(2012, 3, 24), BaselineEnd = new DateTime(2012, 3, 25), Complete = 0d, Cost = 23d, BaselineCost = 34 })); - data[0].ChildTask[0].ChildTask[2].ChildTask.Add((new BaselineTableModel() { Id = 15, Name = "Plumbing Permit", StDate = new DateTime(2012, 3, 25), EndDate = new DateTime(2012, 3, 26), BaselineStart = new DateTime(2012, 3, 25), BaselineEnd = new DateTime(2012, 3, 26), Complete = 0d, Cost = 63d, BaselineCost = 53 })); - - data[0].ChildTask.Add(new BaselineTableModel() { Id = 16, Name = "Site Work", StDate = new DateTime(2012, 3, 26), EndDate = new DateTime(2012, 3, 27), BaselineStart = new DateTime(2012, 3, 26), BaselineEnd = new DateTime(2012, 3, 27), Complete = 0d, Cost = 2000d, BaselineCost = 1000 }); - data[0].ChildTask[1].ChildTask.Add(new BaselineTableModel() { Id = 17, Name = "Clear Lot", StDate = new DateTime(2012, 3, 26), EndDate = new DateTime(2012, 3, 27), BaselineStart = new DateTime(2012, 3, 27), BaselineEnd = new DateTime(2012, 3, 28), Complete = 0d, Cost = 2000d, BaselineCost = 1000 }); - data[0].ChildTask[1].ChildTask.Add(new BaselineTableModel() { Id = 18, Name = "Strip Topsoil", StDate = new DateTime(2012, 3, 27), EndDate = new DateTime(2012, 3, 28), BaselineStart = new DateTime(2012, 3, 27), BaselineEnd = new DateTime(2012, 3, 28), Complete = 0d, Cost = 1200d, BaselineCost = 800 }); - data[0].ChildTask[1].ChildTask.Add(new BaselineTableModel() { Id = 19, Name = "Installing Temporary requirements", StDate = new DateTime(2012, 3, 28), EndDate = new DateTime(2012, 3, 29), BaselineStart = new DateTime(2012, 3, 30), BaselineEnd = new DateTime(2012, 4, 2), Complete = 0d, Cost = 354d, BaselineCost = 230 }); - - data[0].ChildTask.Add(new BaselineTableModel() { Id = 20, Name = "Foundation", StDate = new DateTime(2012, 3, 29), EndDate = new DateTime(2012, 4, 2), BaselineStart = new DateTime(2012, 3, 29), BaselineEnd = new DateTime(2012, 4, 2), Complete = 0d, Cost = 899, BaselineCost = 833d, }); - data[0].ChildTask[2].ChildTask.Add(new BaselineTableModel() { Id = 21, Name = "Excavate for foundation", StDate = new DateTime(2012, 3, 29), EndDate = new DateTime(2012, 4, 2), BaselineStart = new DateTime(2012, 3, 29), BaselineEnd = new DateTime(2012, 4, 2), Complete = 0d, Cost = 899, BaselineCost = 833d, }); - data[0].ChildTask[2].ChildTask.Add(new BaselineTableModel() { Id = 22, Name = "Building Basement Walls", StDate = new DateTime(2012, 4, 3), EndDate = new DateTime(2012, 4, 8), BaselineStart = new DateTime(2012, 4, 3), BaselineEnd = new DateTime(2012, 4, 8), Complete = 0d, Cost = 889, BaselineCost = 803d, }); - data[0].ChildTask[2].ChildTask.Add(new BaselineTableModel() { Id = 23, Name = "Foundation inspection", StDate = new DateTime(2012, 4, 8), EndDate = new DateTime(2012, 4, 10), BaselineStart = new DateTime(2012, 4, 7), BaselineEnd = new DateTime(2012, 4, 9), Complete = 0d, Cost = 8, BaselineCost = 8d, }); - data[0].ChildTask[2].ChildTask.Add(new BaselineTableModel() { Id = 24, Name = "Finishing Foundation", StDate = new DateTime(2012, 4, 10), EndDate = new DateTime(2012, 4, 17), BaselineStart = new DateTime(2012, 4, 10), BaselineEnd = new DateTime(2012, 4, 17), Complete = 0d, Cost = 0, BaselineCost = 8d, }); - - data[0].ChildTask.Add(new BaselineTableModel() { Id = 25, Name = "Framing", StDate = new DateTime(2012, 4, 18), EndDate = new DateTime(2012, 4, 24), BaselineStart = new DateTime(2012, 4, 18), BaselineEnd = new DateTime(2012, 4, 24), Complete = 0d, Cost = 890, BaselineCost = 803d, }); - data[0].ChildTask[3].ChildTask.Add(new BaselineTableModel() { Id = 26, Name = "First Floor Framing", StDate = new DateTime(2012, 4, 18), EndDate = new DateTime(2012, 4, 24), BaselineStart = new DateTime(2012, 4, 17), BaselineEnd = new DateTime(2012, 4, 23), Complete = 0d, Cost = 890, BaselineCost = 803d, }); - data[0].ChildTask[3].ChildTask.Add(new BaselineTableModel() { Id = 27, Name = "Second Floor Framing", StDate = new DateTime(2012, 4, 24), EndDate = new DateTime(2012, 5, 3), BaselineStart = new DateTime(2012, 4, 24), BaselineEnd = new DateTime(2012, 5, 3), Complete = 0d, Cost = 789, BaselineCost = 898d, }); - data[0].ChildTask[3].ChildTask.Add(new BaselineTableModel() { Id = 28, Name = "Framing Roof", StDate = new DateTime(2012, 5, 3), EndDate = new DateTime(2012, 5, 7), BaselineStart = new DateTime(2012, 5, 4), BaselineEnd = new DateTime(2012, 5, 8), Complete = 0d, Cost = 780, BaselineCost = 833d, }); - data[0].ChildTask[3].ChildTask.Add(new BaselineTableModel() { Id = 29, Name = "Framing Inspection", StDate = new DateTime(2012, 5, 7), EndDate = new DateTime(2012, 5, 8), BaselineStart = new DateTime(2012, 5, 7), BaselineEnd = new DateTime(2012, 5, 8), Complete = 0d, Cost = 5, BaselineCost = 8d, }); - - data[0].ChildTask.Add(new BaselineTableModel() { Id = 30, Name = "Dry In", StDate = new DateTime(2012, 5, 8), EndDate = new DateTime(2012, 5, 14), BaselineStart = new DateTime(2012, 5, 8), BaselineEnd = new DateTime(2012, 5, 15), Complete = 0d, Cost = 232, BaselineCost = 323d, }); - data[0].ChildTask[4].ChildTask.Add(new BaselineTableModel() { Id = 31, Name = "Installing Sheathing for floors", StDate = new DateTime(2012, 5, 8), EndDate = new DateTime(2012, 5, 14), BaselineStart = new DateTime(2012, 5, 9), BaselineEnd = new DateTime(2012, 5, 15), Complete = 0d, Cost = 232, BaselineCost = 323d, }); - data[0].ChildTask[4].ChildTask.Add(new BaselineTableModel() { Id = 32, Name = "Installing Windows", StDate = new DateTime(2012, 5, 14), EndDate = new DateTime(2012, 5, 25), BaselineStart = new DateTime(2012, 5, 14), BaselineEnd = new DateTime(2012, 5, 25), Complete = 0d, Cost = 325, BaselineCost = 452d, }); - data[0].ChildTask[4].ChildTask.Add(new BaselineTableModel() { Id = 33, Name = "Installing Sheathing for Roof", StDate = new DateTime(2012, 5, 25), EndDate = new DateTime(2012, 5, 30), BaselineStart = new DateTime(2012, 5, 23), BaselineEnd = new DateTime(2012, 5, 30), Complete = 0d, Cost = 82, BaselineCost = 83d, }); - - data[0].ChildTask.Add(new BaselineTableModel() { Id = 34, Name = "Exterior Finishing", StDate = new DateTime(2012, 5, 31), EndDate = new DateTime(2012, 6, 12), BaselineStart = new DateTime(2012, 5, 31), BaselineEnd = new DateTime(2012, 6, 12), Complete = 0d, Cost = 463, BaselineCost = 633d, }); - data[0].ChildTask[5].ChildTask.Add(new BaselineTableModel() { Id = 35, Name = "Exterior Trimming", StDate = new DateTime(2012, 5, 31), EndDate = new DateTime(2012, 6, 12), BaselineStart = new DateTime(2012, 5, 31), BaselineEnd = new DateTime(2012, 6, 12), Complete = 0d, Cost = 463, BaselineCost = 633d, }); - data[0].ChildTask[5].ChildTask.Add(new BaselineTableModel() { Id = 36, Name = "Completing Exterior Bricks", StDate = new DateTime(2012, 6, 12), EndDate = new DateTime(2012, 6, 17), BaselineStart = new DateTime(2012, 6, 12), BaselineEnd = new DateTime(2012, 6, 17), Complete = 0d, Cost = 234, BaselineCost = 333d, }); - - data[0].ChildTask.Add(new BaselineTableModel() { Id = 37, Name = "Interior Finishing", StDate = new DateTime(2012, 6, 17), EndDate = new DateTime(2012, 6, 19), BaselineStart = new DateTime(2012, 6, 17), BaselineEnd = new DateTime(2012, 6, 19), Complete = 0d, Cost = 43, BaselineCost = 33d, }); - - data[0].ChildTask[6].ChildTask.Add(new BaselineTableModel() { Id = 38, Name = "Installing Insulation", StDate = new DateTime(2012, 6, 17), EndDate = new DateTime(2012, 6, 19), BaselineStart = new DateTime(2012, 6, 17), BaselineEnd = new DateTime(2012, 6, 19), Complete = 0d, Cost = 43, BaselineCost = 33d, }); - data[0].ChildTask[6].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 39, Name = "Install Floor Insulation", StDate = new DateTime(2012, 6, 17), EndDate = new DateTime(2012, 6, 19), BaselineStart = new DateTime(2012, 6, 17), BaselineEnd = new DateTime(2012, 6, 19), Complete = 0d, Cost = 43, BaselineCost = 33d, }); - data[0].ChildTask[6].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 40, Name = "Install Wall Insulation", StDate = new DateTime(2012, 6, 19), EndDate = new DateTime(2012, 6, 21), BaselineStart = new DateTime(2012, 6, 19), BaselineEnd = new DateTime(2012, 6, 21), Complete = 0d, Cost = 53, BaselineCost = 83d, }); - data[0].ChildTask[6].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 41, Name = "Install Ceiling Insulation", StDate = new DateTime(2012, 6, 21), EndDate = new DateTime(2012, 6, 22), BaselineStart = new DateTime(2012, 6, 21), BaselineEnd = new DateTime(2012, 6, 22), Complete = 0d, Cost = 89, BaselineCost = 83d, }); - - - data[0].ChildTask[6].ChildTask.Add(new BaselineTableModel() { Id = 42, Name = "Painting and Wallpaper", StDate = new DateTime(2012, 6, 22), EndDate = new DateTime(2012, 6, 23), BaselineStart = new DateTime(2012, 6, 22), BaselineEnd = new DateTime(2012, 6, 23), Complete = 0d, Cost = 453, BaselineCost = 563, }); - data[0].ChildTask[6].ChildTask[1].ChildTask.Add(new BaselineTableModel() { Id = 43, Name = "Painting all Interior", StDate = new DateTime(2012, 6, 22), EndDate = new DateTime(2012, 6, 23), BaselineStart = new DateTime(2012, 6, 22), BaselineEnd = new DateTime(2012, 6, 23), Complete = 0d, Cost = 453, BaselineCost = 563, }); - data[0].ChildTask[6].ChildTask[1].ChildTask.Add(new BaselineTableModel() { Id = 44, Name = "Painting all Exterior", StDate = new DateTime(2012, 6, 23), EndDate = new DateTime(2012, 6, 25), BaselineStart = new DateTime(2012, 6, 23), BaselineEnd = new DateTime(2012, 6, 25), Complete = 0d, Cost = 352, BaselineCost = 342, }); - data[0].ChildTask[6].ChildTask[1].ChildTask.Add(new BaselineTableModel() { Id = 45, Name = "Additional Trimming Work", StDate = new DateTime(2012, 6, 25), EndDate = new DateTime(2012, 6, 27), BaselineStart = new DateTime(2012, 6, 25), BaselineEnd = new DateTime(2012, 6, 27), Complete = 0d, Cost = 32, BaselineCost = 50, }); - - data[0].ChildTask[6].ChildTask.Add(new BaselineTableModel() { Id = 46, Name = "Finishing Plumbing", StDate = new DateTime(2012, 6, 27), EndDate = new DateTime(2012, 6, 29), BaselineStart = new DateTime(2012, 6, 27), BaselineEnd = new DateTime(2012, 6, 29), Complete = 0d, Cost = 424, BaselineCost = 423, }); - data[0].ChildTask[6].ChildTask[2].ChildTask.Add(new BaselineTableModel() { Id = 47, Name = "First floor Plumbing", StDate = new DateTime(2012, 6, 27), EndDate = new DateTime(2012, 6, 29), BaselineStart = new DateTime(2012, 6, 27), BaselineEnd = new DateTime(2012, 6, 29), Complete = 0d, Cost = 424, BaselineCost = 423, }); - data[0].ChildTask[6].ChildTask[2].ChildTask.Add(new BaselineTableModel() { Id = 48, Name = "Second floor plumbing", StDate = new DateTime(2012, 6, 29), EndDate = new DateTime(2012, 7, 1), BaselineStart = new DateTime(2012, 6, 29), BaselineEnd = new DateTime(2012, 7, 1), Complete = 0d, Cost = 234, BaselineCost = 324, }); - data[0].ChildTask[6].ChildTask[2].ChildTask.Add(new BaselineTableModel() { Id = 49, Name = "Inspecting Plumbing", StDate = new DateTime(2012, 7, 1), EndDate = new DateTime(2012, 7, 3), BaselineStart = new DateTime(2012, 7, 1), BaselineEnd = new DateTime(2012, 7, 3), Complete = 0d, Cost = 23, BaselineCost = 33d, }); - - data[0].ChildTask[6].ChildTask.Add(new BaselineTableModel() { Id = 50, Name = "Finishing Electrical", StDate = new DateTime(2012, 7, 3), EndDate = new DateTime(2012, 7, 5), BaselineStart = new DateTime(2012, 7, 3), BaselineEnd = new DateTime(2012, 7, 5), Complete = 0d, Cost = 432, BaselineCost = 536, }); - data[0].ChildTask[6].ChildTask[3].ChildTask.Add(new BaselineTableModel() { Id = 51, Name = "Complete first floor connections", StDate = new DateTime(2012, 7, 3), EndDate = new DateTime(2012, 7, 5), BaselineStart = new DateTime(2012, 7, 3), BaselineEnd = new DateTime(2012, 7, 5), Complete = 0d, Cost = 432, BaselineCost = 536, }); - data[0].ChildTask[6].ChildTask[3].ChildTask.Add(new BaselineTableModel() { Id = 52, Name = "Complete second floor connections", StDate = new DateTime(2012, 7, 5), EndDate = new DateTime(2012, 7, 7), BaselineStart = new DateTime(2012, 7, 4), BaselineEnd = new DateTime(2012, 7, 6), Complete = 0d, Cost = 563, BaselineCost = 463, }); - data[0].ChildTask[6].ChildTask[3].ChildTask.Add(new BaselineTableModel() { Id = 53, Name = "Complete non-Electrical Wiring", StDate = new DateTime(2012, 7, 7), EndDate = new DateTime(2012, 7, 8), BaselineStart = new DateTime(2012, 7, 7), BaselineEnd = new DateTime(2012, 7, 8), Complete = 0d, Cost = 234, BaselineCost = 563, }); - - data[0].ChildTask[6].ChildTask.Add(new BaselineTableModel() { Id = 54, Name = "Carpet,Tiles and Furnishing", StDate = new DateTime(2012, 7, 8), EndDate = new DateTime(2012, 7, 10), BaselineStart = new DateTime(2012, 7, 9), BaselineEnd = new DateTime(2012, 7, 11), Complete = 0d, Cost = 253, BaselineCost = 210, }); - data[0].ChildTask[6].ChildTask[4].ChildTask.Add(new BaselineTableModel() { Id = 55, Name = "Complete first floor carpet", StDate = new DateTime(2012, 7, 8), EndDate = new DateTime(2012, 7, 10), BaselineStart = new DateTime(2012, 7, 8), BaselineEnd = new DateTime(2012, 7, 10), Complete = 0d, Cost = 253, BaselineCost = 210, }); - data[0].ChildTask[6].ChildTask[4].ChildTask.Add(new BaselineTableModel() { Id = 56, Name = "Complete second floor carpet", StDate = new DateTime(2012, 7, 10), EndDate = new DateTime(2012, 7, 13), BaselineStart = new DateTime(2012, 7, 10), BaselineEnd = new DateTime(2012, 7, 13), Complete = 0d, Cost = 341, BaselineCost = 300, }); - data[0].ChildTask[6].ChildTask[4].ChildTask.Add(new BaselineTableModel() { Id = 57, Name = "Complete Furnishing Kitchen, bath, hall", StDate = new DateTime(2012, 7, 13), EndDate = new DateTime(2012, 7, 14), BaselineStart = new DateTime(2012, 7, 13), BaselineEnd = new DateTime(2012, 7, 14), Complete = 0, Cost = 4252, BaselineCost = 6033d, }); - - data[0].ChildTask.Add(new BaselineTableModel() { Id = 58, Name = "Final Acceptance", StDate = new DateTime(2012, 7, 14), EndDate = new DateTime(2012, 7, 16), BaselineStart = new DateTime(2012, 7, 14), BaselineEnd = new DateTime(2012, 7, 16), Complete = 0d, Cost = 430, BaselineCost = 433d, }); - data[0].ChildTask[7].ChildTask.Add(new BaselineTableModel() { Id = 59, Name = "Cleaning", StDate = new DateTime(2012, 7, 14), EndDate = new DateTime(2012, 7, 16), BaselineStart = new DateTime(2012, 7, 14), BaselineEnd = new DateTime(2012, 7, 16), Complete = 0d, Cost = 430, BaselineCost = 433d, }); - data[0].ChildTask[7].ChildTask.Add(new BaselineTableModel() { Id = 60, Name = "Final Inspection", StDate = new DateTime(2012, 7, 16), EndDate = new DateTime(2012, 7, 17), BaselineStart = new DateTime(2012, 7, 16), BaselineEnd = new DateTime(2012, 7, 17), Complete = 0d, Cost = 0, BaselineCost = 5, }); - data[0].ChildTask[7].ChildTask.Add(new BaselineTableModel() { Id = 61, Name = "Move In", StDate = new DateTime(2012, 7, 17), EndDate = new DateTime(2012, 7, 17), BaselineStart = new DateTime(2012, 7, 18), BaselineEnd = new DateTime(2012, 7, 18), Complete = 0d, Cost = 0, BaselineCost = 0, }); + data.Add(new BaselineTableModel() { Id = 1, Name = "Residential Construction (2500 sq.ft)", StDate = new DateTime(2024, 3, 1), EndDate = new DateTime(2024, 3, 15), BaselineStart = new DateTime(2024, 3, 1), BaselineEnd = new DateTime(2024, 3, 14), Complete = 0d, Cost = 500, BaselineCost = 833d, }); + + data[0].ChildTask.Add(new BaselineTableModel() { Id = 2, Name = "General Considerations", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), BaselineStart = new DateTime(2024, 7, 3), BaselineEnd = new DateTime(2024, 7, 14), Complete = 0d, Cost = 89, BaselineCost = 833d, }); + + data[0].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 3, Name = "Finalize and Approve Plans", StDate = new DateTime(2024, 3, 1), EndDate = new DateTime(2024, 3, 15), BaselineStart = new DateTime(2024, 3, 2), BaselineEnd = new DateTime(2024, 3, 16), Complete = 0d, Cost = 500, BaselineCost = 833d, }); + data[0].ChildTask[0].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 4, Name = "Review and Finalize Site Plans", StDate = new DateTime(2024, 3, 1), EndDate = new DateTime(2024, 3, 20), BaselineStart = new DateTime(2024, 3, 1), BaselineEnd = new DateTime(2024, 3, 20), Complete = 0d, Cost = 500, BaselineCost = 833d, }); + data[0].ChildTask[0].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 5, Name = "Sign contract and Proceed", StDate = new DateTime(2024, 3, 20), EndDate = new DateTime(2024, 3, 22), BaselineStart = new DateTime(2024, 3, 19), BaselineEnd = new DateTime(2024, 3, 21), Complete = 0d, Cost = 500, BaselineCost = 833d, }); + + data[0].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 6, Name = "Contracts and Agreements", StDate = new DateTime(2024, 3, 22), EndDate = new DateTime(2024, 3, 22), BaselineStart = new DateTime(2024, 3, 20), BaselineEnd = new DateTime(2024, 3, 21), Complete = 0d, Cost = 20d, BaselineCost = 14 }); + data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new BaselineTableModel() { Id = 7, Name = "Lot Sale Agreement", StDate = new DateTime(2024, 3, 22), EndDate = new DateTime(2024, 3, 22), BaselineStart = new DateTime(2024, 3, 20), BaselineEnd = new DateTime(2024, 3, 20), Complete = 0d, Cost = 20d, BaselineCost = 14 })); + data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new BaselineTableModel() { Id = 8, Name = "Construction Agreement", StDate = new DateTime(2024, 3, 22), EndDate = new DateTime(2024, 3, 22), BaselineStart = new DateTime(2024, 3, 21), BaselineEnd = new DateTime(2024, 3, 21), Complete = 0d, Cost = 33d, BaselineCost = 12 })); + data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new BaselineTableModel() { Id = 9, Name = "Contract Specifications", StDate = new DateTime(2024, 3, 22), EndDate = new DateTime(2024, 3, 22), BaselineStart = new DateTime(2024, 3, 20), BaselineEnd = new DateTime(2024, 3, 20), Complete = 0d, Cost = 30d, BaselineCost = 50 })); + data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new BaselineTableModel() { Id = 10, Name = "Contract Site Plan", StDate = new DateTime(2024, 3, 22), EndDate = new DateTime(2024, 3, 22), BaselineStart = new DateTime(2024, 3, 20), BaselineEnd = new DateTime(2024, 3, 20), Complete = 0d, Cost = 360d, BaselineCost = 100 })); + data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new BaselineTableModel() { Id = 11, Name = "Financing", StDate = new DateTime(2024, 3, 22), EndDate = new DateTime(2024, 3, 22), BaselineStart = new DateTime(2024, 3, 20), BaselineEnd = new DateTime(2024, 3, 20), Complete = 0d, Cost = 39d, BaselineCost = 16 })); + + data[0].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 12, Name = "Apply Permits", StDate = new DateTime(2024, 3, 23), EndDate = new DateTime(2024, 3, 24), BaselineStart = new DateTime(2024, 3, 22), BaselineEnd = new DateTime(2024, 3, 23), Complete = 0d, Cost = 53d, BaselineCost = 65 }); + data[0].ChildTask[0].ChildTask[2].ChildTask.Add((new BaselineTableModel() { Id = 13, Name = "Foundation Permit", StDate = new DateTime(2024, 3, 23), EndDate = new DateTime(2024, 3, 24), BaselineStart = new DateTime(2024, 3, 22), BaselineEnd = new DateTime(2024, 3, 23), Complete = 0d, Cost = 53d, BaselineCost = 65 })); + data[0].ChildTask[0].ChildTask[2].ChildTask.Add((new BaselineTableModel() { Id = 14, Name = "Electrical Permit", StDate = new DateTime(2024, 3, 24), EndDate = new DateTime(2024, 3, 25), BaselineStart = new DateTime(2024, 3, 24), BaselineEnd = new DateTime(2024, 3, 25), Complete = 0d, Cost = 23d, BaselineCost = 34 })); + data[0].ChildTask[0].ChildTask[2].ChildTask.Add((new BaselineTableModel() { Id = 15, Name = "Plumbing Permit", StDate = new DateTime(2024, 3, 25), EndDate = new DateTime(2024, 3, 26), BaselineStart = new DateTime(2024, 3, 25), BaselineEnd = new DateTime(2024, 3, 26), Complete = 0d, Cost = 63d, BaselineCost = 53 })); + + data[0].ChildTask.Add(new BaselineTableModel() { Id = 16, Name = "Site Work", StDate = new DateTime(2024, 3, 26), EndDate = new DateTime(2024, 3, 27), BaselineStart = new DateTime(2024, 3, 26), BaselineEnd = new DateTime(2024, 3, 27), Complete = 0d, Cost = 2000d, BaselineCost = 1000 }); + data[0].ChildTask[1].ChildTask.Add(new BaselineTableModel() { Id = 17, Name = "Clear Lot", StDate = new DateTime(2024, 3, 26), EndDate = new DateTime(2024, 3, 27), BaselineStart = new DateTime(2024, 3, 27), BaselineEnd = new DateTime(2024, 3, 28), Complete = 0d, Cost = 2000d, BaselineCost = 1000 }); + data[0].ChildTask[1].ChildTask.Add(new BaselineTableModel() { Id = 18, Name = "Strip Topsoil", StDate = new DateTime(2024, 3, 27), EndDate = new DateTime(2024, 3, 28), BaselineStart = new DateTime(2024, 3, 27), BaselineEnd = new DateTime(2024, 3, 28), Complete = 0d, Cost = 1200d, BaselineCost = 800 }); + data[0].ChildTask[1].ChildTask.Add(new BaselineTableModel() { Id = 19, Name = "Installing Temporary requirements", StDate = new DateTime(2024, 3, 28), EndDate = new DateTime(2024, 3, 29), BaselineStart = new DateTime(2024, 3, 30), BaselineEnd = new DateTime(2024, 4, 2), Complete = 0d, Cost = 354d, BaselineCost = 230 }); + + data[0].ChildTask.Add(new BaselineTableModel() { Id = 20, Name = "Foundation", StDate = new DateTime(2024, 3, 29), EndDate = new DateTime(2024, 4, 2), BaselineStart = new DateTime(2024, 3, 29), BaselineEnd = new DateTime(2024, 4, 2), Complete = 0d, Cost = 899, BaselineCost = 833d, }); + data[0].ChildTask[2].ChildTask.Add(new BaselineTableModel() { Id = 21, Name = "Excavate for foundation", StDate = new DateTime(2024, 3, 29), EndDate = new DateTime(2024, 4, 2), BaselineStart = new DateTime(2024, 3, 29), BaselineEnd = new DateTime(2024, 4, 2), Complete = 0d, Cost = 899, BaselineCost = 833d, }); + data[0].ChildTask[2].ChildTask.Add(new BaselineTableModel() { Id = 22, Name = "Building Basement Walls", StDate = new DateTime(2024, 4, 3), EndDate = new DateTime(2024, 4, 8), BaselineStart = new DateTime(2024, 4, 3), BaselineEnd = new DateTime(2024, 4, 8), Complete = 0d, Cost = 889, BaselineCost = 803d, }); + data[0].ChildTask[2].ChildTask.Add(new BaselineTableModel() { Id = 23, Name = "Foundation inspection", StDate = new DateTime(2024, 4, 8), EndDate = new DateTime(2024, 4, 10), BaselineStart = new DateTime(2024, 4, 7), BaselineEnd = new DateTime(2024, 4, 9), Complete = 0d, Cost = 8, BaselineCost = 8d, }); + data[0].ChildTask[2].ChildTask.Add(new BaselineTableModel() { Id = 24, Name = "Finishing Foundation", StDate = new DateTime(2024, 4, 10), EndDate = new DateTime(2024, 4, 17), BaselineStart = new DateTime(2024, 4, 10), BaselineEnd = new DateTime(2024, 4, 17), Complete = 0d, Cost = 0, BaselineCost = 8d, }); + + data[0].ChildTask.Add(new BaselineTableModel() { Id = 25, Name = "Framing", StDate = new DateTime(2024, 4, 18), EndDate = new DateTime(2024, 4, 24), BaselineStart = new DateTime(2024, 4, 18), BaselineEnd = new DateTime(2024, 4, 24), Complete = 0d, Cost = 890, BaselineCost = 803d, }); + data[0].ChildTask[3].ChildTask.Add(new BaselineTableModel() { Id = 26, Name = "First Floor Framing", StDate = new DateTime(2024, 4, 18), EndDate = new DateTime(2024, 4, 24), BaselineStart = new DateTime(2024, 4, 17), BaselineEnd = new DateTime(2024, 4, 23), Complete = 0d, Cost = 890, BaselineCost = 803d, }); + data[0].ChildTask[3].ChildTask.Add(new BaselineTableModel() { Id = 27, Name = "Second Floor Framing", StDate = new DateTime(2024, 4, 24), EndDate = new DateTime(2024, 5, 3), BaselineStart = new DateTime(2024, 4, 24), BaselineEnd = new DateTime(2024, 5, 3), Complete = 0d, Cost = 789, BaselineCost = 898d, }); + data[0].ChildTask[3].ChildTask.Add(new BaselineTableModel() { Id = 28, Name = "Framing Roof", StDate = new DateTime(2024, 5, 3), EndDate = new DateTime(2024, 5, 7), BaselineStart = new DateTime(2024, 5, 4), BaselineEnd = new DateTime(2024, 5, 8), Complete = 0d, Cost = 780, BaselineCost = 833d, }); + data[0].ChildTask[3].ChildTask.Add(new BaselineTableModel() { Id = 29, Name = "Framing Inspection", StDate = new DateTime(2024, 5, 7), EndDate = new DateTime(2024, 5, 8), BaselineStart = new DateTime(2024, 5, 7), BaselineEnd = new DateTime(2024, 5, 8), Complete = 0d, Cost = 5, BaselineCost = 8d, }); + + data[0].ChildTask.Add(new BaselineTableModel() { Id = 30, Name = "Dry In", StDate = new DateTime(2024, 5, 8), EndDate = new DateTime(2024, 5, 14), BaselineStart = new DateTime(2024, 5, 8), BaselineEnd = new DateTime(2024, 5, 15), Complete = 0d, Cost = 232, BaselineCost = 323d, }); + data[0].ChildTask[4].ChildTask.Add(new BaselineTableModel() { Id = 31, Name = "Installing Sheathing for floors", StDate = new DateTime(2024, 5, 8), EndDate = new DateTime(2024, 5, 14), BaselineStart = new DateTime(2024, 5, 9), BaselineEnd = new DateTime(2024, 5, 15), Complete = 0d, Cost = 232, BaselineCost = 323d, }); + data[0].ChildTask[4].ChildTask.Add(new BaselineTableModel() { Id = 32, Name = "Installing Windows", StDate = new DateTime(2024, 5, 14), EndDate = new DateTime(2024, 5, 25), BaselineStart = new DateTime(2024, 5, 14), BaselineEnd = new DateTime(2024, 5, 25), Complete = 0d, Cost = 325, BaselineCost = 452d, }); + data[0].ChildTask[4].ChildTask.Add(new BaselineTableModel() { Id = 33, Name = "Installing Sheathing for Roof", StDate = new DateTime(2024, 5, 25), EndDate = new DateTime(2024, 5, 30), BaselineStart = new DateTime(2024, 5, 23), BaselineEnd = new DateTime(2024, 5, 30), Complete = 0d, Cost = 82, BaselineCost = 83d, }); + + data[0].ChildTask.Add(new BaselineTableModel() { Id = 34, Name = "Exterior Finishing", StDate = new DateTime(2024, 5, 31), EndDate = new DateTime(2024, 6, 12), BaselineStart = new DateTime(2024, 5, 31), BaselineEnd = new DateTime(2024, 6, 12), Complete = 0d, Cost = 463, BaselineCost = 633d, }); + data[0].ChildTask[5].ChildTask.Add(new BaselineTableModel() { Id = 35, Name = "Exterior Trimming", StDate = new DateTime(2024, 5, 31), EndDate = new DateTime(2024, 6, 12), BaselineStart = new DateTime(2024, 5, 31), BaselineEnd = new DateTime(2024, 6, 12), Complete = 0d, Cost = 463, BaselineCost = 633d, }); + data[0].ChildTask[5].ChildTask.Add(new BaselineTableModel() { Id = 36, Name = "Completing Exterior Bricks", StDate = new DateTime(2024, 6, 12), EndDate = new DateTime(2024, 6, 17), BaselineStart = new DateTime(2024, 6, 12), BaselineEnd = new DateTime(2024, 6, 17), Complete = 0d, Cost = 234, BaselineCost = 333d, }); + + data[0].ChildTask.Add(new BaselineTableModel() { Id = 37, Name = "Interior Finishing", StDate = new DateTime(2024, 6, 17), EndDate = new DateTime(2024, 6, 19), BaselineStart = new DateTime(2024, 6, 17), BaselineEnd = new DateTime(2024, 6, 19), Complete = 0d, Cost = 43, BaselineCost = 33d, }); + + data[0].ChildTask[6].ChildTask.Add(new BaselineTableModel() { Id = 38, Name = "Installing Insulation", StDate = new DateTime(2024, 6, 17), EndDate = new DateTime(2024, 6, 19), BaselineStart = new DateTime(2024, 6, 17), BaselineEnd = new DateTime(2024, 6, 19), Complete = 0d, Cost = 43, BaselineCost = 33d, }); + data[0].ChildTask[6].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 39, Name = "Install Floor Insulation", StDate = new DateTime(2024, 6, 17), EndDate = new DateTime(2024, 6, 19), BaselineStart = new DateTime(2024, 6, 17), BaselineEnd = new DateTime(2024, 6, 19), Complete = 0d, Cost = 43, BaselineCost = 33d, }); + data[0].ChildTask[6].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 40, Name = "Install Wall Insulation", StDate = new DateTime(2024, 6, 19), EndDate = new DateTime(2024, 6, 21), BaselineStart = new DateTime(2024, 6, 19), BaselineEnd = new DateTime(2024, 6, 21), Complete = 0d, Cost = 53, BaselineCost = 83d, }); + data[0].ChildTask[6].ChildTask[0].ChildTask.Add(new BaselineTableModel() { Id = 41, Name = "Install Ceiling Insulation", StDate = new DateTime(2024, 6, 21), EndDate = new DateTime(2024, 6, 22), BaselineStart = new DateTime(2024, 6, 21), BaselineEnd = new DateTime(2024, 6, 22), Complete = 0d, Cost = 89, BaselineCost = 83d, }); + + + data[0].ChildTask[6].ChildTask.Add(new BaselineTableModel() { Id = 42, Name = "Painting and Wallpaper", StDate = new DateTime(2024, 6, 22), EndDate = new DateTime(2024, 6, 23), BaselineStart = new DateTime(2024, 6, 22), BaselineEnd = new DateTime(2024, 6, 23), Complete = 0d, Cost = 453, BaselineCost = 563, }); + data[0].ChildTask[6].ChildTask[1].ChildTask.Add(new BaselineTableModel() { Id = 43, Name = "Painting all Interior", StDate = new DateTime(2024, 6, 22), EndDate = new DateTime(2024, 6, 23), BaselineStart = new DateTime(2024, 6, 22), BaselineEnd = new DateTime(2024, 6, 23), Complete = 0d, Cost = 453, BaselineCost = 563, }); + data[0].ChildTask[6].ChildTask[1].ChildTask.Add(new BaselineTableModel() { Id = 44, Name = "Painting all Exterior", StDate = new DateTime(2024, 6, 23), EndDate = new DateTime(2024, 6, 25), BaselineStart = new DateTime(2024, 6, 23), BaselineEnd = new DateTime(2024, 6, 25), Complete = 0d, Cost = 352, BaselineCost = 342, }); + data[0].ChildTask[6].ChildTask[1].ChildTask.Add(new BaselineTableModel() { Id = 45, Name = "Additional Trimming Work", StDate = new DateTime(2024, 6, 25), EndDate = new DateTime(2024, 6, 27), BaselineStart = new DateTime(2024, 6, 25), BaselineEnd = new DateTime(2024, 6, 27), Complete = 0d, Cost = 32, BaselineCost = 50, }); + + data[0].ChildTask[6].ChildTask.Add(new BaselineTableModel() { Id = 46, Name = "Finishing Plumbing", StDate = new DateTime(2024, 6, 27), EndDate = new DateTime(2024, 6, 29), BaselineStart = new DateTime(2024, 6, 27), BaselineEnd = new DateTime(2024, 6, 29), Complete = 0d, Cost = 424, BaselineCost = 423, }); + data[0].ChildTask[6].ChildTask[2].ChildTask.Add(new BaselineTableModel() { Id = 47, Name = "First floor Plumbing", StDate = new DateTime(2024, 6, 27), EndDate = new DateTime(2024, 6, 29), BaselineStart = new DateTime(2024, 6, 27), BaselineEnd = new DateTime(2024, 6, 29), Complete = 0d, Cost = 424, BaselineCost = 423, }); + data[0].ChildTask[6].ChildTask[2].ChildTask.Add(new BaselineTableModel() { Id = 48, Name = "Second floor plumbing", StDate = new DateTime(2024, 6, 29), EndDate = new DateTime(2024, 7, 1), BaselineStart = new DateTime(2024, 6, 29), BaselineEnd = new DateTime(2024, 7, 1), Complete = 0d, Cost = 234, BaselineCost = 324, }); + data[0].ChildTask[6].ChildTask[2].ChildTask.Add(new BaselineTableModel() { Id = 49, Name = "Inspecting Plumbing", StDate = new DateTime(2024, 7, 1), EndDate = new DateTime(2024, 7, 3), BaselineStart = new DateTime(2024, 7, 1), BaselineEnd = new DateTime(2024, 7, 3), Complete = 0d, Cost = 23, BaselineCost = 33d, }); + + data[0].ChildTask[6].ChildTask.Add(new BaselineTableModel() { Id = 50, Name = "Finishing Electrical", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), BaselineStart = new DateTime(2024, 7, 3), BaselineEnd = new DateTime(2024, 7, 5), Complete = 0d, Cost = 432, BaselineCost = 536, }); + data[0].ChildTask[6].ChildTask[3].ChildTask.Add(new BaselineTableModel() { Id = 51, Name = "Complete first floor connections", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), BaselineStart = new DateTime(2024, 7, 3), BaselineEnd = new DateTime(2024, 7, 5), Complete = 0d, Cost = 432, BaselineCost = 536, }); + data[0].ChildTask[6].ChildTask[3].ChildTask.Add(new BaselineTableModel() { Id = 52, Name = "Complete second floor connections", StDate = new DateTime(2024, 7, 5), EndDate = new DateTime(2024, 7, 7), BaselineStart = new DateTime(2024, 7, 4), BaselineEnd = new DateTime(2024, 7, 6), Complete = 0d, Cost = 563, BaselineCost = 463, }); + data[0].ChildTask[6].ChildTask[3].ChildTask.Add(new BaselineTableModel() { Id = 53, Name = "Complete non-Electrical Wiring", StDate = new DateTime(2024, 7, 7), EndDate = new DateTime(2024, 7, 8), BaselineStart = new DateTime(2024, 7, 7), BaselineEnd = new DateTime(2024, 7, 8), Complete = 0d, Cost = 234, BaselineCost = 563, }); + + data[0].ChildTask[6].ChildTask.Add(new BaselineTableModel() { Id = 54, Name = "Carpet,Tiles and Furnishing", StDate = new DateTime(2024, 7, 8), EndDate = new DateTime(2024, 7, 10), BaselineStart = new DateTime(2024, 7, 9), BaselineEnd = new DateTime(2024, 7, 11), Complete = 0d, Cost = 253, BaselineCost = 210, }); + data[0].ChildTask[6].ChildTask[4].ChildTask.Add(new BaselineTableModel() { Id = 55, Name = "Complete first floor carpet", StDate = new DateTime(2024, 7, 8), EndDate = new DateTime(2024, 7, 10), BaselineStart = new DateTime(2024, 7, 8), BaselineEnd = new DateTime(2024, 7, 10), Complete = 0d, Cost = 253, BaselineCost = 210, }); + data[0].ChildTask[6].ChildTask[4].ChildTask.Add(new BaselineTableModel() { Id = 56, Name = "Complete second floor carpet", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 13), BaselineStart = new DateTime(2024, 7, 10), BaselineEnd = new DateTime(2024, 7, 13), Complete = 0d, Cost = 341, BaselineCost = 300, }); + data[0].ChildTask[6].ChildTask[4].ChildTask.Add(new BaselineTableModel() { Id = 57, Name = "Complete Furnishing Kitchen, bath, hall", StDate = new DateTime(2024, 7, 13), EndDate = new DateTime(2024, 7, 14), BaselineStart = new DateTime(2024, 7, 13), BaselineEnd = new DateTime(2024, 7, 14), Complete = 0, Cost = 4252, BaselineCost = 6033d, }); + + data[0].ChildTask.Add(new BaselineTableModel() { Id = 58, Name = "Final Acceptance", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 16), BaselineStart = new DateTime(2024, 7, 14), BaselineEnd = new DateTime(2024, 7, 16), Complete = 0d, Cost = 430, BaselineCost = 433d, }); + data[0].ChildTask[7].ChildTask.Add(new BaselineTableModel() { Id = 59, Name = "Cleaning", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 16), BaselineStart = new DateTime(2024, 7, 14), BaselineEnd = new DateTime(2024, 7, 16), Complete = 0d, Cost = 430, BaselineCost = 433d, }); + data[0].ChildTask[7].ChildTask.Add(new BaselineTableModel() { Id = 60, Name = "Final Inspection", StDate = new DateTime(2024, 7, 16), EndDate = new DateTime(2024, 7, 17), BaselineStart = new DateTime(2024, 7, 16), BaselineEnd = new DateTime(2024, 7, 17), Complete = 0d, Cost = 0, BaselineCost = 5, }); + data[0].ChildTask[7].ChildTask.Add(new BaselineTableModel() { Id = 61, Name = "Move In", StDate = new DateTime(2024, 7, 17), EndDate = new DateTime(2024, 7, 17), BaselineStart = new DateTime(2024, 7, 18), BaselineEnd = new DateTime(2024, 7, 18), Complete = 0d, Cost = 0, BaselineCost = 0, }); //Adding Resources diff --git a/gantt/ViewModel/BindingTaskDetailsViewModel.cs b/gantt/ViewModel/BindingTaskDetailsViewModel.cs index eee13eedb..7839bacb9 100644 --- a/gantt/ViewModel/BindingTaskDetailsViewModel.cs +++ b/gantt/ViewModel/BindingTaskDetailsViewModel.cs @@ -56,31 +56,31 @@ public ObservableCollection TaskDetails ObservableCollection GetTaskDetails() { ObservableCollection task = new ObservableCollection(); - task.Add(new TaskDetails { TaskId = 1, TaskName = "Scope", StartDate = new DateTime(2011, 7, 3), FinishDate = new DateTime(2011, 7, 14), Progress = 40d }); - task[0].Child.Add(new TaskDetails { TaskId = 2, TaskName = "Determine project office scope", StartDate = new DateTime(2011, 7, 3), FinishDate = new DateTime(2011, 7, 5), Progress = 20d }); - task[0].Child.Add(new TaskDetails { TaskId = 3, TaskName = "Justify Project Offfice via business model", StartDate = new DateTime(2011, 7, 3), FinishDate = new DateTime(2011, 7, 7), Progress = 20d }); - task[0].Child.Add(new TaskDetails { TaskId = 4, TaskName = "Secure executive sponsorship", StartDate = new DateTime(2011, 7, 3), FinishDate = new DateTime(2011, 7, 14), Progress = 20d }); - task[0].Child.Add(new TaskDetails { TaskId = 5, TaskName = "Secure complete", StartDate = new DateTime(2011, 7, 14), FinishDate = new DateTime(2011, 7, 14), Progress = 20d }); + task.Add(new TaskDetails { TaskId = 1, TaskName = "Scope", StartDate = new DateTime(2024, 7, 3), FinishDate = new DateTime(2024, 7, 14), Progress = 40d }); + task[0].Child.Add(new TaskDetails { TaskId = 2, TaskName = "Determine project office scope", StartDate = new DateTime(2024, 7, 3), FinishDate = new DateTime(2024, 7, 5), Progress = 20d }); + task[0].Child.Add(new TaskDetails { TaskId = 3, TaskName = "Justify Project Offfice via business model", StartDate = new DateTime(2024, 7, 3), FinishDate = new DateTime(2024, 7, 7), Progress = 20d }); + task[0].Child.Add(new TaskDetails { TaskId = 4, TaskName = "Secure executive sponsorship", StartDate = new DateTime(2024, 7, 3), FinishDate = new DateTime(2024, 7, 14), Progress = 20d }); + task[0].Child.Add(new TaskDetails { TaskId = 5, TaskName = "Secure complete", StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 7, 14), Progress = 20d }); - task.Add(new TaskDetails { TaskId = 6, TaskName = "Risk Assessment", StartDate = new DateTime(2011, 7, 8), FinishDate = new DateTime(2011, 7, 24), Progress = 30d }); + task.Add(new TaskDetails { TaskId = 6, TaskName = "Risk Assessment", StartDate = new DateTime(2024, 7, 8), FinishDate = new DateTime(2024, 7, 24), Progress = 30d }); - task[1].Child.Add(new TaskDetails { TaskId = 7, TaskName = "Perform risk assessment", StartDate = new DateTime(2011, 7, 8), FinishDate = new DateTime(2011, 7, 21), Progress = 20d }); - task[1].Child.Add(new TaskDetails { TaskId = 8, TaskName = "Evaluate risk assessment", StartDate = new DateTime(2011, 7, 8), FinishDate = new DateTime(2011, 7, 23), Progress = 30d }); - task[1].Child.Add(new TaskDetails { TaskId = 9, TaskName = "Prepare contingency plans", StartDate = new DateTime(2011, 7, 12), FinishDate = new DateTime(2011, 7, 24), Progress = 30d }); - task[1].Child.Add(new TaskDetails { TaskId = 10, TaskName = "Risk Assessment complete", StartDate = new DateTime(2011, 7, 15), FinishDate = new DateTime(2011, 7, 24), Progress = 30d }); + task[1].Child.Add(new TaskDetails { TaskId = 7, TaskName = "Perform risk assessment", StartDate = new DateTime(2024, 7, 8), FinishDate = new DateTime(2024, 7, 21), Progress = 20d }); + task[1].Child.Add(new TaskDetails { TaskId = 8, TaskName = "Evaluate risk assessment", StartDate = new DateTime(2024, 7, 8), FinishDate = new DateTime(2024, 7, 23), Progress = 30d }); + task[1].Child.Add(new TaskDetails { TaskId = 9, TaskName = "Prepare contingency plans", StartDate = new DateTime(2024, 7, 12), FinishDate = new DateTime(2024, 7, 24), Progress = 30d }); + task[1].Child.Add(new TaskDetails { TaskId = 10, TaskName = "Risk Assessment complete", StartDate = new DateTime(2024, 7, 15), FinishDate = new DateTime(2024, 7, 24), Progress = 30d }); - task.Add(new TaskDetails { TaskId = 11, TaskName = "Monitoring", StartDate = new DateTime(2011, 7, 13), FinishDate = new DateTime(2011, 8, 6), Progress = 40d }); - task[2].Child.Add(new TaskDetails { TaskId = 12, TaskName = "Prepare Meeting agenda", StartDate = new DateTime(2011, 7, 13), FinishDate = new DateTime(2011, 7, 26), Progress = 30d }); - task[2].Child.Add(new TaskDetails { TaskId = 13, TaskName = "Conduct review meeting", StartDate = new DateTime(2011, 7, 13), FinishDate = new DateTime(2011, 7, 30), Progress = 30d }); - task[2].Child.Add(new TaskDetails { TaskId = 14, TaskName = "Migrate critical issues", StartDate = new DateTime(2011, 7, 18), FinishDate = new DateTime(2011, 8, 2), Progress = 30d }); - task[2].Child.Add(new TaskDetails { TaskId = 15, TaskName = "Estabilish change mgmt Control", StartDate = new DateTime(2011, 8, 3), FinishDate = new DateTime(2011, 8, 6), Progress = 30d }); - task[2].Child.Add(new TaskDetails { TaskId = 16, TaskName = "Monitoring Complete", StartDate = new DateTime(2011, 8, 6), FinishDate = new DateTime(2011, 8, 6), Progress = 30d }); + task.Add(new TaskDetails { TaskId = 11, TaskName = "Monitoring", StartDate = new DateTime(2024, 7, 13), FinishDate = new DateTime(2024, 8, 6), Progress = 40d }); + task[2].Child.Add(new TaskDetails { TaskId = 12, TaskName = "Prepare Meeting agenda", StartDate = new DateTime(2024, 7, 13), FinishDate = new DateTime(2024, 7, 26), Progress = 30d }); + task[2].Child.Add(new TaskDetails { TaskId = 13, TaskName = "Conduct review meeting", StartDate = new DateTime(2024, 7, 13), FinishDate = new DateTime(2024, 7, 30), Progress = 30d }); + task[2].Child.Add(new TaskDetails { TaskId = 14, TaskName = "Migrate critical issues", StartDate = new DateTime(2024, 7, 18), FinishDate = new DateTime(2024, 8, 2), Progress = 30d }); + task[2].Child.Add(new TaskDetails { TaskId = 15, TaskName = "Estabilish change mgmt Control", StartDate = new DateTime(2024, 8, 3), FinishDate = new DateTime(2024, 8, 6), Progress = 30d }); + task[2].Child.Add(new TaskDetails { TaskId = 16, TaskName = "Monitoring Complete", StartDate = new DateTime(2024, 8, 6), FinishDate = new DateTime(2024, 8, 6), Progress = 30d }); - task.Add(new TaskDetails { TaskId = 17, TaskName = "Post Implementation", StartDate = new DateTime(2011, 8, 7), FinishDate = new DateTime(2011, 8, 19), Progress = 40d }); - task[3].Child.Add(new TaskDetails { TaskId = 18, TaskName = "Obtain User feedback", StartDate = new DateTime(2011, 8, 7), FinishDate = new DateTime(2011, 8, 10), Progress = 30d }); - task[3].Child.Add(new TaskDetails { TaskId = 19, TaskName = "Evaluate lessons learned", StartDate = new DateTime(2011, 8, 7), FinishDate = new DateTime(2011, 8, 17), Progress = 30d }); - task[3].Child.Add(new TaskDetails { TaskId = 20, TaskName = "Modify items as necessary", StartDate = new DateTime(2011, 8, 7), FinishDate = new DateTime(2011, 8, 19), Progress = 30d }); - task[3].Child.Add(new TaskDetails { TaskId = 21, TaskName = "Post Implementation complete", StartDate = new DateTime(2011, 8, 19), FinishDate = new DateTime(2011, 8, 19), Progress = 30d }); + task.Add(new TaskDetails { TaskId = 17, TaskName = "Post Implementation", StartDate = new DateTime(2024, 8, 7), FinishDate = new DateTime(2024, 8, 19), Progress = 40d }); + task[3].Child.Add(new TaskDetails { TaskId = 18, TaskName = "Obtain User feedback", StartDate = new DateTime(2024, 8, 7), FinishDate = new DateTime(2024, 8, 10), Progress = 30d }); + task[3].Child.Add(new TaskDetails { TaskId = 19, TaskName = "Evaluate lessons learned", StartDate = new DateTime(2024, 8, 7), FinishDate = new DateTime(2024, 8, 17), Progress = 30d }); + task[3].Child.Add(new TaskDetails { TaskId = 20, TaskName = "Modify items as necessary", StartDate = new DateTime(2024, 8, 7), FinishDate = new DateTime(2024, 8, 19), Progress = 30d }); + task[3].Child.Add(new TaskDetails { TaskId = 21, TaskName = "Post Implementation complete", StartDate = new DateTime(2024, 8, 19), FinishDate = new DateTime(2024, 8, 19), Progress = 30d }); task[0].Resources = new ObservableCollection() { new Resource { ID = 1, Name = "John" }, new Resource { ID = 2, Name = "Neil" } }; task[0].Child[3].Resources = new ObservableCollection() { new Resource() { ID = 3, Name = "Peter" } }; diff --git a/gantt/ViewModel/BuiltinZoomingViewModel.cs b/gantt/ViewModel/BuiltinZoomingViewModel.cs index fc236cabf..38399bfad 100644 --- a/gantt/ViewModel/BuiltinZoomingViewModel.cs +++ b/gantt/ViewModel/BuiltinZoomingViewModel.cs @@ -121,16 +121,16 @@ public ObservableCollection GetData() { ObservableCollection Activities = new ObservableCollection(); - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 2), FinishDate = new DateTime(2010, 6, 18), TaskName = "Analysing Market Scope of the Product", TaskId = 1 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 2), FinishDate = new DateTime(2024, 6, 18), TaskName = "Analysing Market Scope of the Product", TaskId = 1 }); ObservableCollection MarketAnalysis = new ObservableCollection(); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 2), FinishDate = new DateTime(2010, 6, 6), TaskName = "Current Market Review", TaskId = 2 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 6), FinishDate = new DateTime(2010, 6, 9), TaskName = "Establish milestone for future development", TaskId = 3 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 9), FinishDate = new DateTime(2010, 6, 10), TaskName = "Establish goals", TaskId = 4 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 10), FinishDate = new DateTime(2010, 6, 13), TaskName = "Sales, marketing and pricing plan", TaskId = 5 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 11), FinishDate = new DateTime(2010, 6, 14), TaskName = "Define product goals and milestones", TaskId = 6 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 12), FinishDate = new DateTime(2010, 6, 17), TaskName = "Organization status review", TaskId = 7 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 18), FinishDate = new DateTime(2010, 6, 18), TaskName = "Market Scope of Product clarified", TaskId = 8 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 2), FinishDate = new DateTime(2024, 6, 6), TaskName = "Current Market Review", TaskId = 2 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 6), FinishDate = new DateTime(2024, 6, 9), TaskName = "Establish milestone for future development", TaskId = 3 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 9), FinishDate = new DateTime(2024, 6, 10), TaskName = "Establish goals", TaskId = 4 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 10), FinishDate = new DateTime(2024, 6, 13), TaskName = "Sales, marketing and pricing plan", TaskId = 5 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 11), FinishDate = new DateTime(2024, 6, 14), TaskName = "Define product goals and milestones", TaskId = 6 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 12), FinishDate = new DateTime(2024, 6, 17), TaskName = "Organization status review", TaskId = 7 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 18), FinishDate = new DateTime(2024, 6, 18), TaskName = "Market Scope of Product clarified", TaskId = 8 }); ObservableCollection mrkPredecessor = new ObservableCollection(); mrkPredecessor.Add(new Predecessor { GanttTaskIndex = 2, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); mrkPredecessor.Add(new Predecessor { GanttTaskIndex = 3, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -149,11 +149,11 @@ public ObservableCollection GetData() Activities[0].Child = MarketAnalysis; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 18), FinishDate = new DateTime(2010, 7, 14), TaskName = "Infrastructure for Product Planning", TaskId = 9 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 18), FinishDate = new DateTime(2024, 7, 14), TaskName = "Infrastructure for Product Planning", TaskId = 9 }); ObservableCollection InfrastructureReq = new ObservableCollection(); - InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 18), FinishDate = new DateTime(2010, 6, 24), TaskName = "Define procedure for qualifying ideas", TaskId = 10 }); - InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 24), FinishDate = new DateTime(2010, 7, 7), TaskName = "Define process for idea sharing", TaskId = 11 }); - InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 7), FinishDate = new DateTime(2010, 7, 14), TaskName = "Infrastructure for Product planning Complete", TaskId = 12 }); + InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 18), FinishDate = new DateTime(2024, 6, 24), TaskName = "Define procedure for qualifying ideas", TaskId = 10 }); + InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 24), FinishDate = new DateTime(2024, 7, 7), TaskName = "Define process for idea sharing", TaskId = 11 }); + InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 7), FinishDate = new DateTime(2024, 7, 14), TaskName = "Infrastructure for Product planning Complete", TaskId = 12 }); InfrastructureReq[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 10, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); InfrastructureReq[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 11, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -163,14 +163,14 @@ public ObservableCollection GetData() Activities[1].Child = InfrastructureReq; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 14), FinishDate = new DateTime(2010, 8, 29), TaskName = "Product Definition Phase", TaskId = 13 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 8, 29), TaskName = "Product Definition Phase", TaskId = 13 }); ObservableCollection Product = new ObservableCollection(); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 14), FinishDate = new DateTime(2010, 7, 25), TaskName = "Identify product", TaskId = 14 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 28), FinishDate = new DateTime(2010, 8, 1), TaskName = "Identify need for the product", TaskId = 15 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 4), FinishDate = new DateTime(2010, 8, 8), TaskName = "Identify current trend for targets", TaskId = 16 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 4), FinishDate = new DateTime(2010, 8, 29), TaskName = "Define product use and features", TaskId = 17 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 4), FinishDate = new DateTime(2010, 8, 8), TaskName = "Identify competitor product", TaskId = 18 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 29), FinishDate = new DateTime(2010, 8, 29), TaskName = "Product Definition Complete", TaskId = 19 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 7, 25), TaskName = "Identify product", TaskId = 14 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 28), FinishDate = new DateTime(2024, 8, 1), TaskName = "Identify need for the product", TaskId = 15 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 4), FinishDate = new DateTime(2024, 8, 8), TaskName = "Identify current trend for targets", TaskId = 16 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 4), FinishDate = new DateTime(2024, 8, 29), TaskName = "Define product use and features", TaskId = 17 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 4), FinishDate = new DateTime(2024, 8, 8), TaskName = "Identify competitor product", TaskId = 18 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 29), FinishDate = new DateTime(2024, 8, 29), TaskName = "Product Definition Complete", TaskId = 19 }); Product[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 14, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Product[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 15, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -187,13 +187,13 @@ public ObservableCollection GetData() Activities[2].Child = Product; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 10), TaskName = "Analysing Customer Requirement", TaskId = 20 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 10), TaskName = "Analysing Customer Requirement", TaskId = 20 }); ObservableCollection Customer = new ObservableCollection(); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 4), TaskName = "Identify Consumer of Products", TaskId = 21 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 3), FinishDate = new DateTime(2010, 9, 6), TaskName = "Identify Customer Requirement", TaskId = 22 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 5), FinishDate = new DateTime(2010, 9, 8), TaskName = "Analysing Customer Requiremet with current plan", TaskId = 23 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 7), FinishDate = new DateTime(2010, 9, 10), TaskName = "Design based on Customer Requirement", TaskId = 24 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 10), FinishDate = new DateTime(2010, 9, 10), TaskName = "Customer Requirement Analysis Complete", TaskId = 25 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 4), TaskName = "Identify Consumer of Products", TaskId = 21 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 3), FinishDate = new DateTime(2024, 9, 6), TaskName = "Identify Customer Requirement", TaskId = 22 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 5), FinishDate = new DateTime(2024, 9, 8), TaskName = "Analysing Customer Requiremet with current plan", TaskId = 23 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 7), FinishDate = new DateTime(2024, 9, 10), TaskName = "Design based on Customer Requirement", TaskId = 24 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 10), FinishDate = new DateTime(2024, 9, 10), TaskName = "Customer Requirement Analysis Complete", TaskId = 25 }); Customer[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 21, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Customer[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 22, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Customer[3].Predecessor.Add(new Predecessor { GanttTaskIndex = 23, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -206,12 +206,12 @@ public ObservableCollection GetData() Activities[3].Child = Customer; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 10, 10), TaskName = "Competitor Analysis", TaskId = 26 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 10, 10), TaskName = "Competitor Analysis", TaskId = 26 }); ObservableCollection Competitor = new ObservableCollection(); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 13), TaskName = "Define competitor with similar Product", TaskId = 27 }); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 13), FinishDate = new DateTime(2010, 9, 20), TaskName = "Define competitive advantage", TaskId = 28 }); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 22), FinishDate = new DateTime(2010, 9, 27), TaskName = "Identify competitive features", TaskId = 29 }); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 29), FinishDate = new DateTime(2010, 10, 10), TaskName = "Define how to build competitive features", TaskId = 30 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 13), TaskName = "Define competitor with similar Product", TaskId = 27 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 13), FinishDate = new DateTime(2024, 9, 20), TaskName = "Define competitive advantage", TaskId = 28 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 22), FinishDate = new DateTime(2024, 9, 27), TaskName = "Identify competitive features", TaskId = 29 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 29), FinishDate = new DateTime(2024, 10, 10), TaskName = "Define how to build competitive features", TaskId = 30 }); Competitor[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 27, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Competitor[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 28, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Competitor[3].Predecessor.Add(new Predecessor { GanttTaskIndex = 29, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -221,13 +221,13 @@ public ObservableCollection GetData() Competitor[2].Resources.Add(this.ResourceCollection[1]); Activities[4].Child = Competitor; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 9), FinishDate = new DateTime(2010, 9, 20), TaskName = "Defining Sucess Measure", TaskId = 31 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 9), FinishDate = new DateTime(2024, 9, 20), TaskName = "Defining Sucess Measure", TaskId = 31 }); ObservableCollection Measure = new ObservableCollection(); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 6), TaskName = "Identify Risks", TaskId = 32 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 6), TaskName = "Define Key success measures", TaskId = 33 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 7), FinishDate = new DateTime(2010, 9, 13), TaskName = "Define strategy to address risks", TaskId = 34 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 13), FinishDate = new DateTime(2010, 9, 20), TaskName = "Define strategy to meet market position", TaskId = 35 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 20), FinishDate = new DateTime(2010, 9, 20), TaskName = "Success Measure Defined", TaskId = 36 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 6), TaskName = "Identify Risks", TaskId = 32 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 6), TaskName = "Define Key success measures", TaskId = 33 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 7), FinishDate = new DateTime(2024, 9, 13), TaskName = "Define strategy to address risks", TaskId = 34 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 13), FinishDate = new DateTime(2024, 9, 20), TaskName = "Define strategy to meet market position", TaskId = 35 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 20), FinishDate = new DateTime(2024, 9, 20), TaskName = "Success Measure Defined", TaskId = 36 }); Measure[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 32, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Measure[4].Predecessor.Add(new Predecessor { GanttTaskIndex = 33, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -242,13 +242,13 @@ public ObservableCollection GetData() Activities[5].Child = Measure; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 23), FinishDate = new DateTime(2010, 10, 17), TaskName = "Defining Team to Develop", TaskId = 37 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 23), FinishDate = new DateTime(2024, 10, 17), TaskName = "Defining Team to Develop", TaskId = 37 }); ObservableCollection Team = new ObservableCollection(); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 23), FinishDate = new DateTime(2010, 9, 27), TaskName = "Define successful team components for success", TaskId = 38 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 30), FinishDate = new DateTime(2010, 10, 3), TaskName = "Identify Key qualities needed to develop, produce and grow", TaskId = 39 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 6), FinishDate = new DateTime(2010, 10, 10), TaskName = "Define current team members", TaskId = 40 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 13), FinishDate = new DateTime(2010, 10, 17), TaskName = "Identify and address gaps", TaskId = 41 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 17), FinishDate = new DateTime(2010, 10, 17), TaskName = "Team Defined", TaskId = 42 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 23), FinishDate = new DateTime(2024, 9, 27), TaskName = "Define successful team components for success", TaskId = 38 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 30), FinishDate = new DateTime(2024, 10, 3), TaskName = "Identify Key qualities needed to develop, produce and grow", TaskId = 39 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 6), FinishDate = new DateTime(2024, 10, 10), TaskName = "Define current team members", TaskId = 40 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 13), FinishDate = new DateTime(2024, 10, 17), TaskName = "Identify and address gaps", TaskId = 41 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 17), FinishDate = new DateTime(2024, 10, 17), TaskName = "Team Defined", TaskId = 42 }); Team[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 38, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Team[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 39, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -257,14 +257,14 @@ public ObservableCollection GetData() Activities[6].Child = Team; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 24), TaskName = "Budgeting in the Product", TaskId = 43 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 24), TaskName = "Budgeting in the Product", TaskId = 43 }); ObservableCollection Budget = new ObservableCollection(); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 3), TaskName = "Define financial metrics of product", TaskId = 44 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 3), FinishDate = new DateTime(2010, 9, 13), TaskName = "Estimate cost need to develop", TaskId = 45 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 13), FinishDate = new DateTime(2010, 9, 15), TaskName = "Estimate time to develop", TaskId = 46 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 15), FinishDate = new DateTime(2010, 9, 20), TaskName = "Analyse resource cost", TaskId = 47 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 20), FinishDate = new DateTime(2010, 9, 24), TaskName = "Define financial plan of Product", TaskId = 48 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 24), FinishDate = new DateTime(2010, 9, 24), TaskName = "Product Budget defined", TaskId = 49 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 3), TaskName = "Define financial metrics of product", TaskId = 44 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 3), FinishDate = new DateTime(2024, 9, 13), TaskName = "Estimate cost need to develop", TaskId = 45 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 13), FinishDate = new DateTime(2024, 9, 15), TaskName = "Estimate time to develop", TaskId = 46 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 15), FinishDate = new DateTime(2024, 9, 20), TaskName = "Analyse resource cost", TaskId = 47 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 20), FinishDate = new DateTime(2024, 9, 24), TaskName = "Define financial plan of Product", TaskId = 48 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 24), FinishDate = new DateTime(2024, 9, 24), TaskName = "Product Budget defined", TaskId = 49 }); Budget[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 44, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Budget[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 45, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -280,11 +280,11 @@ public ObservableCollection GetData() Activities[7].Child = Budget; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 20), FinishDate = new DateTime(2010, 11, 10), TaskName = "Product Development", TaskId = 50 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 20), FinishDate = new DateTime(2024, 11, 10), TaskName = "Product Development", TaskId = 50 }); ObservableCollection Development = new ObservableCollection(); - Development.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 20), FinishDate = new DateTime(2010, 10, 30), TaskName = "Implementation Phase 1", TaskId = 51 }); - Development.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 30), FinishDate = new DateTime(2010, 11, 10), TaskName = "Implementation Phase 2", TaskId = 52 }); - Development.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 10), FinishDate = new DateTime(2010, 11, 10), TaskName = "Product Developed", TaskId = 53 }); + Development.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 20), FinishDate = new DateTime(2024, 10, 30), TaskName = "Implementation Phase 1", TaskId = 51 }); + Development.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 30), FinishDate = new DateTime(2024, 11, 10), TaskName = "Implementation Phase 2", TaskId = 52 }); + Development.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 10), FinishDate = new DateTime(2024, 11, 10), TaskName = "Product Developed", TaskId = 53 }); Development[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 51, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Development[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 52, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -294,17 +294,17 @@ public ObservableCollection GetData() Development[2].Resources.Add(this.ResourceCollection[5]); Activities[8].Child = Development; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 8), FinishDate = new DateTime(2010, 11, 13), TaskName = "Product Review", TaskId = 54 }); - Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 8), FinishDate = new DateTime(2010, 11, 10), TaskName = "Product Techincal Review", TaskId = 55 }); - Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 9), FinishDate = new DateTime(2010, 11, 13), TaskName = "Product Cost Review", TaskId = 56 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 8), FinishDate = new DateTime(2024, 11, 13), TaskName = "Product Review", TaskId = 54 }); + Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 8), FinishDate = new DateTime(2024, 11, 10), TaskName = "Product Techincal Review", TaskId = 55 }); + Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 9), FinishDate = new DateTime(2024, 11, 13), TaskName = "Product Cost Review", TaskId = 56 }); - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 15), FinishDate = new DateTime(2010, 11, 30), TaskName = "Beta Testing", TaskId = 57 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 15), FinishDate = new DateTime(2024, 11, 30), TaskName = "Beta Testing", TaskId = 57 }); ObservableCollection Testing = new ObservableCollection(); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 15), FinishDate = new DateTime(2010, 11, 17), TaskName = "Disseminate completed product", TaskId = 58 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 18), FinishDate = new DateTime(2010, 11, 20), TaskName = "Obtain feedback", TaskId = 59 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 20), FinishDate = new DateTime(2010, 11, 25), TaskName = "Modification", TaskId = 60 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 24), FinishDate = new DateTime(2010, 11, 30), TaskName = "Test", TaskId = 61 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 30), FinishDate = new DateTime(2010, 11, 30), TaskName = "Testing Completed", TaskId = 62 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 15), FinishDate = new DateTime(2024, 11, 17), TaskName = "Disseminate completed product", TaskId = 58 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 18), FinishDate = new DateTime(2024, 11, 20), TaskName = "Obtain feedback", TaskId = 59 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 20), FinishDate = new DateTime(2024, 11, 25), TaskName = "Modification", TaskId = 60 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 24), FinishDate = new DateTime(2024, 11, 30), TaskName = "Test", TaskId = 61 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 30), FinishDate = new DateTime(2024, 11, 30), TaskName = "Testing Completed", TaskId = 62 })); Testing[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 58, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Testing[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 59, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -318,14 +318,14 @@ public ObservableCollection GetData() Testing[4].Resources.Add(this.ResourceCollection[6]); Activities[10].Child = Testing; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 25), FinishDate = new DateTime(2010, 12, 06), TaskName = "Post Product Review", TaskId = 63 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 25), FinishDate = new DateTime(2024, 12, 06), TaskName = "Post Product Review", TaskId = 63 }); ObservableCollection PostReview = new ObservableCollection(); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 25), FinishDate = new DateTime(2010, 11, 27), TaskName = "Finalize cost analysis", TaskId = 64 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 27), FinishDate = new DateTime(2010, 11, 28), TaskName = "Analyze performance", TaskId = 65 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 29), FinishDate = new DateTime(2010, 12, 2), TaskName = "Archive files", TaskId = 66 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 12, 2), FinishDate = new DateTime(2010, 12, 4), TaskName = "Document lessons learned", TaskId = 67 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 12, 4), FinishDate = new DateTime(2010, 12, 6), TaskName = "Distribute to team members", TaskId = 68 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 12, 6), FinishDate = new DateTime(2010, 12, 6), TaskName = "Post-project review complete", TaskId = 69 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 25), FinishDate = new DateTime(2024, 11, 27), TaskName = "Finalize cost analysis", TaskId = 64 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 27), FinishDate = new DateTime(2024, 11, 28), TaskName = "Analyze performance", TaskId = 65 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 29), FinishDate = new DateTime(2024, 12, 2), TaskName = "Archive files", TaskId = 66 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 12, 2), FinishDate = new DateTime(2024, 12, 4), TaskName = "Document lessons learned", TaskId = 67 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 12, 4), FinishDate = new DateTime(2024, 12, 6), TaskName = "Distribute to team members", TaskId = 68 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 12, 6), FinishDate = new DateTime(2024, 12, 6), TaskName = "Post-project review complete", TaskId = 69 })); PostReview[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 64, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); PostReview[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 65, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -341,7 +341,7 @@ public ObservableCollection GetData() Activities[11].Child = PostReview; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 12, 10), FinishDate = new DateTime(2010, 12, 10), TaskName = "Product Released Successfully", TaskId = 70 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 12, 10), FinishDate = new DateTime(2024, 12, 10), TaskName = "Product Released Successfully", TaskId = 70 }); return Activities; diff --git a/gantt/ViewModel/CalendarCustomizationViewModel.cs b/gantt/ViewModel/CalendarCustomizationViewModel.cs index f4c744178..c472cc47f 100644 --- a/gantt/ViewModel/CalendarCustomizationViewModel.cs +++ b/gantt/ViewModel/CalendarCustomizationViewModel.cs @@ -117,10 +117,10 @@ public CalendarCustomizationViewModel() private GanttHolidayCollection GetHolidayCollection() { GanttHolidayCollection collection = new GanttHolidayCollection(); - collection.Add(new GanttHoliday { Day = new DateTime(2010, 6, 10), Background = Brushes.CadetBlue }); - collection.Add(new GanttHoliday { Day = new DateTime(2010, 7, 8), Background = Brushes.CadetBlue }); - collection.Add(new GanttHoliday { Day = new DateTime(2010, 8, 3), Background = Brushes.CadetBlue }); - collection.Add(new GanttHoliday { Day = new DateTime(2010, 9, 20), Background = Brushes.CadetBlue }); + collection.Add(new GanttHoliday { Day = new DateTime(2024, 6, 10), Background = Brushes.CadetBlue }); + collection.Add(new GanttHoliday { Day = new DateTime(2024, 7, 8), Background = Brushes.CadetBlue }); + collection.Add(new GanttHoliday { Day = new DateTime(2024, 8, 3), Background = Brushes.CadetBlue }); + collection.Add(new GanttHoliday { Day = new DateTime(2024, 9, 20), Background = Brushes.CadetBlue }); return collection; } @@ -154,16 +154,16 @@ public ObservableCollection GetData() { ObservableCollection Activities = new ObservableCollection(); - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 2), FinishDate = new DateTime(2010, 6, 18), TaskName = "Analysing Market Scope of the Product", TaskId = 1 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 2), FinishDate = new DateTime(2024, 6, 18), TaskName = "Analysing Market Scope of the Product", TaskId = 1 }); ObservableCollection MarketAnalysis = new ObservableCollection(); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 2), FinishDate = new DateTime(2010, 6, 6), TaskName = "Current Market Review", TaskId = 2 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 6), FinishDate = new DateTime(2010, 6, 9), TaskName = "Establish milestone for future development", TaskId = 3 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 9), FinishDate = new DateTime(2010, 6, 10), TaskName = "Establish goals", TaskId = 4 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 10), FinishDate = new DateTime(2010, 6, 13), TaskName = "Sales, marketing and pricing plan", TaskId = 5 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 11), FinishDate = new DateTime(2010, 6, 14), TaskName = "Define product goals and milestones", TaskId = 6 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 12), FinishDate = new DateTime(2010, 6, 17), TaskName = "Organization status review", TaskId = 7 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 18), FinishDate = new DateTime(2010, 6, 18), TaskName = "Market Scope of Product clarified", TaskId = 8 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 2), FinishDate = new DateTime(2024, 6, 6), TaskName = "Current Market Review", TaskId = 2 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 6), FinishDate = new DateTime(2024, 6, 9), TaskName = "Establish milestone for future development", TaskId = 3 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 9), FinishDate = new DateTime(2024, 6, 10), TaskName = "Establish goals", TaskId = 4 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 10), FinishDate = new DateTime(2024, 6, 13), TaskName = "Sales, marketing and pricing plan", TaskId = 5 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 11), FinishDate = new DateTime(2024, 6, 14), TaskName = "Define product goals and milestones", TaskId = 6 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 12), FinishDate = new DateTime(2024, 6, 17), TaskName = "Organization status review", TaskId = 7 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 18), FinishDate = new DateTime(2024, 6, 18), TaskName = "Market Scope of Product clarified", TaskId = 8 }); ObservableCollection mrkPredecessor = new ObservableCollection(); mrkPredecessor.Add(new Predecessor { GanttTaskIndex = 2, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); mrkPredecessor.Add(new Predecessor { GanttTaskIndex = 3, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -176,24 +176,24 @@ public ObservableCollection GetData() Activities[0].Child = MarketAnalysis; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 18), FinishDate = new DateTime(2010, 7, 14), TaskName = "Infrastructure for Product Planning", TaskId = 9 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 18), FinishDate = new DateTime(2024, 7, 14), TaskName = "Infrastructure for Product Planning", TaskId = 9 }); ObservableCollection InfrastructureReq = new ObservableCollection(); - InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 18), FinishDate = new DateTime(2010, 6, 24), TaskName = "Define procedure for qualifying ideas", TaskId = 10 }); - InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 24), FinishDate = new DateTime(2010, 7, 7), TaskName = "Define process for idea sharing", TaskId = 11 }); - InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 7), FinishDate = new DateTime(2010, 7, 14), TaskName = "Infrastructure for Product planning Complete", TaskId = 12 }); + InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 18), FinishDate = new DateTime(2024, 6, 24), TaskName = "Define procedure for qualifying ideas", TaskId = 10 }); + InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 24), FinishDate = new DateTime(2024, 7, 7), TaskName = "Define process for idea sharing", TaskId = 11 }); + InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 7), FinishDate = new DateTime(2024, 7, 14), TaskName = "Infrastructure for Product planning Complete", TaskId = 12 }); InfrastructureReq[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 10, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); InfrastructureReq[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 11, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Activities[1].Child = InfrastructureReq; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 14), FinishDate = new DateTime(2010, 8, 29), TaskName = "Product Definition Phase", TaskId = 13 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 8, 29), TaskName = "Product Definition Phase", TaskId = 13 }); ObservableCollection Product = new ObservableCollection(); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 14), FinishDate = new DateTime(2010, 7, 25), TaskName = "Identify product", TaskId = 14 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 28), FinishDate = new DateTime(2010, 8, 1), TaskName = "Identify need for the product", TaskId = 15 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 4), FinishDate = new DateTime(2010, 8, 8), TaskName = "Identify current trend for targets", TaskId = 16 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 4), FinishDate = new DateTime(2010, 8, 29), TaskName = "Define product use and features", TaskId = 17 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 4), FinishDate = new DateTime(2010, 8, 8), TaskName = "Identify competitor product", TaskId = 18 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 29), FinishDate = new DateTime(2010, 8, 29), TaskName = "Product Definition Complete", TaskId = 19 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 7, 25), TaskName = "Identify product", TaskId = 14 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 28), FinishDate = new DateTime(2024, 8, 1), TaskName = "Identify need for the product", TaskId = 15 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 4), FinishDate = new DateTime(2024, 8, 8), TaskName = "Identify current trend for targets", TaskId = 16 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 4), FinishDate = new DateTime(2024, 8, 29), TaskName = "Define product use and features", TaskId = 17 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 4), FinishDate = new DateTime(2024, 8, 8), TaskName = "Identify competitor product", TaskId = 18 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 29), FinishDate = new DateTime(2024, 8, 29), TaskName = "Product Definition Complete", TaskId = 19 }); Product[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 14, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Product[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 15, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -205,13 +205,13 @@ public ObservableCollection GetData() Activities[2].Child = Product; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 10), TaskName = "Analysing Customer Requirement", TaskId = 20 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 10), TaskName = "Analysing Customer Requirement", TaskId = 20 }); ObservableCollection Customer = new ObservableCollection(); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 4), TaskName = "Identify Consumer of Products", TaskId = 21 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 3), FinishDate = new DateTime(2010, 9, 6), TaskName = "Identify Customer Requirement", TaskId = 22 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 5), FinishDate = new DateTime(2010, 9, 8), TaskName = "Analysing Customer Requiremet with current plan", TaskId = 23 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 7), FinishDate = new DateTime(2010, 9, 10), TaskName = "Design based on Customer Requirement", TaskId = 24 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 10), FinishDate = new DateTime(2010, 9, 10), TaskName = "Customer Requirement Analysis Complete", TaskId = 25 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 4), TaskName = "Identify Consumer of Products", TaskId = 21 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 3), FinishDate = new DateTime(2024, 9, 6), TaskName = "Identify Customer Requirement", TaskId = 22 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 5), FinishDate = new DateTime(2024, 9, 8), TaskName = "Analysing Customer Requiremet with current plan", TaskId = 23 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 7), FinishDate = new DateTime(2024, 9, 10), TaskName = "Design based on Customer Requirement", TaskId = 24 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 10), FinishDate = new DateTime(2024, 9, 10), TaskName = "Customer Requirement Analysis Complete", TaskId = 25 }); Customer[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 21, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Customer[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 22, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Customer[3].Predecessor.Add(new Predecessor { GanttTaskIndex = 23, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -219,25 +219,25 @@ public ObservableCollection GetData() Activities[3].Child = Customer; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 10, 10), TaskName = "Competitor Analysis", TaskId = 26 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 10, 10), TaskName = "Competitor Analysis", TaskId = 26 }); ObservableCollection Competitor = new ObservableCollection(); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 13), TaskName = "Define competitor with similar Product", TaskId = 27 }); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 13), FinishDate = new DateTime(2010, 9, 20), TaskName = "Define competitive advantage", TaskId = 28 }); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 22), FinishDate = new DateTime(2010, 9, 27), TaskName = "Identify competitive features", TaskId = 29 }); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 29), FinishDate = new DateTime(2010, 10, 10), TaskName = "Define how to build competitive features", TaskId = 30 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 13), TaskName = "Define competitor with similar Product", TaskId = 27 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 13), FinishDate = new DateTime(2024, 9, 20), TaskName = "Define competitive advantage", TaskId = 28 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 22), FinishDate = new DateTime(2024, 9, 27), TaskName = "Identify competitive features", TaskId = 29 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 29), FinishDate = new DateTime(2024, 10, 10), TaskName = "Define how to build competitive features", TaskId = 30 }); Competitor[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 27, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Competitor[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 28, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Competitor[3].Predecessor.Add(new Predecessor { GanttTaskIndex = 29, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Activities[4].Child = Competitor; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 9), FinishDate = new DateTime(2010, 9, 20), TaskName = "Defining Sucess Measure", TaskId = 31 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 9), FinishDate = new DateTime(2024, 9, 20), TaskName = "Defining Sucess Measure", TaskId = 31 }); ObservableCollection Measure = new ObservableCollection(); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 6), TaskName = "Identify Risks", TaskId = 32 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 6), TaskName = "Define Key success measures", TaskId = 33 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 7), FinishDate = new DateTime(2010, 9, 13), TaskName = "Define strategy to address risks", TaskId = 34 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 13), FinishDate = new DateTime(2010, 9, 20), TaskName = "Define strategy to meet market position", TaskId = 35 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 20), FinishDate = new DateTime(2010, 9, 20), TaskName = "Success Measure Defined", TaskId = 36 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 6), TaskName = "Identify Risks", TaskId = 32 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 6), TaskName = "Define Key success measures", TaskId = 33 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 7), FinishDate = new DateTime(2024, 9, 13), TaskName = "Define strategy to address risks", TaskId = 34 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 13), FinishDate = new DateTime(2024, 9, 20), TaskName = "Define strategy to meet market position", TaskId = 35 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 20), FinishDate = new DateTime(2024, 9, 20), TaskName = "Success Measure Defined", TaskId = 36 }); Measure[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 32, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Measure[4].Predecessor.Add(new Predecessor { GanttTaskIndex = 33, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -246,13 +246,13 @@ public ObservableCollection GetData() Activities[5].Child = Measure; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 23), FinishDate = new DateTime(2010, 10, 17), TaskName = "Defining Team to Develop", TaskId = 37 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 23), FinishDate = new DateTime(2024, 10, 17), TaskName = "Defining Team to Develop", TaskId = 37 }); ObservableCollection Team = new ObservableCollection(); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 23), FinishDate = new DateTime(2010, 9, 27), TaskName = "Define successful team components for success", TaskId = 38 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 30), FinishDate = new DateTime(2010, 10, 3), TaskName = "Identify Key qualities needed to develop, produce and grow", TaskId = 39 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 6), FinishDate = new DateTime(2010, 10, 10), TaskName = "Define current team members", TaskId = 40 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 13), FinishDate = new DateTime(2010, 10, 17), TaskName = "Identify and address gaps", TaskId = 41 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 17), FinishDate = new DateTime(2010, 10, 17), TaskName = "Team Defined", TaskId = 42 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 23), FinishDate = new DateTime(2024, 9, 27), TaskName = "Define successful team components for success", TaskId = 38 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 30), FinishDate = new DateTime(2024, 10, 3), TaskName = "Identify Key qualities needed to develop, produce and grow", TaskId = 39 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 6), FinishDate = new DateTime(2024, 10, 10), TaskName = "Define current team members", TaskId = 40 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 13), FinishDate = new DateTime(2024, 10, 17), TaskName = "Identify and address gaps", TaskId = 41 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 17), FinishDate = new DateTime(2024, 10, 17), TaskName = "Team Defined", TaskId = 42 }); Team[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 38, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Team[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 39, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -261,14 +261,14 @@ public ObservableCollection GetData() Activities[6].Child = Team; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 24), TaskName = "Budgeting in the Product", TaskId = 43 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 24), TaskName = "Budgeting in the Product", TaskId = 43 }); ObservableCollection Budget = new ObservableCollection(); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 3), TaskName = "Define financial metrics of product", TaskId = 44 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 3), FinishDate = new DateTime(2010, 9, 13), TaskName = "Estimate cost need to develop", TaskId = 45 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 13), FinishDate = new DateTime(2010, 9, 15), TaskName = "Estimate time to develop", TaskId = 46 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 15), FinishDate = new DateTime(2010, 9, 20), TaskName = "Analyse resource cost", TaskId = 47 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 20), FinishDate = new DateTime(2010, 9, 24), TaskName = "Define financial plan of Product", TaskId = 48 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 24), FinishDate = new DateTime(2010, 9, 24), TaskName = "Product Budget defined", TaskId = 49 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 3), TaskName = "Define financial metrics of product", TaskId = 44 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 3), FinishDate = new DateTime(2024, 9, 13), TaskName = "Estimate cost need to develop", TaskId = 45 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 13), FinishDate = new DateTime(2024, 9, 15), TaskName = "Estimate time to develop", TaskId = 46 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 15), FinishDate = new DateTime(2024, 9, 20), TaskName = "Analyse resource cost", TaskId = 47 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 20), FinishDate = new DateTime(2024, 9, 24), TaskName = "Define financial plan of Product", TaskId = 48 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 24), FinishDate = new DateTime(2024, 9, 24), TaskName = "Product Budget defined", TaskId = 49 }); Budget[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 44, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Budget[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 45, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -278,28 +278,28 @@ public ObservableCollection GetData() Activities[7].Child = Budget; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 20), FinishDate = new DateTime(2010, 11, 10), TaskName = "Product Development", TaskId = 50 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 20), FinishDate = new DateTime(2024, 11, 10), TaskName = "Product Development", TaskId = 50 }); ObservableCollection Development = new ObservableCollection(); - Development.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 20), FinishDate = new DateTime(2010, 10, 30), TaskName = "Implementation Phase 1", TaskId = 51 }); - Development.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 30), FinishDate = new DateTime(2010, 11, 10), TaskName = "Implementation Phase 2", TaskId = 52 }); - Development.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 10), FinishDate = new DateTime(2010, 11, 10), TaskName = "Product Developed", TaskId = 53 }); + Development.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 20), FinishDate = new DateTime(2024, 10, 30), TaskName = "Implementation Phase 1", TaskId = 51 }); + Development.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 30), FinishDate = new DateTime(2024, 11, 10), TaskName = "Implementation Phase 2", TaskId = 52 }); + Development.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 10), FinishDate = new DateTime(2024, 11, 10), TaskName = "Product Developed", TaskId = 53 }); Development[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 51, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Development[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 52, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Activities[8].Child = Development; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 8), FinishDate = new DateTime(2010, 11, 13), TaskName = "Product Review", TaskId = 54 }); - Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 8), FinishDate = new DateTime(2010, 11, 10), TaskName = "Product Techincal Review", TaskId = 55 }); - Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 9), FinishDate = new DateTime(2010, 11, 13), TaskName = "Product Cost Review", TaskId = 56 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 8), FinishDate = new DateTime(2024, 11, 13), TaskName = "Product Review", TaskId = 54 }); + Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 8), FinishDate = new DateTime(2024, 11, 10), TaskName = "Product Techincal Review", TaskId = 55 }); + Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 9), FinishDate = new DateTime(2024, 11, 13), TaskName = "Product Cost Review", TaskId = 56 }); - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 15), FinishDate = new DateTime(2010, 11, 30), TaskName = "Beta Testing", TaskId = 57 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 15), FinishDate = new DateTime(2024, 11, 30), TaskName = "Beta Testing", TaskId = 57 }); ObservableCollection Testing = new ObservableCollection(); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 15), FinishDate = new DateTime(2010, 11, 17), TaskName = "Disseminate completed product", TaskId = 58 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 18), FinishDate = new DateTime(2010, 11, 20), TaskName = "Obtain feedback", TaskId = 59 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 20), FinishDate = new DateTime(2010, 11, 25), TaskName = "Modification", TaskId = 60 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 24), FinishDate = new DateTime(2010, 11, 30), TaskName = "Test", TaskId = 61 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 30), FinishDate = new DateTime(2010, 11, 30), TaskName = "Testing Completed", TaskId = 62 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 15), FinishDate = new DateTime(2024, 11, 17), TaskName = "Disseminate completed product", TaskId = 58 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 18), FinishDate = new DateTime(2024, 11, 20), TaskName = "Obtain feedback", TaskId = 59 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 20), FinishDate = new DateTime(2024, 11, 25), TaskName = "Modification", TaskId = 60 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 24), FinishDate = new DateTime(2024, 11, 30), TaskName = "Test", TaskId = 61 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 30), FinishDate = new DateTime(2024, 11, 30), TaskName = "Testing Completed", TaskId = 62 })); Testing[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 58, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Testing[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 59, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -308,14 +308,14 @@ public ObservableCollection GetData() Activities[10].Child = Testing; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 25), FinishDate = new DateTime(2010, 12, 06), TaskName = "Post Product Review", TaskId = 63 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 25), FinishDate = new DateTime(2024, 12, 06), TaskName = "Post Product Review", TaskId = 63 }); ObservableCollection PostReview = new ObservableCollection(); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 25), FinishDate = new DateTime(2010, 11, 27), TaskName = "Finalize cost analysis", TaskId = 64 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 27), FinishDate = new DateTime(2010, 11, 28), TaskName = "Analyze performance", TaskId = 65 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 29), FinishDate = new DateTime(2010, 12, 2), TaskName = "Archive files", TaskId = 66 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 12, 2), FinishDate = new DateTime(2010, 12, 4), TaskName = "Document lessons learned", TaskId = 67 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 12, 4), FinishDate = new DateTime(2010, 12, 6), TaskName = "Distribute to team members", TaskId = 68 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 12, 6), FinishDate = new DateTime(2010, 12, 6), TaskName = "Post-project review complete", TaskId = 69 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 25), FinishDate = new DateTime(2024, 11, 27), TaskName = "Finalize cost analysis", TaskId = 64 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 27), FinishDate = new DateTime(2024, 11, 28), TaskName = "Analyze performance", TaskId = 65 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 29), FinishDate = new DateTime(2024, 12, 2), TaskName = "Archive files", TaskId = 66 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 12, 2), FinishDate = new DateTime(2024, 12, 4), TaskName = "Document lessons learned", TaskId = 67 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 12, 4), FinishDate = new DateTime(2024, 12, 6), TaskName = "Distribute to team members", TaskId = 68 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 12, 6), FinishDate = new DateTime(2024, 12, 6), TaskName = "Post-project review complete", TaskId = 69 })); PostReview[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 64, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); PostReview[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 65, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -325,7 +325,7 @@ public ObservableCollection GetData() Activities[11].Child = PostReview; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 12, 10), FinishDate = new DateTime(2010, 12, 10), TaskName = "Product Released Successfully", TaskId = 70 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 12, 10), FinishDate = new DateTime(2024, 12, 10), TaskName = "Product Released Successfully", TaskId = 70 }); return Activities; } diff --git a/gantt/ViewModel/CriticalPathViewModel.cs b/gantt/ViewModel/CriticalPathViewModel.cs index 3cafb409e..90b3d19be 100644 --- a/gantt/ViewModel/CriticalPathViewModel.cs +++ b/gantt/ViewModel/CriticalPathViewModel.cs @@ -60,30 +60,30 @@ ObservableCollection GetTaskDetails() { // Adding Tasks ObservableCollection task = new ObservableCollection(); - task.Add(new TaskDetails { TaskId = 1, TaskName = "Project Schedule", StartDate = new DateTime(2014, 2, 3), FinishDate = new DateTime(2014, 2, 23), Progress = 57d }); - task[0].Child.Add(new TaskDetails { TaskId = 2, TaskName = "Planning", StartDate = new DateTime(2014, 2, 3), FinishDate = new DateTime(2014, 2, 12), Progress = 77d }); - task[0].Child[0].Child.Add(new TaskDetails { TaskId = 3, TaskName = "Planning timeline", StartDate = new DateTime(2014, 2, 3), FinishDate = new DateTime(2014, 2, 7), Progress = 80d }); - task[0].Child[0].Child.Add(new TaskDetails { TaskId = 4, TaskName = "Plan budget", StartDate = new DateTime(2014, 2, 8), FinishDate = new DateTime(2014, 2, 12), Progress = 70d }); - task[0].Child[0].Child.Add(new TaskDetails { TaskId = 5, TaskName = "Allocate resources", StartDate = new DateTime(2014, 2, 8), FinishDate = new DateTime(2014, 2, 10), Progress = 80d }); - task[0].Child[0].Child.Add(new TaskDetails { TaskId = 6, TaskName = "Planning complete", StartDate = new DateTime(2014, 2, 13), FinishDate = new DateTime(2014, 2, 13), Progress = 0d }); + task.Add(new TaskDetails { TaskId = 1, TaskName = "Project Schedule", StartDate = new DateTime(2024, 2, 3), FinishDate = new DateTime(2024, 2, 23), Progress = 57d }); + task[0].Child.Add(new TaskDetails { TaskId = 2, TaskName = "Planning", StartDate = new DateTime(2024, 2, 3), FinishDate = new DateTime(2024, 2, 12), Progress = 77d }); + task[0].Child[0].Child.Add(new TaskDetails { TaskId = 3, TaskName = "Planning timeline", StartDate = new DateTime(2024, 2, 3), FinishDate = new DateTime(2024, 2, 7), Progress = 80d }); + task[0].Child[0].Child.Add(new TaskDetails { TaskId = 4, TaskName = "Plan budget", StartDate = new DateTime(2024, 2, 8), FinishDate = new DateTime(2024, 2, 12), Progress = 70d }); + task[0].Child[0].Child.Add(new TaskDetails { TaskId = 5, TaskName = "Allocate resources", StartDate = new DateTime(2024, 2, 8), FinishDate = new DateTime(2024, 2, 10), Progress = 80d }); + task[0].Child[0].Child.Add(new TaskDetails { TaskId = 6, TaskName = "Planning complete", StartDate = new DateTime(2024, 2, 13), FinishDate = new DateTime(2024, 2, 13), Progress = 0d }); - task[0].Child.Add(new TaskDetails { TaskId = 7, TaskName = "Design", StartDate = new DateTime(2014, 2, 13), FinishDate = new DateTime(2014, 2, 23), Progress = 39d }); - task[0].Child[1].Child.Add(new TaskDetails { TaskId = 8, TaskName = "Software Specification", StartDate = new DateTime(2014, 2, 14), FinishDate = new DateTime(2014, 2, 20), Progress = 60d }); - task[0].Child[1].Child.Add(new TaskDetails { TaskId = 9, TaskName = "Develop prototype", StartDate = new DateTime(2014, 2, 14), FinishDate = new DateTime(2014, 2, 16), Progress = 40d }); - task[0].Child[1].Child.Add(new TaskDetails { TaskId = 10, TaskName = "Get approval from customer", StartDate = new DateTime(2014, 2, 17), FinishDate = new DateTime(2014, 2, 21), Progress = 50d }); - task[0].Child[1].Child.Add(new TaskDetails { TaskId = 11, TaskName = "Design complete", StartDate = new DateTime(2014, 2, 22), FinishDate = new DateTime(2014, 2, 24), Progress = 0d }); + task[0].Child.Add(new TaskDetails { TaskId = 7, TaskName = "Design", StartDate = new DateTime(2024, 2, 13), FinishDate = new DateTime(2024, 2, 23), Progress = 39d }); + task[0].Child[1].Child.Add(new TaskDetails { TaskId = 8, TaskName = "Software Specification", StartDate = new DateTime(2024, 2, 14), FinishDate = new DateTime(2024, 2, 20), Progress = 60d }); + task[0].Child[1].Child.Add(new TaskDetails { TaskId = 9, TaskName = "Develop prototype", StartDate = new DateTime(2024, 2, 14), FinishDate = new DateTime(2024, 2, 16), Progress = 40d }); + task[0].Child[1].Child.Add(new TaskDetails { TaskId = 10, TaskName = "Get approval from customer", StartDate = new DateTime(2024, 2, 17), FinishDate = new DateTime(2024, 2, 21), Progress = 50d }); + task[0].Child[1].Child.Add(new TaskDetails { TaskId = 11, TaskName = "Design complete", StartDate = new DateTime(2024, 2, 22), FinishDate = new DateTime(2024, 2, 24), Progress = 0d }); - task[0].Child.Add(new TaskDetails { TaskId = 12, TaskName = "Implementation", StartDate = new DateTime(2014, 2, 13), FinishDate = new DateTime(2014, 2, 23), Progress = 39d }); - task[0].Child[2].Child.Add(new TaskDetails { TaskId = 13, TaskName = "Develop prototype", StartDate = new DateTime(2014, 2, 25), FinishDate = new DateTime(2014, 2, 27), Progress = 60d }); - task[0].Child[2].Child.Add(new TaskDetails { TaskId = 14, TaskName = "Divide modules", StartDate = new DateTime(2014, 2, 28), FinishDate = new DateTime(2014, 3, 2), Progress = 40d }); - task[0].Child[2].Child.Add(new TaskDetails { TaskId = 15, TaskName = "Allocate resources", StartDate = new DateTime(2014, 3, 3), FinishDate = new DateTime(2014, 3, 7), Progress = 50d }); - task[0].Child[2].Child.Add(new TaskDetails { TaskId = 16, TaskName = "Optimization", StartDate = new DateTime(2014, 3, 8), FinishDate = new DateTime(2014, 3, 10), Progress = 0d }); + task[0].Child.Add(new TaskDetails { TaskId = 12, TaskName = "Implementation", StartDate = new DateTime(2024, 2, 13), FinishDate = new DateTime(2024, 2, 23), Progress = 39d }); + task[0].Child[2].Child.Add(new TaskDetails { TaskId = 13, TaskName = "Develop prototype", StartDate = new DateTime(2024, 2, 25), FinishDate = new DateTime(2024, 2, 27), Progress = 60d }); + task[0].Child[2].Child.Add(new TaskDetails { TaskId = 14, TaskName = "Divide modules", StartDate = new DateTime(2024, 2, 28), FinishDate = new DateTime(2024, 3, 2), Progress = 40d }); + task[0].Child[2].Child.Add(new TaskDetails { TaskId = 15, TaskName = "Allocate resources", StartDate = new DateTime(2024, 3, 3), FinishDate = new DateTime(2024, 3, 7), Progress = 50d }); + task[0].Child[2].Child.Add(new TaskDetails { TaskId = 16, TaskName = "Optimization", StartDate = new DateTime(2024, 3, 8), FinishDate = new DateTime(2024, 3, 10), Progress = 0d }); - task[0].Child.Add(new TaskDetails { TaskId = 17, TaskName = "Testing", StartDate = new DateTime(2014, 2, 13), FinishDate = new DateTime(2014, 2, 23), Progress = 39d }); - task[0].Child[3].Child.Add(new TaskDetails { TaskId = 18, TaskName = "Manual testing", StartDate = new DateTime(2014, 3, 11), FinishDate = new DateTime(2014, 3, 13), Progress = 60d }); - task[0].Child[3].Child.Add(new TaskDetails { TaskId = 19, TaskName = "Develop scripts for testing", StartDate = new DateTime(2014, 3, 14), FinishDate = new DateTime(2014, 3, 16), Progress = 40d }); - task[0].Child[3].Child.Add(new TaskDetails { TaskId = 20, TaskName = "Automation", StartDate = new DateTime(2014, 3, 17), FinishDate = new DateTime(2014, 3, 21), Progress = 50d }); - task[0].Child[3].Child.Add(new TaskDetails { TaskId = 21, TaskName = "Release beta version", StartDate = new DateTime(2014, 3, 22), FinishDate = new DateTime(2014, 3, 22), Progress = 0d }); + task[0].Child.Add(new TaskDetails { TaskId = 17, TaskName = "Testing", StartDate = new DateTime(2024, 2, 13), FinishDate = new DateTime(2024, 2, 23), Progress = 39d }); + task[0].Child[3].Child.Add(new TaskDetails { TaskId = 18, TaskName = "Manual testing", StartDate = new DateTime(2024, 3, 11), FinishDate = new DateTime(2024, 3, 13), Progress = 60d }); + task[0].Child[3].Child.Add(new TaskDetails { TaskId = 19, TaskName = "Develop scripts for testing", StartDate = new DateTime(2024, 3, 14), FinishDate = new DateTime(2024, 3, 16), Progress = 40d }); + task[0].Child[3].Child.Add(new TaskDetails { TaskId = 20, TaskName = "Automation", StartDate = new DateTime(2024, 3, 17), FinishDate = new DateTime(2024, 3, 21), Progress = 50d }); + task[0].Child[3].Child.Add(new TaskDetails { TaskId = 21, TaskName = "Release beta version", StartDate = new DateTime(2024, 3, 22), FinishDate = new DateTime(2024, 3, 22), Progress = 0d }); //Adding predecessors task[0].Child[0].Child[1].Predecessor.Add(new Predecessor() { GanttTaskIndex = 3, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); diff --git a/gantt/ViewModel/CustomDateTimeScheduleViewModel.cs b/gantt/ViewModel/CustomDateTimeScheduleViewModel.cs index a9be8438c..41fc6c318 100644 --- a/gantt/ViewModel/CustomDateTimeScheduleViewModel.cs +++ b/gantt/ViewModel/CustomDateTimeScheduleViewModel.cs @@ -90,30 +90,30 @@ public IList GetCustomScheduleSource() public ObservableCollection GetData() { var data = new ObservableCollection(); - data.Add(new Task() { Id = 1, Name = "Scope", StDate = new DateTime(2011, 8, 9), EndDate = new DateTime(2012, 6, 20), Complete = 40d }); - data[0].ChildTask.Add((new Task() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2011, 8, 9), EndDate = new DateTime(2012, 2, 20), Complete = 20d, })); - data[0].ChildTask.Add((new Task() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2011, 11, 6), EndDate = new DateTime(2012, 4, 7), Complete = 20d, })); - data[0].ChildTask.Add((new Task() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2012, 2, 10), EndDate = new DateTime(2012, 6, 14), Complete = 10d, })); - data[0].ChildTask.Add((new Task() { Id = 5, Name = "Secure complete", StDate = new DateTime(2012, 6, 14), EndDate = new DateTime(2012, 9, 14), Complete = 10d })); - - data.Add(new Task() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2012, 7, 15), EndDate = new DateTime(2011, 7, 24) }); - data[1].ChildTask.Add((new Task() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2012, 2, 15), EndDate = new DateTime(2012, 8, 21), Complete = 20d, })); - data[1].ChildTask.Add((new Task() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2012, 5, 21), EndDate = new DateTime(2012, 7, 23), Complete = 20d, })); - data[1].ChildTask.Add((new Task() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2012, 8, 21), EndDate = new DateTime(2013, 2, 24), Complete = 20d, })); - data[1].ChildTask.Add((new Task() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2012, 4, 24), EndDate = new DateTime(2012, 9, 24), Complete = 30d })); - - data.Add(new Task() { Id = 11, Name = "Monitoring", StDate = new DateTime(2012, 7, 25), EndDate = new DateTime(2012, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); - data[2].ChildTask.Add((new Task() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2012, 9, 25), EndDate = new DateTime(2012, 12, 26), Complete = 20d, })); - data[2].ChildTask.Add((new Task() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2013, 1, 27), EndDate = new DateTime(2013, 7, 30), Complete = 20d, })); - data[2].ChildTask.Add((new Task() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2013, 3, 30), EndDate = new DateTime(2013, 7, 2), Complete = 20d, })); - data[2].ChildTask.Add((new Task() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2013, 5, 3), EndDate = new DateTime(2013, 9, 6), Complete = 30d, })); - data[2].ChildTask.Add((new Task() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2013, 7, 6), EndDate = new DateTime(2013, 12, 6), Complete = 30d })); - - data.Add(new Task() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2013, 7, 25), EndDate = new DateTime(2012, 3, 12) }); - data[3].ChildTask.Add((new Task() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2013, 7, 25), EndDate = new DateTime(2014, 4, 29), Complete = 20d, })); - data[3].ChildTask.Add((new Task() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2013, 10, 29), EndDate = new DateTime(2014, 7, 5), Complete = 20d, })); - data[3].ChildTask.Add((new Task() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2014, 1, 2), EndDate = new DateTime(2014, 9, 8), Complete = 20d, })); - data[3].ChildTask.Add((new Task() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2014, 4, 8), EndDate = new DateTime(2014, 9, 12), Complete = 30d })); + data.Add(new Task() { Id = 1, Name = "Scope", StDate = new DateTime(2024, 8, 9), EndDate = new DateTime(2024, 6, 20), Complete = 40d }); + data[0].ChildTask.Add((new Task() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2024, 8, 9), EndDate = new DateTime(2024, 2, 20), Complete = 20d, })); + data[0].ChildTask.Add((new Task() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2024, 11, 6), EndDate = new DateTime(2024, 4, 7), Complete = 20d, })); + data[0].ChildTask.Add((new Task() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2024, 2, 10), EndDate = new DateTime(2024, 6, 14), Complete = 10d, })); + data[0].ChildTask.Add((new Task() { Id = 5, Name = "Secure complete", StDate = new DateTime(2024, 6, 14), EndDate = new DateTime(2024, 9, 14), Complete = 10d })); + + data.Add(new Task() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2024, 7, 15), EndDate = new DateTime(2024, 7, 24) }); + data[1].ChildTask.Add((new Task() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2024, 2, 15), EndDate = new DateTime(2024, 8, 21), Complete = 20d, })); + data[1].ChildTask.Add((new Task() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2024, 5, 21), EndDate = new DateTime(2024, 7, 23), Complete = 20d, })); + data[1].ChildTask.Add((new Task() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2024, 8, 21), EndDate = new DateTime(2025, 2, 24), Complete = 20d, })); + data[1].ChildTask.Add((new Task() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2024, 4, 24), EndDate = new DateTime(2024, 9, 24), Complete = 30d })); + + data.Add(new Task() { Id = 11, Name = "Monitoring", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); + data[2].ChildTask.Add((new Task() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2024, 9, 25), EndDate = new DateTime(2024, 12, 26), Complete = 20d, })); + data[2].ChildTask.Add((new Task() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2025, 1, 27), EndDate = new DateTime(2025, 7, 30), Complete = 20d, })); + data[2].ChildTask.Add((new Task() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2025, 3, 30), EndDate = new DateTime(2025, 7, 2), Complete = 20d, })); + data[2].ChildTask.Add((new Task() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2025, 5, 3), EndDate = new DateTime(2025, 9, 6), Complete = 30d, })); + data[2].ChildTask.Add((new Task() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2025, 7, 6), EndDate = new DateTime(2025, 12, 6), Complete = 30d })); + + data.Add(new Task() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2025, 7, 25), EndDate = new DateTime(2024, 3, 12) }); + data[3].ChildTask.Add((new Task() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2025, 7, 25), EndDate = new DateTime(2026, 4, 29), Complete = 20d, })); + data[3].ChildTask.Add((new Task() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2025, 10, 29), EndDate = new DateTime(2026, 7, 5), Complete = 20d, })); + data[3].ChildTask.Add((new Task() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2026, 1, 2), EndDate = new DateTime(2026, 9, 8), Complete = 20d, })); + data[3].ChildTask.Add((new Task() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2026, 4, 8), EndDate = new DateTime(2026, 9, 12), Complete = 30d })); data[0].ChildTask[0].Resource.Add(new Resource() { ID = 1, Name = "Leslie" }); data[0].ChildTask[1].Resource.Add(new Resource() { ID = 2, Name = "John" }); diff --git a/gantt/ViewModel/CustomMetroStyleViewModel.cs b/gantt/ViewModel/CustomMetroStyleViewModel.cs index 7949beb6d..8d601ac03 100644 --- a/gantt/ViewModel/CustomMetroStyleViewModel.cs +++ b/gantt/ViewModel/CustomMetroStyleViewModel.cs @@ -98,41 +98,41 @@ private List GetMetroStyles() public static ObservableCollection GetData() { var data = new ObservableCollection(); - data.Add(new CustomMetroStyleModel() { Id = 1, Name = "Analysis/Planning", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 40d }); - data[0].ChildTask.Add((new CustomMetroStyleModel() { Id = 2, Name = "Identify Components to be Localized", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 20d })); - data[0].ChildTask.Add((new CustomMetroStyleModel() { Id = 3, Name = "Ensure file localizability", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[0].ChildTask.Add((new CustomMetroStyleModel() { Id = 4, Name = "Identify tools", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); - data[0].ChildTask.Add((new CustomMetroStyleModel() { Id = 5, Name = "Test tools", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 8, 1), Complete = 10d })); - data[0].ChildTask.Add((new CustomMetroStyleModel() { Id = 6, Name = "Develop delivery timeline", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 8, 1), Complete = 10d })); - data[0].ChildTask.Add((new CustomMetroStyleModel() { Id = 7, Name = "Analysis complete", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 8, 10), Complete = 10d })); - - data.Add(new CustomMetroStyleModel() { Id = 8, Name = "Production", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 40d }); - data[1].ChildTask.Add((new CustomMetroStyleModel() { Id = 9, Name = "Software Components", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 20d, })); - data[1].ChildTask.Add((new CustomMetroStyleModel() { Id = 10, Name = "Localization Component - User Interface", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[1].ChildTask.Add((new CustomMetroStyleModel() { Id = 11, Name = "User Assistance Components", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); - data[1].ChildTask.Add((new CustomMetroStyleModel() { Id = 12, Name = "Software components complete", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 18), Complete = 10d })); - - - data.Add(new CustomMetroStyleModel() { Id = 13, Name = "Quality Assurance", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 12), Complete = 40d, }); - data[2].ChildTask.Add((new CustomMetroStyleModel() { Id = 14, Name = "Review project information", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 15), Complete = 20d })); - data[2].ChildTask.Add((new CustomMetroStyleModel() { Id = 15, Name = "Localization Component", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 8), Complete = 20d })); - data[2].ChildTask.Add((new CustomMetroStyleModel() { Id = 16, Name = "Localization Component", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); - data[2].ChildTask.Add((new CustomMetroStyleModel() { Id = 17, Name = "Localization Component", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 18), Complete = 10d })); - - data.Add(new CustomMetroStyleModel() { Id = 18, Name = "Beta Testing", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 40d }); - data[3].ChildTask.Add((new CustomMetroStyleModel() { Id = 19, Name = "Disseminate completed product", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 20d })); - data[3].ChildTask.Add((new CustomMetroStyleModel() { Id = 20, Name = "Obtain feedback", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[3].ChildTask.Add((new CustomMetroStyleModel() { Id = 21, Name = "Modify", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 19), Complete = 10d })); - data[3].ChildTask.Add((new CustomMetroStyleModel() { Id = 22, Name = "Test", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 19), Complete = 10d })); - data[3].ChildTask.Add((new CustomMetroStyleModel() { Id = 23, Name = "Complete", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 19), Complete = 10d })); - - data.Add(new CustomMetroStyleModel() { Id = 24, Name = "Post-Project Review", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 40d }); - data[4].ChildTask.Add((new CustomMetroStyleModel() { Id = 25, Name = "Finalize cost analysis", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 20d })); - data[4].ChildTask.Add((new CustomMetroStyleModel() { Id = 26, Name = "Analyze performance", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[4].ChildTask.Add((new CustomMetroStyleModel() { Id = 27, Name = "Archive files", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); - data[4].ChildTask.Add((new CustomMetroStyleModel() { Id = 28, Name = "Document lessons learned", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 18), Complete = 10d })); - data[4].ChildTask.Add((new CustomMetroStyleModel() { Id = 29, Name = "Distribute to team members", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); - data[4].ChildTask.Add((new CustomMetroStyleModel() { Id = 30, Name = "Post-project review complete", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); + data.Add(new CustomMetroStyleModel() { Id = 1, Name = "Analysis/Planning", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 40d }); + data[0].ChildTask.Add((new CustomMetroStyleModel() { Id = 2, Name = "Identify Components to be Localized", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d })); + data[0].ChildTask.Add((new CustomMetroStyleModel() { Id = 3, Name = "Ensure file localizability", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[0].ChildTask.Add((new CustomMetroStyleModel() { Id = 4, Name = "Identify tools", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); + data[0].ChildTask.Add((new CustomMetroStyleModel() { Id = 5, Name = "Test tools", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 8, 1), Complete = 10d })); + data[0].ChildTask.Add((new CustomMetroStyleModel() { Id = 6, Name = "Develop delivery timeline", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 8, 1), Complete = 10d })); + data[0].ChildTask.Add((new CustomMetroStyleModel() { Id = 7, Name = "Analysis complete", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 8, 10), Complete = 10d })); + + data.Add(new CustomMetroStyleModel() { Id = 8, Name = "Production", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 40d }); + data[1].ChildTask.Add((new CustomMetroStyleModel() { Id = 9, Name = "Software Components", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d, })); + data[1].ChildTask.Add((new CustomMetroStyleModel() { Id = 10, Name = "Localization Component - User Interface", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[1].ChildTask.Add((new CustomMetroStyleModel() { Id = 11, Name = "User Assistance Components", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); + data[1].ChildTask.Add((new CustomMetroStyleModel() { Id = 12, Name = "Software components complete", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 18), Complete = 10d })); + + + data.Add(new CustomMetroStyleModel() { Id = 13, Name = "Quality Assurance", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 12), Complete = 40d, }); + data[2].ChildTask.Add((new CustomMetroStyleModel() { Id = 14, Name = "Review project information", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 15), Complete = 20d })); + data[2].ChildTask.Add((new CustomMetroStyleModel() { Id = 15, Name = "Localization Component", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 8), Complete = 20d })); + data[2].ChildTask.Add((new CustomMetroStyleModel() { Id = 16, Name = "Localization Component", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); + data[2].ChildTask.Add((new CustomMetroStyleModel() { Id = 17, Name = "Localization Component", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 18), Complete = 10d })); + + data.Add(new CustomMetroStyleModel() { Id = 18, Name = "Beta Testing", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 40d }); + data[3].ChildTask.Add((new CustomMetroStyleModel() { Id = 19, Name = "Disseminate completed product", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d })); + data[3].ChildTask.Add((new CustomMetroStyleModel() { Id = 20, Name = "Obtain feedback", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[3].ChildTask.Add((new CustomMetroStyleModel() { Id = 21, Name = "Modify", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 19), Complete = 10d })); + data[3].ChildTask.Add((new CustomMetroStyleModel() { Id = 22, Name = "Test", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 19), Complete = 10d })); + data[3].ChildTask.Add((new CustomMetroStyleModel() { Id = 23, Name = "Complete", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 19), Complete = 10d })); + + data.Add(new CustomMetroStyleModel() { Id = 24, Name = "Post-Project Review", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 40d }); + data[4].ChildTask.Add((new CustomMetroStyleModel() { Id = 25, Name = "Finalize cost analysis", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d })); + data[4].ChildTask.Add((new CustomMetroStyleModel() { Id = 26, Name = "Analyze performance", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[4].ChildTask.Add((new CustomMetroStyleModel() { Id = 27, Name = "Archive files", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); + data[4].ChildTask.Add((new CustomMetroStyleModel() { Id = 28, Name = "Document lessons learned", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 18), Complete = 10d })); + data[4].ChildTask.Add((new CustomMetroStyleModel() { Id = 29, Name = "Distribute to team members", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); + data[4].ChildTask.Add((new CustomMetroStyleModel() { Id = 30, Name = "Post-project review complete", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); data[1].Resource.Add(new Resource() { ID = 1, Name = "Localizer" }); data[2].Resource.Add(new Resource() { ID = 2, Name = "Technical Reviewer" }); diff --git a/gantt/ViewModel/CustomNodeStyleViewModel.cs b/gantt/ViewModel/CustomNodeStyleViewModel.cs index 1382ab848..43d008a4b 100644 --- a/gantt/ViewModel/CustomNodeStyleViewModel.cs +++ b/gantt/ViewModel/CustomNodeStyleViewModel.cs @@ -56,41 +56,41 @@ public ObservableCollection TaskCollections public ObservableCollection GetData() { var data = new ObservableCollection(); - data.Add(new CustomNodeStyleModel() { Id = 1, Name = "Analysis/Planning", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 50d }); - data[0].ChildTask.Add((new CustomNodeStyleModel() { Id = 2, Name = "Identify Components to be Localized", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 30d })); - data[0].ChildTask.Add((new CustomNodeStyleModel() { Id = 3, Name = "Ensure file localizability", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[0].ChildTask.Add((new CustomNodeStyleModel() { Id = 4, Name = "Identify tools", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 30d })); - data[0].ChildTask.Add((new CustomNodeStyleModel() { Id = 5, Name = "Test tools", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 14), Complete = 20d })); - data[0].ChildTask.Add((new CustomNodeStyleModel() { Id = 6, Name = "Develop delivery timeline", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 18), Complete = 50d })); - data[0].ChildTask.Add((new CustomNodeStyleModel() { Id = 7, Name = "Analysis complete", StDate = new DateTime(2011, 7, 16), EndDate = new DateTime(2011, 7, 16), Complete = 30d })); + data.Add(new CustomNodeStyleModel() { Id = 1, Name = "Analysis/Planning", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 50d }); + data[0].ChildTask.Add((new CustomNodeStyleModel() { Id = 2, Name = "Identify Components to be Localized", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 30d })); + data[0].ChildTask.Add((new CustomNodeStyleModel() { Id = 3, Name = "Ensure file localizability", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[0].ChildTask.Add((new CustomNodeStyleModel() { Id = 4, Name = "Identify tools", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 30d })); + data[0].ChildTask.Add((new CustomNodeStyleModel() { Id = 5, Name = "Test tools", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 14), Complete = 20d })); + data[0].ChildTask.Add((new CustomNodeStyleModel() { Id = 6, Name = "Develop delivery timeline", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 18), Complete = 50d })); + data[0].ChildTask.Add((new CustomNodeStyleModel() { Id = 7, Name = "Analysis complete", StDate = new DateTime(2024, 7, 16), EndDate = new DateTime(2024, 7, 16), Complete = 30d })); - data.Add(new CustomNodeStyleModel() { Id = 8, Name = "Production", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 60d }); - data[1].ChildTask.Add((new CustomNodeStyleModel() { Id = 9, Name = "Software Components", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 20d })); - data[1].ChildTask.Add((new CustomNodeStyleModel() { Id = 10, Name = "Localization Component - User Interface", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 30d })); - data[1].ChildTask.Add((new CustomNodeStyleModel() { Id = 11, Name = "User Assistance Components", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 25d })); - data[1].ChildTask.Add((new CustomNodeStyleModel() { Id = 12, Name = "Software components complete", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 18), Complete = 25d })); + data.Add(new CustomNodeStyleModel() { Id = 8, Name = "Production", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 60d }); + data[1].ChildTask.Add((new CustomNodeStyleModel() { Id = 9, Name = "Software Components", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d })); + data[1].ChildTask.Add((new CustomNodeStyleModel() { Id = 10, Name = "Localization Component - User Interface", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 30d })); + data[1].ChildTask.Add((new CustomNodeStyleModel() { Id = 11, Name = "User Assistance Components", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 25d })); + data[1].ChildTask.Add((new CustomNodeStyleModel() { Id = 12, Name = "Software components complete", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 18), Complete = 25d })); - data.Add(new CustomNodeStyleModel() { Id = 13, Name = "Quality Assurance", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 12), Complete = 40d }); - data[2].ChildTask.Add((new CustomNodeStyleModel() { Id = 14, Name = "Review project information", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 15), Complete = 30d })); - data[2].ChildTask.Add((new CustomNodeStyleModel() { Id = 15, Name = "Localization Component", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 8), Complete = 25d })); - data[2].ChildTask.Add((new CustomNodeStyleModel() { Id = 16, Name = "Localization Component", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 20d })); - data[2].ChildTask.Add((new CustomNodeStyleModel() { Id = 17, Name = "Localization Component", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 18), Complete = 30d })); + data.Add(new CustomNodeStyleModel() { Id = 13, Name = "Quality Assurance", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 12), Complete = 40d }); + data[2].ChildTask.Add((new CustomNodeStyleModel() { Id = 14, Name = "Review project information", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 15), Complete = 30d })); + data[2].ChildTask.Add((new CustomNodeStyleModel() { Id = 15, Name = "Localization Component", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 8), Complete = 25d })); + data[2].ChildTask.Add((new CustomNodeStyleModel() { Id = 16, Name = "Localization Component", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 20d })); + data[2].ChildTask.Add((new CustomNodeStyleModel() { Id = 17, Name = "Localization Component", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 18), Complete = 30d })); - data.Add(new CustomNodeStyleModel() { Id = 18, Name = "Beta Testing", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 60d }); - data[3].ChildTask.Add((new CustomNodeStyleModel() { Id = 19, Name = "Disseminate completed product", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 20d })); - data[3].ChildTask.Add((new CustomNodeStyleModel() { Id = 20, Name = "Obtain feedback", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[3].ChildTask.Add((new CustomNodeStyleModel() { Id = 21, Name = "Modify", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 19), Complete = 10d })); - data[3].ChildTask.Add((new CustomNodeStyleModel() { Id = 22, Name = "Test", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 19), Complete = 10d })); - data[3].ChildTask.Add((new CustomNodeStyleModel() { Id = 23, Name = "Complete", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 19), Complete = 10d })); + data.Add(new CustomNodeStyleModel() { Id = 18, Name = "Beta Testing", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 60d }); + data[3].ChildTask.Add((new CustomNodeStyleModel() { Id = 19, Name = "Disseminate completed product", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d })); + data[3].ChildTask.Add((new CustomNodeStyleModel() { Id = 20, Name = "Obtain feedback", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[3].ChildTask.Add((new CustomNodeStyleModel() { Id = 21, Name = "Modify", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 19), Complete = 10d })); + data[3].ChildTask.Add((new CustomNodeStyleModel() { Id = 22, Name = "Test", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 19), Complete = 10d })); + data[3].ChildTask.Add((new CustomNodeStyleModel() { Id = 23, Name = "Complete", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 19), Complete = 10d })); - data.Add(new CustomNodeStyleModel() { Id = 24, Name = "Post-Project Review", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 40d }); - data[4].ChildTask.Add((new CustomNodeStyleModel() { Id = 25, Name = "Finalize cost analysis", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 20d })); - data[4].ChildTask.Add((new CustomNodeStyleModel() { Id = 26, Name = "Analyze performance", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[4].ChildTask.Add((new CustomNodeStyleModel() { Id = 27, Name = "Archive files", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); - data[4].ChildTask.Add((new CustomNodeStyleModel() { Id = 28, Name = "Document lessons learned", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 18), Complete = 20d })); - data[4].ChildTask.Add((new CustomNodeStyleModel() { Id = 29, Name = "Distribute to team members", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 30d })); - data[4].ChildTask.Add((new CustomNodeStyleModel() { Id = 30, Name = "Post-project review complete", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 20d })); + data.Add(new CustomNodeStyleModel() { Id = 24, Name = "Post-Project Review", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 40d }); + data[4].ChildTask.Add((new CustomNodeStyleModel() { Id = 25, Name = "Finalize cost analysis", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d })); + data[4].ChildTask.Add((new CustomNodeStyleModel() { Id = 26, Name = "Analyze performance", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[4].ChildTask.Add((new CustomNodeStyleModel() { Id = 27, Name = "Archive files", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); + data[4].ChildTask.Add((new CustomNodeStyleModel() { Id = 28, Name = "Document lessons learned", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 18), Complete = 20d })); + data[4].ChildTask.Add((new CustomNodeStyleModel() { Id = 29, Name = "Distribute to team members", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 30d })); + data[4].ChildTask.Add((new CustomNodeStyleModel() { Id = 30, Name = "Post-project review complete", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 20d })); data[0].ChildTask[1].Predecessor.Add(new Predecessor() { GanttTaskIndex = 2, GanttTaskRelationship = GanttTaskRelationship.StartToStart }); data[0].ChildTask[2].Predecessor.Add(new Predecessor() { GanttTaskIndex = 3, GanttTaskRelationship = GanttTaskRelationship.StartToStart }); diff --git a/gantt/ViewModel/CustomToolTipViewModel.cs b/gantt/ViewModel/CustomToolTipViewModel.cs index 73e0d9751..2d92bbd59 100644 --- a/gantt/ViewModel/CustomToolTipViewModel.cs +++ b/gantt/ViewModel/CustomToolTipViewModel.cs @@ -59,30 +59,30 @@ public ObservableCollection TaskCollections public ObservableCollection GetData() { var data = new ObservableCollection(); - data.Add(new Task() { Id = 1, Name = "Scope", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 40d, Resource = new ObservableCollection() { new Resource() { Name = "John" } } }); - data[0].ChildTask.Add((new Task() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 20d })); - data[0].ChildTask.Add((new Task() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[0].ChildTask.Add((new Task() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); - data[0].ChildTask.Add((new Task() { Id = 5, Name = "Secure complete", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); + data.Add(new Task() { Id = 1, Name = "Scope", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 40d, Resource = new ObservableCollection() { new Resource() { Name = "John" } } }); + data[0].ChildTask.Add((new Task() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d })); + data[0].ChildTask.Add((new Task() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[0].ChildTask.Add((new Task() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); + data[0].ChildTask.Add((new Task() { Id = 5, Name = "Secure complete", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); - data.Add(new Task() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2011, 7, 15), EndDate = new DateTime(2011, 7, 24), Resource = new ObservableCollection() { new Resource() { Name = "David" } } }); - data[1].ChildTask.Add((new Task() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2011, 7, 15), EndDate = new DateTime(2011, 7, 21), Complete = 20d })); - data[1].ChildTask.Add((new Task() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2011, 7, 21), EndDate = new DateTime(2011, 7, 23), Complete = 20d })); - data[1].ChildTask.Add((new Task() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2011, 7, 21), EndDate = new DateTime(2011, 7, 24), Complete = 20d })); - data[1].ChildTask.Add((new Task() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2011, 7, 24), EndDate = new DateTime(2011, 7, 24), Complete = 30d })); + data.Add(new Task() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2024, 7, 15), EndDate = new DateTime(2024, 7, 24), Resource = new ObservableCollection() { new Resource() { Name = "David" } } }); + data[1].ChildTask.Add((new Task() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2024, 7, 15), EndDate = new DateTime(2024, 7, 21), Complete = 20d })); + data[1].ChildTask.Add((new Task() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2024, 7, 21), EndDate = new DateTime(2024, 7, 23), Complete = 20d })); + data[1].ChildTask.Add((new Task() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2024, 7, 21), EndDate = new DateTime(2024, 7, 24), Complete = 20d })); + data[1].ChildTask.Add((new Task() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2024, 7, 24), EndDate = new DateTime(2024, 7, 24), Complete = 30d })); - data.Add(new Task() { Id = 11, Name = "Monitoring", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); - data[2].ChildTask.Add((new Task() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 7, 26), Complete = 20d })); - data[2].ChildTask.Add((new Task() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2011, 7, 27), EndDate = new DateTime(2011, 7, 30), Complete = 20d })); - data[2].ChildTask.Add((new Task() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2011, 7, 31), EndDate = new DateTime(2011, 8, 2), Complete = 20d })); - data[2].ChildTask.Add((new Task() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2011, 8, 3), EndDate = new DateTime(2011, 8, 6), Complete = 30d })); - data[2].ChildTask.Add((new Task() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2011, 8, 6), EndDate = new DateTime(2011, 8, 6), Complete = 30d })); + data.Add(new Task() { Id = 11, Name = "Monitoring", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); + data[2].ChildTask.Add((new Task() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 7, 26), Complete = 20d })); + data[2].ChildTask.Add((new Task() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2024, 7, 27), EndDate = new DateTime(2024, 7, 30), Complete = 20d })); + data[2].ChildTask.Add((new Task() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2024, 7, 31), EndDate = new DateTime(2024, 8, 2), Complete = 20d })); + data[2].ChildTask.Add((new Task() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2024, 8, 3), EndDate = new DateTime(2024, 8, 6), Complete = 30d })); + data[2].ChildTask.Add((new Task() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2024, 8, 6), EndDate = new DateTime(2024, 8, 6), Complete = 30d })); - data.Add(new Task() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 8, 12) }); - data[3].ChildTask.Add((new Task() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 7, 29), Complete = 20d })); - data[3].ChildTask.Add((new Task() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2011, 7, 29), EndDate = new DateTime(2011, 8, 5), Complete = 20d })); - data[3].ChildTask.Add((new Task() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2011, 8, 2), EndDate = new DateTime(2011, 8, 8), Complete = 20d })); - data[3].ChildTask.Add((new Task() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2011, 8, 8), EndDate = new DateTime(2011, 8, 12), Complete = 30d })); + data.Add(new Task() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 8, 12) }); + data[3].ChildTask.Add((new Task() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 7, 29), Complete = 20d })); + data[3].ChildTask.Add((new Task() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2024, 7, 29), EndDate = new DateTime(2024, 8, 5), Complete = 20d })); + data[3].ChildTask.Add((new Task() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2024, 8, 2), EndDate = new DateTime(2024, 8, 8), Complete = 20d })); + data[3].ChildTask.Add((new Task() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2024, 8, 8), EndDate = new DateTime(2024, 8, 12), Complete = 30d })); data[0].ChildTask[1].Predecessor.Add(new Predecessor() { GanttTaskIndex = 2, GanttTaskRelationship = GanttTaskRelationship.StartToStart }); diff --git a/gantt/ViewModel/CustomZoomingViewModel.cs b/gantt/ViewModel/CustomZoomingViewModel.cs index 1580a0cc0..48feca3f9 100644 --- a/gantt/ViewModel/CustomZoomingViewModel.cs +++ b/gantt/ViewModel/CustomZoomingViewModel.cs @@ -140,16 +140,16 @@ public ObservableCollection GetData() { ObservableCollection Activities = new ObservableCollection(); - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 2), FinishDate = new DateTime(2010, 6, 18), TaskName = "Analysing Market Scope of the Product", TaskId = 1 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 2), FinishDate = new DateTime(2024, 6, 18), TaskName = "Analysing Market Scope of the Product", TaskId = 1 }); ObservableCollection MarketAnalysis = new ObservableCollection(); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 2), FinishDate = new DateTime(2010, 6, 6), TaskName = "Current Market Review", TaskId = 2 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 6), FinishDate = new DateTime(2010, 6, 9), TaskName = "Establish milestone for future development", TaskId = 3 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 9), FinishDate = new DateTime(2010, 6, 10), TaskName = "Establish goals", TaskId = 4 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 10), FinishDate = new DateTime(2010, 6, 13), TaskName = "Sales, marketing and pricing plan", TaskId = 5 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 11), FinishDate = new DateTime(2010, 6, 14), TaskName = "Define product goals and milestones", TaskId = 6 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 12), FinishDate = new DateTime(2010, 6, 17), TaskName = "Organization status review", TaskId = 7 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 18), FinishDate = new DateTime(2010, 6, 18), TaskName = "Market Scope of Product clarified", TaskId = 8 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 2), FinishDate = new DateTime(2024, 6, 6), TaskName = "Current Market Review", TaskId = 2 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 6), FinishDate = new DateTime(2024, 6, 9), TaskName = "Establish milestone for future development", TaskId = 3 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 9), FinishDate = new DateTime(2024, 6, 10), TaskName = "Establish goals", TaskId = 4 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 10), FinishDate = new DateTime(2024, 6, 13), TaskName = "Sales, marketing and pricing plan", TaskId = 5 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 11), FinishDate = new DateTime(2024, 6, 14), TaskName = "Define product goals and milestones", TaskId = 6 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 12), FinishDate = new DateTime(2024, 6, 17), TaskName = "Organization status review", TaskId = 7 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 18), FinishDate = new DateTime(2024, 6, 18), TaskName = "Market Scope of Product clarified", TaskId = 8 }); ObservableCollection mrkPredecessor = new ObservableCollection(); mrkPredecessor.Add(new Predecessor { GanttTaskIndex = 2, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); mrkPredecessor.Add(new Predecessor { GanttTaskIndex = 3, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -168,11 +168,11 @@ public ObservableCollection GetData() Activities[0].Child = MarketAnalysis; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 18), FinishDate = new DateTime(2010, 7, 14), TaskName = "Infrastructure for Product Planning", TaskId = 9 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 18), FinishDate = new DateTime(2024, 7, 14), TaskName = "Infrastructure for Product Planning", TaskId = 9 }); ObservableCollection InfrastructureReq = new ObservableCollection(); - InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 18), FinishDate = new DateTime(2010, 6, 24), TaskName = "Define procedure for qualifying ideas", TaskId = 10 }); - InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 24), FinishDate = new DateTime(2010, 7, 7), TaskName = "Define process for idea sharing", TaskId = 11 }); - InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 7), FinishDate = new DateTime(2010, 7, 14), TaskName = "Infrastructure for Product planning Complete", TaskId = 12 }); + InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 18), FinishDate = new DateTime(2024, 6, 24), TaskName = "Define procedure for qualifying ideas", TaskId = 10 }); + InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 24), FinishDate = new DateTime(2024, 7, 7), TaskName = "Define process for idea sharing", TaskId = 11 }); + InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 7), FinishDate = new DateTime(2024, 7, 14), TaskName = "Infrastructure for Product planning Complete", TaskId = 12 }); InfrastructureReq[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 10, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); InfrastructureReq[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 11, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -182,14 +182,14 @@ public ObservableCollection GetData() Activities[1].Child = InfrastructureReq; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 14), FinishDate = new DateTime(2010, 8, 29), TaskName = "Product Definition Phase", TaskId = 13 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 8, 29), TaskName = "Product Definition Phase", TaskId = 13 }); ObservableCollection Product = new ObservableCollection(); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 14), FinishDate = new DateTime(2010, 7, 25), TaskName = "Identify product", TaskId = 14 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 28), FinishDate = new DateTime(2010, 8, 1), TaskName = "Identify need for the product", TaskId = 15 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 4), FinishDate = new DateTime(2010, 8, 8), TaskName = "Identify current trend for targets", TaskId = 16 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 4), FinishDate = new DateTime(2010, 8, 29), TaskName = "Define product use and features", TaskId = 17 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 4), FinishDate = new DateTime(2010, 8, 8), TaskName = "Identify competitor product", TaskId = 18 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 29), FinishDate = new DateTime(2010, 8, 29), TaskName = "Product Definition Complete", TaskId = 19 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 7, 25), TaskName = "Identify product", TaskId = 14 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 28), FinishDate = new DateTime(2024, 8, 1), TaskName = "Identify need for the product", TaskId = 15 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 4), FinishDate = new DateTime(2024, 8, 8), TaskName = "Identify current trend for targets", TaskId = 16 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 4), FinishDate = new DateTime(2024, 8, 29), TaskName = "Define product use and features", TaskId = 17 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 4), FinishDate = new DateTime(2024, 8, 8), TaskName = "Identify competitor product", TaskId = 18 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 29), FinishDate = new DateTime(2024, 8, 29), TaskName = "Product Definition Complete", TaskId = 19 }); Product[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 14, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Product[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 15, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -206,13 +206,13 @@ public ObservableCollection GetData() Activities[2].Child = Product; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 10), TaskName = "Analysing Customer Requirement", TaskId = 20 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 10), TaskName = "Analysing Customer Requirement", TaskId = 20 }); ObservableCollection Customer = new ObservableCollection(); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 4), TaskName = "Identify Consumer of Products", TaskId = 21 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 3), FinishDate = new DateTime(2010, 9, 6), TaskName = "Identify Customer Requirement", TaskId = 22 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 5), FinishDate = new DateTime(2010, 9, 8), TaskName = "Analysing Customer Requiremet with current plan", TaskId = 23 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 7), FinishDate = new DateTime(2010, 9, 10), TaskName = "Design based on Customer Requirement", TaskId = 24 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 10), FinishDate = new DateTime(2010, 9, 10), TaskName = "Customer Requirement Analysis Complete", TaskId = 25 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 4), TaskName = "Identify Consumer of Products", TaskId = 21 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 3), FinishDate = new DateTime(2024, 9, 6), TaskName = "Identify Customer Requirement", TaskId = 22 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 5), FinishDate = new DateTime(2024, 9, 8), TaskName = "Analysing Customer Requiremet with current plan", TaskId = 23 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 7), FinishDate = new DateTime(2024, 9, 10), TaskName = "Design based on Customer Requirement", TaskId = 24 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 10), FinishDate = new DateTime(2024, 9, 10), TaskName = "Customer Requirement Analysis Complete", TaskId = 25 }); Customer[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 21, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Customer[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 22, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Customer[3].Predecessor.Add(new Predecessor { GanttTaskIndex = 23, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -225,12 +225,12 @@ public ObservableCollection GetData() Activities[3].Child = Customer; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 10, 10), TaskName = "Competitor Analysis", TaskId = 26 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 10, 10), TaskName = "Competitor Analysis", TaskId = 26 }); ObservableCollection Competitor = new ObservableCollection(); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 13), TaskName = "Define competitor with similar Product", TaskId = 27 }); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 13), FinishDate = new DateTime(2010, 9, 20), TaskName = "Define competitive advantage", TaskId = 28 }); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 22), FinishDate = new DateTime(2010, 9, 27), TaskName = "Identify competitive features", TaskId = 29 }); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 29), FinishDate = new DateTime(2010, 10, 10), TaskName = "Define how to build competitive features", TaskId = 30 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 13), TaskName = "Define competitor with similar Product", TaskId = 27 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 13), FinishDate = new DateTime(2024, 9, 20), TaskName = "Define competitive advantage", TaskId = 28 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 22), FinishDate = new DateTime(2024, 9, 27), TaskName = "Identify competitive features", TaskId = 29 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 29), FinishDate = new DateTime(2024, 10, 10), TaskName = "Define how to build competitive features", TaskId = 30 }); Competitor[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 27, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Competitor[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 28, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Competitor[3].Predecessor.Add(new Predecessor { GanttTaskIndex = 29, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -240,13 +240,13 @@ public ObservableCollection GetData() Competitor[2].Resources.Add(this.ResourceDetails[1]); Activities[4].Child = Competitor; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 9), FinishDate = new DateTime(2010, 9, 20), TaskName = "Defining Sucess Measure", TaskId = 31 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 9), FinishDate = new DateTime(2024, 9, 20), TaskName = "Defining Sucess Measure", TaskId = 31 }); ObservableCollection Measure = new ObservableCollection(); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 6), TaskName = "Identify Risks", TaskId = 32 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 6), TaskName = "Define Key success measures", TaskId = 33 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 7), FinishDate = new DateTime(2010, 9, 13), TaskName = "Define strategy to address risks", TaskId = 34 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 13), FinishDate = new DateTime(2010, 9, 20), TaskName = "Define strategy to meet market position", TaskId = 35 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 20), FinishDate = new DateTime(2010, 9, 20), TaskName = "Success Measure Defined", TaskId = 36 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 6), TaskName = "Identify Risks", TaskId = 32 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 6), TaskName = "Define Key success measures", TaskId = 33 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 7), FinishDate = new DateTime(2024, 9, 13), TaskName = "Define strategy to address risks", TaskId = 34 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 13), FinishDate = new DateTime(2024, 9, 20), TaskName = "Define strategy to meet market position", TaskId = 35 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 20), FinishDate = new DateTime(2024, 9, 20), TaskName = "Success Measure Defined", TaskId = 36 }); Measure[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 32, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Measure[4].Predecessor.Add(new Predecessor { GanttTaskIndex = 33, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -261,13 +261,13 @@ public ObservableCollection GetData() Activities[5].Child = Measure; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 23), FinishDate = new DateTime(2010, 10, 17), TaskName = "Defining Team to Develop", TaskId = 37 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 23), FinishDate = new DateTime(2024, 10, 17), TaskName = "Defining Team to Develop", TaskId = 37 }); ObservableCollection Team = new ObservableCollection(); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 23), FinishDate = new DateTime(2010, 9, 27), TaskName = "Define successful team components for success", TaskId = 38 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 30), FinishDate = new DateTime(2010, 10, 3), TaskName = "Identify Key qualities needed to develop, produce and grow", TaskId = 39 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 6), FinishDate = new DateTime(2010, 10, 10), TaskName = "Define current team members", TaskId = 40 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 13), FinishDate = new DateTime(2010, 10, 17), TaskName = "Identify and address gaps", TaskId = 41 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 17), FinishDate = new DateTime(2010, 10, 17), TaskName = "Team Defined", TaskId = 42 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 23), FinishDate = new DateTime(2024, 9, 27), TaskName = "Define successful team components for success", TaskId = 38 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 30), FinishDate = new DateTime(2024, 10, 3), TaskName = "Identify Key qualities needed to develop, produce and grow", TaskId = 39 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 6), FinishDate = new DateTime(2024, 10, 10), TaskName = "Define current team members", TaskId = 40 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 13), FinishDate = new DateTime(2024, 10, 17), TaskName = "Identify and address gaps", TaskId = 41 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 17), FinishDate = new DateTime(2024, 10, 17), TaskName = "Team Defined", TaskId = 42 }); Team[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 38, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Team[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 39, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -276,14 +276,14 @@ public ObservableCollection GetData() Activities[6].Child = Team; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 24), TaskName = "Budgeting in the Product", TaskId = 43 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 24), TaskName = "Budgeting in the Product", TaskId = 43 }); ObservableCollection Budget = new ObservableCollection(); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 3), TaskName = "Define financial metrics of product", TaskId = 44 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 3), FinishDate = new DateTime(2010, 9, 13), TaskName = "Estimate cost need to develop", TaskId = 45 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 13), FinishDate = new DateTime(2010, 9, 15), TaskName = "Estimate time to develop", TaskId = 46 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 15), FinishDate = new DateTime(2010, 9, 20), TaskName = "Analyse resource cost", TaskId = 47 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 20), FinishDate = new DateTime(2010, 9, 24), TaskName = "Define financial plan of Product", TaskId = 48 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 24), FinishDate = new DateTime(2010, 9, 24), TaskName = "Product Budget defined", TaskId = 49 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 3), TaskName = "Define financial metrics of product", TaskId = 44 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 3), FinishDate = new DateTime(2024, 9, 13), TaskName = "Estimate cost need to develop", TaskId = 45 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 13), FinishDate = new DateTime(2024, 9, 15), TaskName = "Estimate time to develop", TaskId = 46 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 15), FinishDate = new DateTime(2024, 9, 20), TaskName = "Analyse resource cost", TaskId = 47 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 20), FinishDate = new DateTime(2024, 9, 24), TaskName = "Define financial plan of Product", TaskId = 48 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 24), FinishDate = new DateTime(2024, 9, 24), TaskName = "Product Budget defined", TaskId = 49 }); Budget[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 44, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Budget[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 45, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -299,11 +299,11 @@ public ObservableCollection GetData() Activities[7].Child = Budget; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 20), FinishDate = new DateTime(2010, 11, 10), TaskName = "Product Development", TaskId = 50 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 20), FinishDate = new DateTime(2024, 11, 10), TaskName = "Product Development", TaskId = 50 }); ObservableCollection Development = new ObservableCollection(); - Development.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 20), FinishDate = new DateTime(2010, 10, 30), TaskName = "Implementation Phase 1", TaskId = 51 }); - Development.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 30), FinishDate = new DateTime(2010, 11, 10), TaskName = "Implementation Phase 2", TaskId = 52 }); - Development.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 10), FinishDate = new DateTime(2010, 11, 10), TaskName = "Product Developed", TaskId = 53 }); + Development.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 20), FinishDate = new DateTime(2024, 10, 30), TaskName = "Implementation Phase 1", TaskId = 51 }); + Development.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 30), FinishDate = new DateTime(2024, 11, 10), TaskName = "Implementation Phase 2", TaskId = 52 }); + Development.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 10), FinishDate = new DateTime(2024, 11, 10), TaskName = "Product Developed", TaskId = 53 }); Development[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 51, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Development[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 52, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -313,17 +313,17 @@ public ObservableCollection GetData() Development[2].Resources.Add(this.ResourceDetails[5]); Activities[8].Child = Development; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 8), FinishDate = new DateTime(2010, 11, 13), TaskName = "Product Review", TaskId = 54 }); - Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 8), FinishDate = new DateTime(2010, 11, 10), TaskName = "Product Techincal Review", TaskId = 55 }); - Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 9), FinishDate = new DateTime(2010, 11, 13), TaskName = "Product Cost Review", TaskId = 56 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 8), FinishDate = new DateTime(2024, 11, 13), TaskName = "Product Review", TaskId = 54 }); + Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 8), FinishDate = new DateTime(2024, 11, 10), TaskName = "Product Techincal Review", TaskId = 55 }); + Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 9), FinishDate = new DateTime(2024, 11, 13), TaskName = "Product Cost Review", TaskId = 56 }); - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 15), FinishDate = new DateTime(2010, 11, 30), TaskName = "Beta Testing", TaskId = 57 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 15), FinishDate = new DateTime(2024, 11, 30), TaskName = "Beta Testing", TaskId = 57 }); ObservableCollection Testing = new ObservableCollection(); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 15), FinishDate = new DateTime(2010, 11, 17), TaskName = "Disseminate completed product", TaskId = 58 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 18), FinishDate = new DateTime(2010, 11, 20), TaskName = "Obtain feedback", TaskId = 59 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 20), FinishDate = new DateTime(2010, 11, 25), TaskName = "Modification", TaskId = 60 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 24), FinishDate = new DateTime(2010, 11, 30), TaskName = "Test", TaskId = 61 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 30), FinishDate = new DateTime(2010, 11, 30), TaskName = "Testing Completed", TaskId = 62 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 15), FinishDate = new DateTime(2024, 11, 17), TaskName = "Disseminate completed product", TaskId = 58 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 18), FinishDate = new DateTime(2024, 11, 20), TaskName = "Obtain feedback", TaskId = 59 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 20), FinishDate = new DateTime(2024, 11, 25), TaskName = "Modification", TaskId = 60 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 24), FinishDate = new DateTime(2024, 11, 30), TaskName = "Test", TaskId = 61 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 30), FinishDate = new DateTime(2024, 11, 30), TaskName = "Testing Completed", TaskId = 62 })); Testing[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 58, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Testing[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 59, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -337,14 +337,14 @@ public ObservableCollection GetData() Testing[4].Resources.Add(this.ResourceDetails[6]); Activities[10].Child = Testing; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 25), FinishDate = new DateTime(2010, 12, 06), TaskName = "Post Product Review", TaskId = 63 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 25), FinishDate = new DateTime(2024, 12, 06), TaskName = "Post Product Review", TaskId = 63 }); ObservableCollection PostReview = new ObservableCollection(); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 25), FinishDate = new DateTime(2010, 11, 27), TaskName = "Finalize cost analysis", TaskId = 64 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 27), FinishDate = new DateTime(2010, 11, 28), TaskName = "Analyze performance", TaskId = 65 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 29), FinishDate = new DateTime(2010, 12, 2), TaskName = "Archive files", TaskId = 66 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 12, 2), FinishDate = new DateTime(2010, 12, 4), TaskName = "Document lessons learned", TaskId = 67 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 12, 4), FinishDate = new DateTime(2010, 12, 6), TaskName = "Distribute to team members", TaskId = 68 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 12, 6), FinishDate = new DateTime(2010, 12, 6), TaskName = "Post-project review complete", TaskId = 69 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 25), FinishDate = new DateTime(2024, 11, 27), TaskName = "Finalize cost analysis", TaskId = 64 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 27), FinishDate = new DateTime(2024, 11, 28), TaskName = "Analyze performance", TaskId = 65 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 29), FinishDate = new DateTime(2024, 12, 2), TaskName = "Archive files", TaskId = 66 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 12, 2), FinishDate = new DateTime(2024, 12, 4), TaskName = "Document lessons learned", TaskId = 67 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 12, 4), FinishDate = new DateTime(2024, 12, 6), TaskName = "Distribute to team members", TaskId = 68 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 12, 6), FinishDate = new DateTime(2024, 12, 6), TaskName = "Post-project review complete", TaskId = 69 })); PostReview[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 64, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); PostReview[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 65, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -360,7 +360,7 @@ public ObservableCollection GetData() Activities[11].Child = PostReview; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 12, 10), FinishDate = new DateTime(2010, 12, 10), TaskName = "Product Released Successfully", TaskId = 70 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 12, 10), FinishDate = new DateTime(2024, 12, 10), TaskName = "Product Released Successfully", TaskId = 70 }); return Activities; } diff --git a/gantt/ViewModel/CustomizedScheduleAppearanceViewModel.cs b/gantt/ViewModel/CustomizedScheduleAppearanceViewModel.cs index 3f8c83fe2..d6faa8615 100644 --- a/gantt/ViewModel/CustomizedScheduleAppearanceViewModel.cs +++ b/gantt/ViewModel/CustomizedScheduleAppearanceViewModel.cs @@ -96,30 +96,30 @@ public ObservableCollection GetData() { var data = new ObservableCollection(); - data.Add(new Task() { Id = 1, Name = "Scope", StDate = new DateTime(2011, 8, 9), EndDate = new DateTime(2012, 6, 20), Complete = 40d }); - data[0].ChildTask.Add((new Task() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2011, 8, 9), EndDate = new DateTime(2012, 2, 20), Complete = 20d, })); - data[0].ChildTask.Add((new Task() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2011, 11, 6), EndDate = new DateTime(2012, 4, 7), Complete = 20d, })); - data[0].ChildTask.Add((new Task() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2012, 2, 10), EndDate = new DateTime(2012, 6, 14), Complete = 10d, })); - data[0].ChildTask.Add((new Task() { Id = 5, Name = "Secure complete", StDate = new DateTime(2012, 6, 14), EndDate = new DateTime(2012, 9, 14), Complete = 10d })); - - data.Add(new Task() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2012, 7, 15), EndDate = new DateTime(2011, 7, 24) }); - data[1].ChildTask.Add((new Task() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2012, 2, 15), EndDate = new DateTime(2012, 8, 21), Complete = 20d, })); - data[1].ChildTask.Add((new Task() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2012, 5, 21), EndDate = new DateTime(2012, 7, 23), Complete = 20d, })); - data[1].ChildTask.Add((new Task() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2012, 8, 21), EndDate = new DateTime(2013, 2, 24), Complete = 20d, })); - data[1].ChildTask.Add((new Task() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2012, 4, 24), EndDate = new DateTime(2012, 9, 24), Complete = 30d })); - - data.Add(new Task() { Id = 11, Name = "Monitoring", StDate = new DateTime(2012, 7, 25), EndDate = new DateTime(2012, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); - data[2].ChildTask.Add((new Task() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2012, 9, 25), EndDate = new DateTime(2012, 12, 26), Complete = 20d, })); - data[2].ChildTask.Add((new Task() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2013, 1, 27), EndDate = new DateTime(2013, 7, 30), Complete = 20d, })); - data[2].ChildTask.Add((new Task() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2013, 3, 30), EndDate = new DateTime(2013, 7, 2), Complete = 20d, })); - data[2].ChildTask.Add((new Task() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2013, 5, 3), EndDate = new DateTime(2013, 9, 6), Complete = 30d, })); - data[2].ChildTask.Add((new Task() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2013, 7, 6), EndDate = new DateTime(2013, 12, 6), Complete = 30d })); - - data.Add(new Task() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2013, 7, 25), EndDate = new DateTime(2012, 3, 12) }); - data[3].ChildTask.Add((new Task() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2013, 7, 25), EndDate = new DateTime(2014, 4, 29), Complete = 20d, })); - data[3].ChildTask.Add((new Task() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2013, 10, 29), EndDate = new DateTime(2014, 7, 5), Complete = 20d, })); - data[3].ChildTask.Add((new Task() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2014, 1, 2), EndDate = new DateTime(2014, 9, 8), Complete = 20d, })); - data[3].ChildTask.Add((new Task() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2014, 4, 8), EndDate = new DateTime(2014, 9, 12), Complete = 30d })); + data.Add(new Task() { Id = 1, Name = "Scope", StDate = new DateTime(2024, 8, 9), EndDate = new DateTime(2024, 6, 20), Complete = 40d }); + data[0].ChildTask.Add((new Task() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2024, 8, 9), EndDate = new DateTime(2024, 2, 20), Complete = 20d, })); + data[0].ChildTask.Add((new Task() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2024, 11, 6), EndDate = new DateTime(2024, 4, 7), Complete = 20d, })); + data[0].ChildTask.Add((new Task() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2024, 2, 10), EndDate = new DateTime(2024, 6, 14), Complete = 10d, })); + data[0].ChildTask.Add((new Task() { Id = 5, Name = "Secure complete", StDate = new DateTime(2024, 6, 14), EndDate = new DateTime(2024, 9, 14), Complete = 10d })); + + data.Add(new Task() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2024, 7, 15), EndDate = new DateTime(2024, 7, 24) }); + data[1].ChildTask.Add((new Task() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2024, 2, 15), EndDate = new DateTime(2024, 8, 21), Complete = 20d, })); + data[1].ChildTask.Add((new Task() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2024, 5, 21), EndDate = new DateTime(2024, 7, 23), Complete = 20d, })); + data[1].ChildTask.Add((new Task() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2024, 8, 21), EndDate = new DateTime(2025, 2, 24), Complete = 20d, })); + data[1].ChildTask.Add((new Task() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2024, 4, 24), EndDate = new DateTime(2024, 9, 24), Complete = 30d })); + + data.Add(new Task() { Id = 11, Name = "Monitoring", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); + data[2].ChildTask.Add((new Task() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2024, 9, 25), EndDate = new DateTime(2024, 12, 26), Complete = 20d, })); + data[2].ChildTask.Add((new Task() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2025, 1, 27), EndDate = new DateTime(2025, 7, 30), Complete = 20d, })); + data[2].ChildTask.Add((new Task() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2025, 3, 30), EndDate = new DateTime(2025, 7, 2), Complete = 20d, })); + data[2].ChildTask.Add((new Task() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2025, 5, 3), EndDate = new DateTime(2025, 9, 6), Complete = 30d, })); + data[2].ChildTask.Add((new Task() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2025, 7, 6), EndDate = new DateTime(2025, 12, 6), Complete = 30d })); + + data.Add(new Task() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2025, 7, 25), EndDate = new DateTime(2024, 3, 12) }); + data[3].ChildTask.Add((new Task() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2025, 7, 25), EndDate = new DateTime(2026, 4, 29), Complete = 20d, })); + data[3].ChildTask.Add((new Task() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2025, 10, 29), EndDate = new DateTime(2026, 7, 5), Complete = 20d, })); + data[3].ChildTask.Add((new Task() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2026, 1, 2), EndDate = new DateTime(2026, 9, 8), Complete = 20d, })); + data[3].ChildTask.Add((new Task() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2026, 4, 8), EndDate = new DateTime(2026, 9, 12), Complete = 30d })); data[0].ChildTask[0].Resource.Add(new Resource() { ID = 1, Name = "Leslie" }); data[0].ChildTask[1].Resource.Add(new Resource() { ID = 2, Name = "John" }); diff --git a/gantt/ViewModel/CustomizedTableViewModel.cs b/gantt/ViewModel/CustomizedTableViewModel.cs index aca22ce7f..c01ce84e4 100644 --- a/gantt/ViewModel/CustomizedTableViewModel.cs +++ b/gantt/ViewModel/CustomizedTableViewModel.cs @@ -52,30 +52,30 @@ public ObservableCollection TaskCollection public ObservableCollection GetData() { var data = new ObservableCollection(); - data.Add(new CustomizedTableModel() { Id = 1, Name = "Scope", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 40d }); - data[0].ChildTask.Add((new CustomizedTableModel() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 100d, })); - data[0].ChildTask.Add((new CustomizedTableModel() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 100d })); - data[0].ChildTask.Add((new CustomizedTableModel() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d, })); - data[0].ChildTask.Add((new CustomizedTableModel() { Id = 5, Name = "Secure complete", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); - - data.Add(new CustomizedTableModel() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2011, 7, 15), EndDate = new DateTime(2011, 7, 24) }); - data[1].ChildTask.Add((new CustomizedTableModel() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2011, 7, 15), EndDate = new DateTime(2011, 7, 21), Complete = 20d, })); - data[1].ChildTask.Add((new CustomizedTableModel() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2011, 7, 21), EndDate = new DateTime(2011, 7, 23), Complete = 20d, })); - data[1].ChildTask.Add((new CustomizedTableModel() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2011, 7, 21), EndDate = new DateTime(2011, 7, 24), Complete = 20d, })); - data[1].ChildTask.Add((new CustomizedTableModel() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2011, 7, 24), EndDate = new DateTime(2011, 7, 24), Complete = 30d })); - - data.Add(new CustomizedTableModel() { Id = 11, Name = "Monitoring", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); - data[2].ChildTask.Add((new CustomizedTableModel() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 7, 26), Complete = 20d, })); - data[2].ChildTask.Add((new CustomizedTableModel() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2011, 7, 27), EndDate = new DateTime(2011, 7, 30), Complete = 20d, })); - data[2].ChildTask.Add((new CustomizedTableModel() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2011, 7, 31), EndDate = new DateTime(2011, 8, 2), Complete = 20d, })); - data[2].ChildTask.Add((new CustomizedTableModel() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2011, 8, 3), EndDate = new DateTime(2011, 8, 6), Complete = 30d, })); - data[2].ChildTask.Add((new CustomizedTableModel() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2011, 8, 6), EndDate = new DateTime(2011, 8, 6), Complete = 30d })); - - data.Add(new CustomizedTableModel() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 8, 12) }); - data[3].ChildTask.Add((new CustomizedTableModel() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 7, 29), Complete = 20d, })); - data[3].ChildTask.Add((new CustomizedTableModel() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2011, 7, 29), EndDate = new DateTime(2011, 8, 5), Complete = 20d, })); - data[3].ChildTask.Add((new CustomizedTableModel() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2011, 8, 2), EndDate = new DateTime(2011, 8, 8), Complete = 20d, })); - data[3].ChildTask.Add((new CustomizedTableModel() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2011, 8, 8), EndDate = new DateTime(2011, 8, 12), Complete = 30d })); + data.Add(new CustomizedTableModel() { Id = 1, Name = "Scope", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 40d }); + data[0].ChildTask.Add((new CustomizedTableModel() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 100d, })); + data[0].ChildTask.Add((new CustomizedTableModel() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 100d })); + data[0].ChildTask.Add((new CustomizedTableModel() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d, })); + data[0].ChildTask.Add((new CustomizedTableModel() { Id = 5, Name = "Secure complete", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); + + data.Add(new CustomizedTableModel() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2024, 7, 15), EndDate = new DateTime(2024, 7, 24) }); + data[1].ChildTask.Add((new CustomizedTableModel() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2024, 7, 15), EndDate = new DateTime(2024, 7, 21), Complete = 20d, })); + data[1].ChildTask.Add((new CustomizedTableModel() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2024, 7, 21), EndDate = new DateTime(2024, 7, 23), Complete = 20d, })); + data[1].ChildTask.Add((new CustomizedTableModel() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2024, 7, 21), EndDate = new DateTime(2024, 7, 24), Complete = 20d, })); + data[1].ChildTask.Add((new CustomizedTableModel() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2024, 7, 24), EndDate = new DateTime(2024, 7, 24), Complete = 30d })); + + data.Add(new CustomizedTableModel() { Id = 11, Name = "Monitoring", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); + data[2].ChildTask.Add((new CustomizedTableModel() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 7, 26), Complete = 20d, })); + data[2].ChildTask.Add((new CustomizedTableModel() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2024, 7, 27), EndDate = new DateTime(2024, 7, 30), Complete = 20d, })); + data[2].ChildTask.Add((new CustomizedTableModel() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2024, 7, 31), EndDate = new DateTime(2024, 8, 2), Complete = 20d, })); + data[2].ChildTask.Add((new CustomizedTableModel() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2024, 8, 3), EndDate = new DateTime(2024, 8, 6), Complete = 30d, })); + data[2].ChildTask.Add((new CustomizedTableModel() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2024, 8, 6), EndDate = new DateTime(2024, 8, 6), Complete = 30d })); + + data.Add(new CustomizedTableModel() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 8, 12) }); + data[3].ChildTask.Add((new CustomizedTableModel() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 7, 29), Complete = 20d, })); + data[3].ChildTask.Add((new CustomizedTableModel() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2024, 7, 29), EndDate = new DateTime(2024, 8, 5), Complete = 20d, })); + data[3].ChildTask.Add((new CustomizedTableModel() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2024, 8, 2), EndDate = new DateTime(2024, 8, 8), Complete = 20d, })); + data[3].ChildTask.Add((new CustomizedTableModel() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2024, 8, 8), EndDate = new DateTime(2024, 8, 12), Complete = 30d })); data[0].ChildTask[0].Resource.Add(new Resource() { ID = 1, Name = "Leslie" }); data[0].ChildTask[1].Resource.Add(new Resource() { ID = 2, Name = "John" }); diff --git a/gantt/ViewModel/EssentialGanttViewModel.cs b/gantt/ViewModel/EssentialGanttViewModel.cs index 733e972a8..ec1720862 100644 --- a/gantt/ViewModel/EssentialGanttViewModel.cs +++ b/gantt/ViewModel/EssentialGanttViewModel.cs @@ -96,16 +96,16 @@ public ObservableCollection GetData() { ObservableCollection Activities = new ObservableCollection(); - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 2), FinishDate = new DateTime(2010, 6, 18), TaskName = "Analysing Market Scope of the Product", TaskId = 1 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 2), FinishDate = new DateTime(2024, 6, 18), TaskName = "Analysing Market Scope of the Product", TaskId = 1 }); ObservableCollection MarketAnalysis = new ObservableCollection(); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 2), FinishDate = new DateTime(2010, 6, 6), TaskName = "Current Market Review", TaskId = 2 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 6), FinishDate = new DateTime(2010, 6, 9), TaskName = "Establish milestone for future development", TaskId = 3 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 9), FinishDate = new DateTime(2010, 6, 10), TaskName = "Establish goals", TaskId = 4 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 10), FinishDate = new DateTime(2010, 6, 13), TaskName = "Sales, marketing and pricing plan", TaskId = 5 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 11), FinishDate = new DateTime(2010, 6, 14), TaskName = "Define product goals and milestones", TaskId = 6 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 12), FinishDate = new DateTime(2010, 6, 17), TaskName = "Organization status review", TaskId = 7 }); - MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 18), FinishDate = new DateTime(2010, 6, 18), TaskName = "Market Scope of Product clarified", TaskId = 8 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 2), FinishDate = new DateTime(2024, 6, 6), TaskName = "Current Market Review", TaskId = 2 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 6), FinishDate = new DateTime(2024, 6, 9), TaskName = "Establish milestone for future development", TaskId = 3 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 9), FinishDate = new DateTime(2024, 6, 10), TaskName = "Establish goals", TaskId = 4 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 10), FinishDate = new DateTime(2024, 6, 13), TaskName = "Sales, marketing and pricing plan", TaskId = 5 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 11), FinishDate = new DateTime(2024, 6, 14), TaskName = "Define product goals and milestones", TaskId = 6 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 12), FinishDate = new DateTime(2024, 6, 17), TaskName = "Organization status review", TaskId = 7 }); + MarketAnalysis.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 18), FinishDate = new DateTime(2024, 6, 18), TaskName = "Market Scope of Product clarified", TaskId = 8 }); ObservableCollection mrkPredecessor = new ObservableCollection(); mrkPredecessor.Add(new Predecessor { GanttTaskIndex = 2, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); mrkPredecessor.Add(new Predecessor { GanttTaskIndex = 3, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -124,11 +124,11 @@ public ObservableCollection GetData() Activities[0].Child = MarketAnalysis; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 18), FinishDate = new DateTime(2010, 7, 14), TaskName = "Infrastructure for Product Planning", TaskId = 9 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 18), FinishDate = new DateTime(2024, 7, 14), TaskName = "Infrastructure for Product Planning", TaskId = 9 }); ObservableCollection InfrastructureReq = new ObservableCollection(); - InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 18), FinishDate = new DateTime(2010, 6, 24), TaskName = "Define procedure for qualifying ideas", TaskId = 10 }); - InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2010, 6, 24), FinishDate = new DateTime(2010, 7, 7), TaskName = "Define process for idea sharing", TaskId = 11 }); - InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 7), FinishDate = new DateTime(2010, 7, 14), TaskName = "Infrastructure for Product planning Complete", TaskId = 12 }); + InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 18), FinishDate = new DateTime(2024, 6, 24), TaskName = "Define procedure for qualifying ideas", TaskId = 10 }); + InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2024, 6, 24), FinishDate = new DateTime(2024, 7, 7), TaskName = "Define process for idea sharing", TaskId = 11 }); + InfrastructureReq.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 7), FinishDate = new DateTime(2024, 7, 14), TaskName = "Infrastructure for Product planning Complete", TaskId = 12 }); InfrastructureReq[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 10, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); InfrastructureReq[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 11, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -138,14 +138,14 @@ public ObservableCollection GetData() Activities[1].Child = InfrastructureReq; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 14), FinishDate = new DateTime(2010, 8, 29), TaskName = "Product Definition Phase", TaskId = 13 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 8, 29), TaskName = "Product Definition Phase", TaskId = 13 }); ObservableCollection Product = new ObservableCollection(); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 14), FinishDate = new DateTime(2010, 7, 25), TaskName = "Identify product", TaskId = 14 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 7, 28), FinishDate = new DateTime(2010, 8, 1), TaskName = "Identify need for the product", TaskId = 15 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 4), FinishDate = new DateTime(2010, 8, 8), TaskName = "Identify current trend for targets", TaskId = 16 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 4), FinishDate = new DateTime(2010, 8, 29), TaskName = "Define product use and features", TaskId = 17 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 4), FinishDate = new DateTime(2010, 8, 8), TaskName = "Identify competitor product", TaskId = 18 }); - Product.Add(new TaskDetails { StartDate = new DateTime(2010, 8, 29), FinishDate = new DateTime(2010, 8, 29), TaskName = "Product Definition Complete", TaskId = 19 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 7, 25), TaskName = "Identify product", TaskId = 14 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 7, 28), FinishDate = new DateTime(2024, 8, 1), TaskName = "Identify need for the product", TaskId = 15 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 4), FinishDate = new DateTime(2024, 8, 8), TaskName = "Identify current trend for targets", TaskId = 16 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 4), FinishDate = new DateTime(2024, 8, 29), TaskName = "Define product use and features", TaskId = 17 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 4), FinishDate = new DateTime(2024, 8, 8), TaskName = "Identify competitor product", TaskId = 18 }); + Product.Add(new TaskDetails { StartDate = new DateTime(2024, 8, 29), FinishDate = new DateTime(2024, 8, 29), TaskName = "Product Definition Complete", TaskId = 19 }); Product[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 14, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Product[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 15, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -162,13 +162,13 @@ public ObservableCollection GetData() Activities[2].Child = Product; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 10), TaskName = "Analysing Customer Requirement", TaskId = 20 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 10), TaskName = "Analysing Customer Requirement", TaskId = 20 }); ObservableCollection Customer = new ObservableCollection(); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 4), TaskName = "Identify Consumer of Products", TaskId = 21 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 3), FinishDate = new DateTime(2010, 9, 6), TaskName = "Identify Customer Requirement", TaskId = 22 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 5), FinishDate = new DateTime(2010, 9, 8), TaskName = "Analysing Customer Requiremet with current plan", TaskId = 23 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 7), FinishDate = new DateTime(2010, 9, 10), TaskName = "Design based on Customer Requirement", TaskId = 24 }); - Customer.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 10), FinishDate = new DateTime(2010, 9, 10), TaskName = "Customer Requirement Analysis Complete", TaskId = 25 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 4), TaskName = "Identify Consumer of Products", TaskId = 21 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 3), FinishDate = new DateTime(2024, 9, 6), TaskName = "Identify Customer Requirement", TaskId = 22 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 5), FinishDate = new DateTime(2024, 9, 8), TaskName = "Analysing Customer Requiremet with current plan", TaskId = 23 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 7), FinishDate = new DateTime(2024, 9, 10), TaskName = "Design based on Customer Requirement", TaskId = 24 }); + Customer.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 10), FinishDate = new DateTime(2024, 9, 10), TaskName = "Customer Requirement Analysis Complete", TaskId = 25 }); Customer[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 21, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Customer[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 22, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Customer[3].Predecessor.Add(new Predecessor { GanttTaskIndex = 23, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -181,12 +181,12 @@ public ObservableCollection GetData() Activities[3].Child = Customer; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 10, 10), TaskName = "Competitor Analysis", TaskId = 26 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 10, 10), TaskName = "Competitor Analysis", TaskId = 26 }); ObservableCollection Competitor = new ObservableCollection(); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 13), TaskName = "Define competitor with similar Product", TaskId = 27 }); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 13), FinishDate = new DateTime(2010, 9, 20), TaskName = "Define competitive advantage", TaskId = 28 }); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 22), FinishDate = new DateTime(2010, 9, 27), TaskName = "Identify competitive features", TaskId = 29 }); - Competitor.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 29), FinishDate = new DateTime(2010, 10, 10), TaskName = "Define how to build competitive features", TaskId = 30 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 13), TaskName = "Define competitor with similar Product", TaskId = 27 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 13), FinishDate = new DateTime(2024, 9, 20), TaskName = "Define competitive advantage", TaskId = 28 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 22), FinishDate = new DateTime(2024, 9, 27), TaskName = "Identify competitive features", TaskId = 29 }); + Competitor.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 29), FinishDate = new DateTime(2024, 10, 10), TaskName = "Define how to build competitive features", TaskId = 30 }); Competitor[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 27, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Competitor[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 28, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Competitor[3].Predecessor.Add(new Predecessor { GanttTaskIndex = 29, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -196,13 +196,13 @@ public ObservableCollection GetData() Competitor[2].Resources.Add(this.ResourceCollection[1]); Activities[4].Child = Competitor; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 9), FinishDate = new DateTime(2010, 9, 20), TaskName = "Defining Sucess Measure", TaskId = 31 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 9), FinishDate = new DateTime(2024, 9, 20), TaskName = "Defining Sucess Measure", TaskId = 31 }); ObservableCollection Measure = new ObservableCollection(); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 6), TaskName = "Identify Risks", TaskId = 32 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 6), TaskName = "Define Key success measures", TaskId = 33 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 7), FinishDate = new DateTime(2010, 9, 13), TaskName = "Define strategy to address risks", TaskId = 34 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 13), FinishDate = new DateTime(2010, 9, 20), TaskName = "Define strategy to meet market position", TaskId = 35 }); - Measure.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 20), FinishDate = new DateTime(2010, 9, 20), TaskName = "Success Measure Defined", TaskId = 36 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 6), TaskName = "Identify Risks", TaskId = 32 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 6), TaskName = "Define Key success measures", TaskId = 33 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 7), FinishDate = new DateTime(2024, 9, 13), TaskName = "Define strategy to address risks", TaskId = 34 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 13), FinishDate = new DateTime(2024, 9, 20), TaskName = "Define strategy to meet market position", TaskId = 35 }); + Measure.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 20), FinishDate = new DateTime(2024, 9, 20), TaskName = "Success Measure Defined", TaskId = 36 }); Measure[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 32, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Measure[4].Predecessor.Add(new Predecessor { GanttTaskIndex = 33, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -217,13 +217,13 @@ public ObservableCollection GetData() Activities[5].Child = Measure; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 23), FinishDate = new DateTime(2010, 10, 17), TaskName = "Defining Team to Develop", TaskId = 37 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 23), FinishDate = new DateTime(2024, 10, 17), TaskName = "Defining Team to Develop", TaskId = 37 }); ObservableCollection Team = new ObservableCollection(); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 23), FinishDate = new DateTime(2010, 9, 27), TaskName = "Define successful team components for success", TaskId = 38 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 30), FinishDate = new DateTime(2010, 10, 3), TaskName = "Identify Key qualities needed to develop, produce and grow", TaskId = 39 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 6), FinishDate = new DateTime(2010, 10, 10), TaskName = "Define current team members", TaskId = 40 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 13), FinishDate = new DateTime(2010, 10, 17), TaskName = "Identify and address gaps", TaskId = 41 }); - Team.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 17), FinishDate = new DateTime(2010, 10, 17), TaskName = "Team Defined", TaskId = 42 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 23), FinishDate = new DateTime(2024, 9, 27), TaskName = "Define successful team components for success", TaskId = 38 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 30), FinishDate = new DateTime(2024, 10, 3), TaskName = "Identify Key qualities needed to develop, produce and grow", TaskId = 39 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 6), FinishDate = new DateTime(2024, 10, 10), TaskName = "Define current team members", TaskId = 40 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 13), FinishDate = new DateTime(2024, 10, 17), TaskName = "Identify and address gaps", TaskId = 41 }); + Team.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 17), FinishDate = new DateTime(2024, 10, 17), TaskName = "Team Defined", TaskId = 42 }); Team[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 38, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Team[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 39, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -232,14 +232,14 @@ public ObservableCollection GetData() Activities[6].Child = Team; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 24), TaskName = "Budgeting in the Product", TaskId = 43 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 24), TaskName = "Budgeting in the Product", TaskId = 43 }); ObservableCollection Budget = new ObservableCollection(); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 2), FinishDate = new DateTime(2010, 9, 3), TaskName = "Define financial metrics of product", TaskId = 44 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 3), FinishDate = new DateTime(2010, 9, 13), TaskName = "Estimate cost need to develop", TaskId = 45 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 13), FinishDate = new DateTime(2010, 9, 15), TaskName = "Estimate time to develop", TaskId = 46 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 15), FinishDate = new DateTime(2010, 9, 20), TaskName = "Analyse resource cost", TaskId = 47 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 20), FinishDate = new DateTime(2010, 9, 24), TaskName = "Define financial plan of Product", TaskId = 48 }); - Budget.Add(new TaskDetails { StartDate = new DateTime(2010, 9, 24), FinishDate = new DateTime(2010, 9, 24), TaskName = "Product Budget defined", TaskId = 49 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 2), FinishDate = new DateTime(2024, 9, 3), TaskName = "Define financial metrics of product", TaskId = 44 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 3), FinishDate = new DateTime(2024, 9, 13), TaskName = "Estimate cost need to develop", TaskId = 45 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 13), FinishDate = new DateTime(2024, 9, 15), TaskName = "Estimate time to develop", TaskId = 46 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 15), FinishDate = new DateTime(2024, 9, 20), TaskName = "Analyse resource cost", TaskId = 47 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 20), FinishDate = new DateTime(2024, 9, 24), TaskName = "Define financial plan of Product", TaskId = 48 }); + Budget.Add(new TaskDetails { StartDate = new DateTime(2024, 9, 24), FinishDate = new DateTime(2024, 9, 24), TaskName = "Product Budget defined", TaskId = 49 }); Budget[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 44, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Budget[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 45, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -255,11 +255,11 @@ public ObservableCollection GetData() Activities[7].Child = Budget; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 20), FinishDate = new DateTime(2010, 11, 10), TaskName = "Product Development", TaskId = 50 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 20), FinishDate = new DateTime(2024, 11, 10), TaskName = "Product Development", TaskId = 50 }); ObservableCollection Development = new ObservableCollection(); - Development.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 20), FinishDate = new DateTime(2010, 10, 30), TaskName = "Implementation Phase 1", TaskId = 51 }); - Development.Add(new TaskDetails { StartDate = new DateTime(2010, 10, 30), FinishDate = new DateTime(2010, 11, 10), TaskName = "Implementation Phase 2", TaskId = 52 }); - Development.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 10), FinishDate = new DateTime(2010, 11, 10), TaskName = "Product Developed", TaskId = 53 }); + Development.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 20), FinishDate = new DateTime(2024, 10, 30), TaskName = "Implementation Phase 1", TaskId = 51 }); + Development.Add(new TaskDetails { StartDate = new DateTime(2024, 10, 30), FinishDate = new DateTime(2024, 11, 10), TaskName = "Implementation Phase 2", TaskId = 52 }); + Development.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 10), FinishDate = new DateTime(2024, 11, 10), TaskName = "Product Developed", TaskId = 53 }); Development[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 51, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Development[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 52, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -269,17 +269,17 @@ public ObservableCollection GetData() Development[2].Resources.Add(this.ResourceCollection[5]); Activities[8].Child = Development; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 8), FinishDate = new DateTime(2010, 11, 13), TaskName = "Product Review", TaskId = 54 }); - Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 8), FinishDate = new DateTime(2010, 11, 10), TaskName = "Product Techincal Review", TaskId = 55 }); - Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 9), FinishDate = new DateTime(2010, 11, 13), TaskName = "Product Cost Review", TaskId = 56 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 8), FinishDate = new DateTime(2024, 11, 13), TaskName = "Product Review", TaskId = 54 }); + Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 8), FinishDate = new DateTime(2024, 11, 10), TaskName = "Product Techincal Review", TaskId = 55 }); + Activities[9].Child.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 9), FinishDate = new DateTime(2024, 11, 13), TaskName = "Product Cost Review", TaskId = 56 }); - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 15), FinishDate = new DateTime(2010, 11, 30), TaskName = "Beta Testing", TaskId = 57 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 15), FinishDate = new DateTime(2024, 11, 30), TaskName = "Beta Testing", TaskId = 57 }); ObservableCollection Testing = new ObservableCollection(); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 15), FinishDate = new DateTime(2010, 11, 17), TaskName = "Disseminate completed product", TaskId = 58 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 18), FinishDate = new DateTime(2010, 11, 20), TaskName = "Obtain feedback", TaskId = 59 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 20), FinishDate = new DateTime(2010, 11, 25), TaskName = "Modification", TaskId = 60 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 24), FinishDate = new DateTime(2010, 11, 30), TaskName = "Test", TaskId = 61 })); - Testing.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 30), FinishDate = new DateTime(2010, 11, 30), TaskName = "Testing Completed", TaskId = 62 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 15), FinishDate = new DateTime(2024, 11, 17), TaskName = "Disseminate completed product", TaskId = 58 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 18), FinishDate = new DateTime(2024, 11, 20), TaskName = "Obtain feedback", TaskId = 59 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 20), FinishDate = new DateTime(2024, 11, 25), TaskName = "Modification", TaskId = 60 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 24), FinishDate = new DateTime(2024, 11, 30), TaskName = "Test", TaskId = 61 })); + Testing.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 30), FinishDate = new DateTime(2024, 11, 30), TaskName = "Testing Completed", TaskId = 62 })); Testing[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 58, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); Testing[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 59, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -293,14 +293,14 @@ public ObservableCollection GetData() Testing[4].Resources.Add(this.ResourceCollection[6]); Activities[10].Child = Testing; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 11, 25), FinishDate = new DateTime(2010, 12, 06), TaskName = "Post Product Review", TaskId = 63 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 11, 25), FinishDate = new DateTime(2024, 12, 06), TaskName = "Post Product Review", TaskId = 63 }); ObservableCollection PostReview = new ObservableCollection(); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 25), FinishDate = new DateTime(2010, 11, 27), TaskName = "Finalize cost analysis", TaskId = 64 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 27), FinishDate = new DateTime(2010, 11, 28), TaskName = "Analyze performance", TaskId = 65 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 11, 29), FinishDate = new DateTime(2010, 12, 2), TaskName = "Archive files", TaskId = 66 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 12, 2), FinishDate = new DateTime(2010, 12, 4), TaskName = "Document lessons learned", TaskId = 67 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 12, 4), FinishDate = new DateTime(2010, 12, 6), TaskName = "Distribute to team members", TaskId = 68 })); - PostReview.Add((new TaskDetails { StartDate = new DateTime(2010, 12, 6), FinishDate = new DateTime(2010, 12, 6), TaskName = "Post-project review complete", TaskId = 69 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 25), FinishDate = new DateTime(2024, 11, 27), TaskName = "Finalize cost analysis", TaskId = 64 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 27), FinishDate = new DateTime(2024, 11, 28), TaskName = "Analyze performance", TaskId = 65 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 11, 29), FinishDate = new DateTime(2024, 12, 2), TaskName = "Archive files", TaskId = 66 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 12, 2), FinishDate = new DateTime(2024, 12, 4), TaskName = "Document lessons learned", TaskId = 67 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 12, 4), FinishDate = new DateTime(2024, 12, 6), TaskName = "Distribute to team members", TaskId = 68 })); + PostReview.Add((new TaskDetails { StartDate = new DateTime(2024, 12, 6), FinishDate = new DateTime(2024, 12, 6), TaskName = "Post-project review complete", TaskId = 69 })); PostReview[1].Predecessor.Add(new Predecessor { GanttTaskIndex = 64, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); PostReview[2].Predecessor.Add(new Predecessor { GanttTaskIndex = 65, GanttTaskRelationship = GanttTaskRelationship.FinishToStart }); @@ -316,7 +316,7 @@ public ObservableCollection GetData() Activities[11].Child = PostReview; - Activities.Add(new TaskDetails { StartDate = new DateTime(2010, 12, 10), FinishDate = new DateTime(2010, 12, 10), TaskName = "Product Released Successfully", TaskId = 70 }); + Activities.Add(new TaskDetails { StartDate = new DateTime(2024, 12, 10), FinishDate = new DateTime(2024, 12, 10), TaskName = "Product Released Successfully", TaskId = 70 }); return Activities; } diff --git a/gantt/ViewModel/ExternalPropertyBindingViewModel.cs b/gantt/ViewModel/ExternalPropertyBindingViewModel.cs index 1e4366a8b..80482bd34 100644 --- a/gantt/ViewModel/ExternalPropertyBindingViewModel.cs +++ b/gantt/ViewModel/ExternalPropertyBindingViewModel.cs @@ -59,30 +59,30 @@ public ObservableCollection TaskCollection public static ObservableCollection GetData() { var data = new ObservableCollection(); - data.Add(new Task() { Id = 1, Name = "Scope", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 40d }); - data[0].ChildTask.Add((new Task() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 20d, })); - data[0].ChildTask.Add((new Task() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[0].ChildTask.Add((new Task() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d, })); - data[0].ChildTask.Add((new Task() { Id = 5, Name = "Secure complete", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); - - data.Add(new Task() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2011, 7, 15), EndDate = new DateTime(2011, 7, 24) }); - data[1].ChildTask.Add((new Task() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2011, 7, 15), EndDate = new DateTime(2011, 7, 21), Complete = 20d, })); - data[1].ChildTask.Add((new Task() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2011, 7, 21), EndDate = new DateTime(2011, 7, 23), Complete = 20d, })); - data[1].ChildTask.Add((new Task() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2011, 7, 21), EndDate = new DateTime(2011, 7, 24), Complete = 20d, })); - data[1].ChildTask.Add((new Task() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2011, 7, 24), EndDate = new DateTime(2011, 7, 24), Complete = 30d })); - - data.Add(new Task() { Id = 11, Name = "Monitoring", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); - data[2].ChildTask.Add((new Task() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 7, 26), Complete = 20d, })); - data[2].ChildTask.Add((new Task() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2011, 7, 27), EndDate = new DateTime(2011, 7, 30), Complete = 20d, })); - data[2].ChildTask.Add((new Task() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2011, 7, 31), EndDate = new DateTime(2011, 8, 2), Complete = 20d, })); - data[2].ChildTask.Add((new Task() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2011, 8, 3), EndDate = new DateTime(2011, 8, 6), Complete = 30d, })); - data[2].ChildTask.Add((new Task() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2011, 8, 6), EndDate = new DateTime(2011, 8, 6), Complete = 30d })); - - data.Add(new Task() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 8, 12) }); - data[3].ChildTask.Add((new Task() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 7, 29), Complete = 20d, })); - data[3].ChildTask.Add((new Task() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2011, 7, 29), EndDate = new DateTime(2011, 8, 5), Complete = 20d, })); - data[3].ChildTask.Add((new Task() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2011, 8, 2), EndDate = new DateTime(2011, 8, 8), Complete = 20d, })); - data[3].ChildTask.Add((new Task() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2011, 8, 8), EndDate = new DateTime(2011, 8, 12), Complete = 30d })); + data.Add(new Task() { Id = 1, Name = "Scope", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 40d }); + data[0].ChildTask.Add((new Task() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d, })); + data[0].ChildTask.Add((new Task() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[0].ChildTask.Add((new Task() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d, })); + data[0].ChildTask.Add((new Task() { Id = 5, Name = "Secure complete", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); + + data.Add(new Task() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2024, 7, 15), EndDate = new DateTime(2024, 7, 24) }); + data[1].ChildTask.Add((new Task() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2024, 7, 15), EndDate = new DateTime(2024, 7, 21), Complete = 20d, })); + data[1].ChildTask.Add((new Task() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2024, 7, 21), EndDate = new DateTime(2024, 7, 23), Complete = 20d, })); + data[1].ChildTask.Add((new Task() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2024, 7, 21), EndDate = new DateTime(2024, 7, 24), Complete = 20d, })); + data[1].ChildTask.Add((new Task() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2024, 7, 24), EndDate = new DateTime(2024, 7, 24), Complete = 30d })); + + data.Add(new Task() { Id = 11, Name = "Monitoring", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); + data[2].ChildTask.Add((new Task() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 7, 26), Complete = 20d, })); + data[2].ChildTask.Add((new Task() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2024, 7, 27), EndDate = new DateTime(2024, 7, 30), Complete = 20d, })); + data[2].ChildTask.Add((new Task() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2024, 7, 31), EndDate = new DateTime(2024, 8, 2), Complete = 20d, })); + data[2].ChildTask.Add((new Task() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2024, 8, 3), EndDate = new DateTime(2024, 8, 6), Complete = 30d, })); + data[2].ChildTask.Add((new Task() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2024, 8, 6), EndDate = new DateTime(2024, 8, 6), Complete = 30d })); + + data.Add(new Task() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 8, 12) }); + data[3].ChildTask.Add((new Task() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 7, 29), Complete = 20d, })); + data[3].ChildTask.Add((new Task() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2024, 7, 29), EndDate = new DateTime(2024, 8, 5), Complete = 20d, })); + data[3].ChildTask.Add((new Task() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2024, 8, 2), EndDate = new DateTime(2024, 8, 8), Complete = 20d, })); + data[3].ChildTask.Add((new Task() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2024, 8, 8), EndDate = new DateTime(2024, 8, 12), Complete = 30d })); data[0].ChildTask[0].Resource.Add(new Resource() { ID = 1, Name = "Leslie" }); data[0].ChildTask[1].Resource.Add(new Resource() { ID = 2, Name = "John" }); diff --git a/gantt/ViewModel/GanttStripLineViewModel.cs b/gantt/ViewModel/GanttStripLineViewModel.cs index f2daa848a..f6e4f2cdb 100644 --- a/gantt/ViewModel/GanttStripLineViewModel.cs +++ b/gantt/ViewModel/GanttStripLineViewModel.cs @@ -207,9 +207,9 @@ private List GetStripCollection() DataTemplate template = GanttDictionaries.GanttStyleDictionary["temp"] as DataTemplate; List data = new List(); - data.Add(new StripLineInfo() { Content = RepeatStripContent, StartDate = new DateTime(2012, 6, 4), EndDate = new DateTime(2012, 6, 4), HorizontalContentAlignment = HorizontalAlignment.Center, VerticalContentAlignment = VerticalAlignment.Center, Background = RepeatStripColor, RepeatBehavior = Repeat.Week, RepeatFor = 1, RepeatUpto = new DateTime(2012, 12, 10), ContentTemplate = template }); - data.Add(new StripLineInfo() { Content = NonRepeatStripContent, StartDate = new DateTime(2012, 6, 1), EndDate = new DateTime(2012, 6, 1), HorizontalContentAlignment = HorizontalAlignment.Center, VerticalContentAlignment = VerticalAlignment.Center, Background = NonRepeatStripColor }); - data.Add(new StripLineInfo() { Content = "Demo of the product to Customer", StartDate = new DateTime(2012, 12, 13), EndDate = new DateTime(2012, 12, 13), HorizontalContentAlignment = HorizontalAlignment.Center, VerticalContentAlignment = VerticalAlignment.Center, Background = (Brush)new BrushConverter().ConvertFrom("#FFF79608") }); + data.Add(new StripLineInfo() { Content = RepeatStripContent, StartDate = new DateTime(2024, 6, 4), EndDate = new DateTime(2024, 6, 4), HorizontalContentAlignment = HorizontalAlignment.Center, VerticalContentAlignment = VerticalAlignment.Center, Background = RepeatStripColor, RepeatBehavior = Repeat.Week, RepeatFor = 1, RepeatUpto = new DateTime(2024, 12, 10), ContentTemplate = template }); + data.Add(new StripLineInfo() { Content = NonRepeatStripContent, StartDate = new DateTime(2024, 6, 1), EndDate = new DateTime(2024, 6, 1), HorizontalContentAlignment = HorizontalAlignment.Center, VerticalContentAlignment = VerticalAlignment.Center, Background = NonRepeatStripColor }); + data.Add(new StripLineInfo() { Content = "Demo of the product to Customer", StartDate = new DateTime(2024, 12, 13), EndDate = new DateTime(2024, 12, 13), HorizontalContentAlignment = HorizontalAlignment.Center, VerticalContentAlignment = VerticalAlignment.Center, Background = (Brush)new BrushConverter().ConvertFrom("#FFF79608") }); return data; } @@ -297,7 +297,7 @@ private void OnNoneChecked(object parms) private void OnNonWorkingHoursChecked(object parms) { Slots = new List(); - Slots.Add(new StripLineInfo() { Background = linearBrush, StartDate = new DateTime(2012, 5, 19), EndDate = new DateTime(2012, 5, 21), RepeatUpto = new DateTime(2012, 12, 24), RepeatBehavior = Repeat.Week, RepeatFor = 1 }); + Slots.Add(new StripLineInfo() { Background = linearBrush, StartDate = new DateTime(2024, 5, 19), EndDate = new DateTime(2024, 5, 21), RepeatUpto = new DateTime(2024, 12, 24), RepeatBehavior = Repeat.Week, RepeatFor = 1 }); this.StripCollection = Slots; } @@ -308,7 +308,7 @@ private void OnNonWorkingHoursChecked(object parms) private void OnWorkingHoursChecked(object parms) { Slots = new List(); - Slots.Add(new StripLineInfo() { Background = linearBrush, StartDate = new DateTime(2012, 5, 21), EndDate = new DateTime(2012, 5, 26), RepeatUpto = new DateTime(2012, 12, 24), RepeatBehavior = Repeat.Week, RepeatFor = 1 }); + Slots.Add(new StripLineInfo() { Background = linearBrush, StartDate = new DateTime(2024, 5, 21), EndDate = new DateTime(2024, 5, 26), RepeatUpto = new DateTime(2024, 12, 24), RepeatBehavior = Repeat.Week, RepeatFor = 1 }); this.StripCollection = Slots; } @@ -320,7 +320,7 @@ private void OnSplStripChecked(object parms) { DataTemplate temp = GanttDictionaries.GanttStyleDictionary["SplDays"] as DataTemplate; Slots = new List(); - Slots.Add(new StripLineInfo() { Background = Brushes.HotPink, StartDate = new DateTime(2012, 5, 21), EndDate = new DateTime(2012, 5, 21), Content = "Weekly Team Meeting", VerticalContentAlignment = VerticalAlignment.Center, RepeatUpto = new DateTime(2012, 12, 24), RepeatBehavior = Repeat.Week, RepeatFor = 1, ContentTemplate = temp }); + Slots.Add(new StripLineInfo() { Background = Brushes.HotPink, StartDate = new DateTime(2024, 5, 21), EndDate = new DateTime(2024, 5, 21), Content = "Weekly Team Meeting", VerticalContentAlignment = VerticalAlignment.Center, RepeatUpto = new DateTime(2024, 12, 24), RepeatBehavior = Repeat.Week, RepeatFor = 1, ContentTemplate = temp }); this.StripCollection = Slots; } diff --git a/gantt/ViewModel/GanttStylePropertiesViewModel.cs b/gantt/ViewModel/GanttStylePropertiesViewModel.cs index e28e9d665..af70846ed 100644 --- a/gantt/ViewModel/GanttStylePropertiesViewModel.cs +++ b/gantt/ViewModel/GanttStylePropertiesViewModel.cs @@ -56,30 +56,30 @@ public ObservableCollection TaskCollection public static ObservableCollection GetData() { var data = new ObservableCollection(); - data.Add(new GanttStylePropertiesModel() { Id = 1, Name = "Scope", StDate = new DateTime(2012, 7, 3), EndDate = new DateTime(2012, 7, 14), Complete = 40d }); - data[0].ChildTask.Add((new GanttStylePropertiesModel() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2012, 7, 3), EndDate = new DateTime(2012, 7, 5), Complete = 20d, })); - data[0].ChildTask.Add((new GanttStylePropertiesModel() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2012, 7, 6), EndDate = new DateTime(2012, 7, 7), Complete = 20d, })); - data[0].ChildTask.Add((new GanttStylePropertiesModel() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2012, 7, 10), EndDate = new DateTime(2012, 7, 14), Complete = 10d, })); - data[0].ChildTask.Add((new GanttStylePropertiesModel() { Id = 5, Name = "Secure complete", StDate = new DateTime(2012, 7, 14), EndDate = new DateTime(2012, 7, 14), Complete = 10d })); + data.Add(new GanttStylePropertiesModel() { Id = 1, Name = "Scope", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 40d }); + data[0].ChildTask.Add((new GanttStylePropertiesModel() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d, })); + data[0].ChildTask.Add((new GanttStylePropertiesModel() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d, })); + data[0].ChildTask.Add((new GanttStylePropertiesModel() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d, })); + data[0].ChildTask.Add((new GanttStylePropertiesModel() { Id = 5, Name = "Secure complete", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); - data.Add(new GanttStylePropertiesModel() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2012, 7, 15), EndDate = new DateTime(2012, 7, 24) }); - data[1].ChildTask.Add((new GanttStylePropertiesModel() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2012, 7, 15), EndDate = new DateTime(2012, 7, 21), Complete = 20d, })); - data[1].ChildTask.Add((new GanttStylePropertiesModel() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2012, 7, 21), EndDate = new DateTime(2012, 7, 23), Complete = 20d, })); - data[1].ChildTask.Add((new GanttStylePropertiesModel() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2012, 7, 21), EndDate = new DateTime(2012, 7, 24), Complete = 20d, })); - data[1].ChildTask.Add((new GanttStylePropertiesModel() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2012, 7, 24), EndDate = new DateTime(2012, 7, 24), Complete = 30d })); + data.Add(new GanttStylePropertiesModel() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2024, 7, 15), EndDate = new DateTime(2024, 7, 24) }); + data[1].ChildTask.Add((new GanttStylePropertiesModel() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2024, 7, 15), EndDate = new DateTime(2024, 7, 21), Complete = 20d, })); + data[1].ChildTask.Add((new GanttStylePropertiesModel() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2024, 7, 21), EndDate = new DateTime(2024, 7, 23), Complete = 20d, })); + data[1].ChildTask.Add((new GanttStylePropertiesModel() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2024, 7, 21), EndDate = new DateTime(2024, 7, 24), Complete = 20d, })); + data[1].ChildTask.Add((new GanttStylePropertiesModel() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2024, 7, 24), EndDate = new DateTime(2024, 7, 24), Complete = 30d })); - data.Add(new GanttStylePropertiesModel() { Id = 11, Name = "Monitoring", StDate = new DateTime(2012, 7, 25), EndDate = new DateTime(2012, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); - data[2].ChildTask.Add((new GanttStylePropertiesModel() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2012, 7, 25), EndDate = new DateTime(2012, 7, 26), Complete = 20d, })); - data[2].ChildTask.Add((new GanttStylePropertiesModel() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2012, 7, 27), EndDate = new DateTime(2012, 7, 30), Complete = 20d, })); - data[2].ChildTask.Add((new GanttStylePropertiesModel() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2012, 7, 31), EndDate = new DateTime(2012, 8, 2), Complete = 20d, })); - data[2].ChildTask.Add((new GanttStylePropertiesModel() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2012, 8, 3), EndDate = new DateTime(2012, 8, 6), Complete = 30d, })); - data[2].ChildTask.Add((new GanttStylePropertiesModel() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2012, 8, 6), EndDate = new DateTime(2012, 8, 6), Complete = 30d })); + data.Add(new GanttStylePropertiesModel() { Id = 11, Name = "Monitoring", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); + data[2].ChildTask.Add((new GanttStylePropertiesModel() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 7, 26), Complete = 20d, })); + data[2].ChildTask.Add((new GanttStylePropertiesModel() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2024, 7, 27), EndDate = new DateTime(2024, 7, 30), Complete = 20d, })); + data[2].ChildTask.Add((new GanttStylePropertiesModel() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2024, 7, 31), EndDate = new DateTime(2024, 8, 2), Complete = 20d, })); + data[2].ChildTask.Add((new GanttStylePropertiesModel() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2024, 8, 3), EndDate = new DateTime(2024, 8, 6), Complete = 30d, })); + data[2].ChildTask.Add((new GanttStylePropertiesModel() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2024, 8, 6), EndDate = new DateTime(2024, 8, 6), Complete = 30d })); - data.Add(new GanttStylePropertiesModel() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2012, 7, 25), EndDate = new DateTime(2012, 8, 12) }); - data[3].ChildTask.Add((new GanttStylePropertiesModel() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2012, 7, 25), EndDate = new DateTime(2012, 7, 29), Complete = 20d, })); - data[3].ChildTask.Add((new GanttStylePropertiesModel() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2012, 7, 29), EndDate = new DateTime(2012, 8, 5), Complete = 20d, })); - data[3].ChildTask.Add((new GanttStylePropertiesModel() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2012, 8, 2), EndDate = new DateTime(2012, 8, 8), Complete = 20d, })); - data[3].ChildTask.Add((new GanttStylePropertiesModel() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2012, 8, 8), EndDate = new DateTime(2012, 8, 12), Complete = 30d })); + data.Add(new GanttStylePropertiesModel() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 8, 12) }); + data[3].ChildTask.Add((new GanttStylePropertiesModel() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 7, 29), Complete = 20d, })); + data[3].ChildTask.Add((new GanttStylePropertiesModel() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2024, 7, 29), EndDate = new DateTime(2024, 8, 5), Complete = 20d, })); + data[3].ChildTask.Add((new GanttStylePropertiesModel() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2024, 8, 2), EndDate = new DateTime(2024, 8, 8), Complete = 20d, })); + data[3].ChildTask.Add((new GanttStylePropertiesModel() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2024, 8, 8), EndDate = new DateTime(2024, 8, 12), Complete = 30d })); data[0].ChildTask[0].Resource.Add(new Resource() { ID = 1, Name = "Leslie" }); data[0].ChildTask[1].Resource.Add(new Resource() { ID = 2, Name = "John" }); diff --git a/gantt/ViewModel/HighlightingTasksViewModel.cs b/gantt/ViewModel/HighlightingTasksViewModel.cs index 53a049f3e..1106062fb 100644 --- a/gantt/ViewModel/HighlightingTasksViewModel.cs +++ b/gantt/ViewModel/HighlightingTasksViewModel.cs @@ -56,7 +56,7 @@ public List HighlightTaskItems } } - private DateTime _startTime =new DateTime(2012,2,16); + private DateTime _startTime =new DateTime(2024,2,16); /// /// Gets or sets the start time. @@ -78,7 +78,7 @@ public DateTime StartTime } } - private DateTime _endTime=new DateTime(2012,8,1); + private DateTime _endTime=new DateTime(2024,8,1); /// /// Gets or sets the end time. diff --git a/gantt/ViewModel/ImportExportDemoViewModel.cs b/gantt/ViewModel/ImportExportDemoViewModel.cs index ff6d59b9a..73a2ca653 100644 --- a/gantt/ViewModel/ImportExportDemoViewModel.cs +++ b/gantt/ViewModel/ImportExportDemoViewModel.cs @@ -59,41 +59,41 @@ public ObservableCollection TaskCollection public static ObservableCollection GetData() { var data = new ObservableCollection(); - data.Add(new TaskDetails() { TaskId = 1, TaskName = "Analysis/Planning", StartDate = new DateTime(2011, 7, 3), FinishDate = new DateTime(2011, 7, 14), Progress = 40d }); - data[0].Child.Add((new TaskDetails() { TaskId = 2, TaskName = "Identify Components to be Localized", StartDate = new DateTime(2011, 7, 3), FinishDate = new DateTime(2011, 7, 5), Progress = 20d })); - data[0].Child.Add((new TaskDetails() { TaskId = 3, TaskName = "Ensure file localizability", StartDate = new DateTime(2011, 7, 6), FinishDate = new DateTime(2011, 7, 7), Progress = 20d })); - data[0].Child.Add((new TaskDetails() { TaskId = 4, TaskName = "Identify tools", StartDate = new DateTime(2011, 7, 10), FinishDate = new DateTime(2011, 7, 14), Progress = 10d })); - data[0].Child.Add((new TaskDetails() { TaskId = 5, TaskName = "Test tools", StartDate = new DateTime(2011, 7, 14), FinishDate = new DateTime(2011, 8, 1), Progress = 10d })); - data[0].Child.Add((new TaskDetails() { TaskId = 6, TaskName = "Develop delivery timeline", StartDate = new DateTime(2011, 7, 10), FinishDate = new DateTime(2011, 8, 1), Progress = 10d })); - data[0].Child.Add((new TaskDetails() { TaskId = 7, TaskName = "Analysis Complete", StartDate = new DateTime(2011, 7, 14), FinishDate = new DateTime(2011, 8, 10), Progress = 10d })); - - data.Add(new TaskDetails() { TaskId = 8, TaskName = "Production", StartDate = new DateTime(2011, 7, 3), FinishDate = new DateTime(2011, 7, 14), Progress = 40d }); - data[1].Child.Add((new TaskDetails() { TaskId = 9, TaskName = "Software Components", StartDate = new DateTime(2011, 7, 3), FinishDate = new DateTime(2011, 7, 5), Progress = 20d })); - data[1].Child.Add((new TaskDetails() { TaskId = 10, TaskName = "Localization Component - User Interface", StartDate = new DateTime(2011, 7, 6), FinishDate = new DateTime(2011, 7, 7), Progress = 20d })); - data[1].Child.Add((new TaskDetails() { TaskId = 11, TaskName = "User Assistance Components", StartDate = new DateTime(2011, 7, 10), FinishDate = new DateTime(2011, 7, 14), Progress = 10d })); - data[1].Child.Add((new TaskDetails() { TaskId = 12, TaskName = "Software components complete", StartDate = new DateTime(2011, 7, 14), FinishDate = new DateTime(2011, 7, 18), Progress = 10d })); - - - data.Add(new TaskDetails() { TaskId = 13, TaskName = "Quality Assurance", StartDate = new DateTime(2011, 7, 3), FinishDate = new DateTime(2011, 7, 12), Progress = 40d, }); - data[2].Child.Add((new TaskDetails() { TaskId = 14, TaskName = "Review project information", StartDate = new DateTime(2011, 7, 3), FinishDate = new DateTime(2011, 7, 15), Progress = 20d })); - data[2].Child.Add((new TaskDetails() { TaskId = 15, TaskName = "Localization Component", StartDate = new DateTime(2011, 7, 6), FinishDate = new DateTime(2011, 7, 8), Progress = 20d })); - data[2].Child.Add((new TaskDetails() { TaskId = 16, TaskName = "Localization Component", StartDate = new DateTime(2011, 7, 10), FinishDate = new DateTime(2011, 7, 14), Progress = 10d })); - data[2].Child.Add((new TaskDetails() { TaskId = 17, TaskName = "Localization Component", StartDate = new DateTime(2011, 7, 14), FinishDate = new DateTime(2011, 7, 18), Progress = 10d })); - - data.Add(new TaskDetails() { TaskId = 18, TaskName = "Beta Testing", StartDate = new DateTime(2011, 7, 3), FinishDate = new DateTime(2011, 7, 14), Progress = 40d }); - data[3].Child.Add((new TaskDetails() { TaskId = 19, TaskName = "Disseminate completed product", StartDate = new DateTime(2011, 7, 3), FinishDate = new DateTime(2011, 7, 5), Progress = 20d })); - data[3].Child.Add((new TaskDetails() { TaskId = 20, TaskName = "Obtain feedback", StartDate = new DateTime(2011, 7, 6), FinishDate = new DateTime(2011, 7, 7), Progress = 20d })); - data[3].Child.Add((new TaskDetails() { TaskId = 21, TaskName = "Modify", StartDate = new DateTime(2011, 7, 10), FinishDate = new DateTime(2011, 7, 19), Progress = 10d })); - data[3].Child.Add((new TaskDetails() { TaskId = 22, TaskName = "Test", StartDate = new DateTime(2011, 7, 14), FinishDate = new DateTime(2011, 7, 19), Progress = 10d })); - data[3].Child.Add((new TaskDetails() { TaskId = 23, TaskName = "Complete", StartDate = new DateTime(2011, 7, 10), FinishDate = new DateTime(2011, 7, 19), Progress = 10d })); - - data.Add(new TaskDetails() { TaskId = 24, TaskName = "Post-Project Review", StartDate = new DateTime(2011, 7, 3), FinishDate = new DateTime(2011, 7, 14), Progress = 40d, }); - data[4].Child.Add((new TaskDetails() { TaskId = 25, TaskName = "Finalize cost analysis", StartDate = new DateTime(2011, 7, 3), FinishDate = new DateTime(2011, 7, 5), Progress = 20d })); - data[4].Child.Add((new TaskDetails() { TaskId = 26, TaskName = "Analyze performance", StartDate = new DateTime(2011, 7, 6), FinishDate = new DateTime(2011, 7, 7), Progress = 20d })); - data[4].Child.Add((new TaskDetails() { TaskId = 27, TaskName = "Archive files", StartDate = new DateTime(2011, 7, 10), FinishDate = new DateTime(2011, 7, 14), Progress = 10d })); - data[4].Child.Add((new TaskDetails() { TaskId = 28, TaskName = "Document lessons learned", StartDate = new DateTime(2011, 7, 14), FinishDate = new DateTime(2011, 7, 18), Progress = 10d })); - data[4].Child.Add((new TaskDetails() { TaskId = 29, TaskName = "Distribute to team members", StartDate = new DateTime(2011, 7, 10), FinishDate = new DateTime(2011, 7, 14), Progress = 10d })); - data[4].Child.Add((new TaskDetails() { TaskId = 30, TaskName = "Post-project review complete", StartDate = new DateTime(2011, 7, 10), FinishDate = new DateTime(2011, 7, 14), Progress = 10d })); + data.Add(new TaskDetails() { TaskId = 1, TaskName = "Analysis/Planning", StartDate = new DateTime(2024, 7, 3), FinishDate = new DateTime(2024, 7, 14), Progress = 40d }); + data[0].Child.Add((new TaskDetails() { TaskId = 2, TaskName = "Identify Components to be Localized", StartDate = new DateTime(2024, 7, 3), FinishDate = new DateTime(2024, 7, 5), Progress = 20d })); + data[0].Child.Add((new TaskDetails() { TaskId = 3, TaskName = "Ensure file localizability", StartDate = new DateTime(2024, 7, 6), FinishDate = new DateTime(2024, 7, 7), Progress = 20d })); + data[0].Child.Add((new TaskDetails() { TaskId = 4, TaskName = "Identify tools", StartDate = new DateTime(2024, 7, 10), FinishDate = new DateTime(2024, 7, 14), Progress = 10d })); + data[0].Child.Add((new TaskDetails() { TaskId = 5, TaskName = "Test tools", StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 8, 1), Progress = 10d })); + data[0].Child.Add((new TaskDetails() { TaskId = 6, TaskName = "Develop delivery timeline", StartDate = new DateTime(2024, 7, 10), FinishDate = new DateTime(2024, 8, 1), Progress = 10d })); + data[0].Child.Add((new TaskDetails() { TaskId = 7, TaskName = "Analysis Complete", StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 8, 10), Progress = 10d })); + + data.Add(new TaskDetails() { TaskId = 8, TaskName = "Production", StartDate = new DateTime(2024, 7, 3), FinishDate = new DateTime(2024, 7, 14), Progress = 40d }); + data[1].Child.Add((new TaskDetails() { TaskId = 9, TaskName = "Software Components", StartDate = new DateTime(2024, 7, 3), FinishDate = new DateTime(2024, 7, 5), Progress = 20d })); + data[1].Child.Add((new TaskDetails() { TaskId = 10, TaskName = "Localization Component - User Interface", StartDate = new DateTime(2024, 7, 6), FinishDate = new DateTime(2024, 7, 7), Progress = 20d })); + data[1].Child.Add((new TaskDetails() { TaskId = 11, TaskName = "User Assistance Components", StartDate = new DateTime(2024, 7, 10), FinishDate = new DateTime(2024, 7, 14), Progress = 10d })); + data[1].Child.Add((new TaskDetails() { TaskId = 12, TaskName = "Software components complete", StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 7, 18), Progress = 10d })); + + + data.Add(new TaskDetails() { TaskId = 13, TaskName = "Quality Assurance", StartDate = new DateTime(2024, 7, 3), FinishDate = new DateTime(2024, 7, 12), Progress = 40d, }); + data[2].Child.Add((new TaskDetails() { TaskId = 14, TaskName = "Review project information", StartDate = new DateTime(2024, 7, 3), FinishDate = new DateTime(2024, 7, 15), Progress = 20d })); + data[2].Child.Add((new TaskDetails() { TaskId = 15, TaskName = "Localization Component", StartDate = new DateTime(2024, 7, 6), FinishDate = new DateTime(2024, 7, 8), Progress = 20d })); + data[2].Child.Add((new TaskDetails() { TaskId = 16, TaskName = "Localization Component", StartDate = new DateTime(2024, 7, 10), FinishDate = new DateTime(2024, 7, 14), Progress = 10d })); + data[2].Child.Add((new TaskDetails() { TaskId = 17, TaskName = "Localization Component", StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 7, 18), Progress = 10d })); + + data.Add(new TaskDetails() { TaskId = 18, TaskName = "Beta Testing", StartDate = new DateTime(2024, 7, 3), FinishDate = new DateTime(2024, 7, 14), Progress = 40d }); + data[3].Child.Add((new TaskDetails() { TaskId = 19, TaskName = "Disseminate completed product", StartDate = new DateTime(2024, 7, 3), FinishDate = new DateTime(2024, 7, 5), Progress = 20d })); + data[3].Child.Add((new TaskDetails() { TaskId = 20, TaskName = "Obtain feedback", StartDate = new DateTime(2024, 7, 6), FinishDate = new DateTime(2024, 7, 7), Progress = 20d })); + data[3].Child.Add((new TaskDetails() { TaskId = 21, TaskName = "Modify", StartDate = new DateTime(2024, 7, 10), FinishDate = new DateTime(2024, 7, 19), Progress = 10d })); + data[3].Child.Add((new TaskDetails() { TaskId = 22, TaskName = "Test", StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 7, 19), Progress = 10d })); + data[3].Child.Add((new TaskDetails() { TaskId = 23, TaskName = "Complete", StartDate = new DateTime(2024, 7, 10), FinishDate = new DateTime(2024, 7, 19), Progress = 10d })); + + data.Add(new TaskDetails() { TaskId = 24, TaskName = "Post-Project Review", StartDate = new DateTime(2024, 7, 3), FinishDate = new DateTime(2024, 7, 14), Progress = 40d, }); + data[4].Child.Add((new TaskDetails() { TaskId = 25, TaskName = "Finalize cost analysis", StartDate = new DateTime(2024, 7, 3), FinishDate = new DateTime(2024, 7, 5), Progress = 20d })); + data[4].Child.Add((new TaskDetails() { TaskId = 26, TaskName = "Analyze performance", StartDate = new DateTime(2024, 7, 6), FinishDate = new DateTime(2024, 7, 7), Progress = 20d })); + data[4].Child.Add((new TaskDetails() { TaskId = 27, TaskName = "Archive files", StartDate = new DateTime(2024, 7, 10), FinishDate = new DateTime(2024, 7, 14), Progress = 10d })); + data[4].Child.Add((new TaskDetails() { TaskId = 28, TaskName = "Document lessons learned", StartDate = new DateTime(2024, 7, 14), FinishDate = new DateTime(2024, 7, 18), Progress = 10d })); + data[4].Child.Add((new TaskDetails() { TaskId = 29, TaskName = "Distribute to team members", StartDate = new DateTime(2024, 7, 10), FinishDate = new DateTime(2024, 7, 14), Progress = 10d })); + data[4].Child.Add((new TaskDetails() { TaskId = 30, TaskName = "Post-project review complete", StartDate = new DateTime(2024, 7, 10), FinishDate = new DateTime(2024, 7, 14), Progress = 10d })); data[0].Resources = new ObservableCollection() { new Resource { ID = 1, Name = "John" }, new Resource { ID = 2, Name = "Neil" } }; data[0].Child[3].Resources = new ObservableCollection() { new Resource() { ID = 3, Name = "Peter" } }; diff --git a/gantt/ViewModel/PredecessorsViewModel.cs b/gantt/ViewModel/PredecessorsViewModel.cs index f941abf2f..5bbf1ff9f 100644 --- a/gantt/ViewModel/PredecessorsViewModel.cs +++ b/gantt/ViewModel/PredecessorsViewModel.cs @@ -59,41 +59,41 @@ public ObservableCollection TaskDetails public static ObservableCollection GetData() { var data = new ObservableCollection(); - data.Add(new PredecessorsModel() { Id = 1, Name = "Analysis/Planning", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 8, 14), Complete = 40d }); - data[0].ChildTask.Add((new PredecessorsModel() { Id = 2, Name = "Identify Components to be Localized", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 20d })); - data[0].ChildTask.Add((new PredecessorsModel() { Id = 3, Name = "Ensure file localizability", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[0].ChildTask.Add((new PredecessorsModel() { Id = 4, Name = "Identify tools", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); - data[0].ChildTask.Add((new PredecessorsModel() { Id = 5, Name = "Test tools", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 8, 1), Complete = 10d })); - data[0].ChildTask.Add((new PredecessorsModel() { Id = 6, Name = "Develop delivery timeline", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 8, 1), Complete = 10d })); - data[0].ChildTask.Add((new PredecessorsModel() { Id = 7, Name = "Analysis complete", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 8, 10), Complete = 10d })); - - data.Add(new PredecessorsModel() { Id = 8, Name = "Production", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 40d }); - data[1].ChildTask.Add((new PredecessorsModel() { Id = 9, Name = "Software Components", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 20d, })); - data[1].ChildTask.Add((new PredecessorsModel() { Id = 10, Name = "Localization Component - User Interface", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[1].ChildTask.Add((new PredecessorsModel() { Id = 11, Name = "User Assistance Components", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); - data[1].ChildTask.Add((new PredecessorsModel() { Id = 12, Name = "Software components complete", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 18), Complete = 10d })); - - - data.Add(new PredecessorsModel() { Id = 13, Name = "Quality Assurance", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 12), Complete = 40d, }); - data[2].ChildTask.Add((new PredecessorsModel() { Id = 14, Name = "Review project information", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 15), Complete = 20d })); - data[2].ChildTask.Add((new PredecessorsModel() { Id = 15, Name = "Localization Component", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 8), Complete = 20d })); - data[2].ChildTask.Add((new PredecessorsModel() { Id = 16, Name = "Localization Component", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); - data[2].ChildTask.Add((new PredecessorsModel() { Id = 17, Name = "Localization Component", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 18), Complete = 10d })); - - data.Add(new PredecessorsModel() { Id = 18, Name = "Beta Testing", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 40d }); - data[3].ChildTask.Add((new PredecessorsModel() { Id = 19, Name = "Disseminate completed product", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 20d })); - data[3].ChildTask.Add((new PredecessorsModel() { Id = 20, Name = "Obtain feedback", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[3].ChildTask.Add((new PredecessorsModel() { Id = 21, Name = "Modify", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 19), Complete = 10d })); - data[3].ChildTask.Add((new PredecessorsModel() { Id = 22, Name = "Test", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 19), Complete = 10d })); - data[3].ChildTask.Add((new PredecessorsModel() { Id = 23, Name = "Complete", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 19), Complete = 10d })); - - data.Add(new PredecessorsModel() { Id = 24, Name = "Post-Project Review", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 40d, }); - data[4].ChildTask.Add((new PredecessorsModel() { Id = 25, Name = "Finalize cost analysis", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 20d })); - data[4].ChildTask.Add((new PredecessorsModel() { Id = 26, Name = "Analyze performance", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[4].ChildTask.Add((new PredecessorsModel() { Id = 27, Name = "Archive files", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); - data[4].ChildTask.Add((new PredecessorsModel() { Id = 28, Name = "Document lessons learned", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 18), Complete = 10d })); - data[4].ChildTask.Add((new PredecessorsModel() { Id = 29, Name = "Distribute to team members", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); - data[4].ChildTask.Add((new PredecessorsModel() { Id = 30, Name = "Post-project review complete", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); + data.Add(new PredecessorsModel() { Id = 1, Name = "Analysis/Planning", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 8, 14), Complete = 40d }); + data[0].ChildTask.Add((new PredecessorsModel() { Id = 2, Name = "Identify Components to be Localized", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d })); + data[0].ChildTask.Add((new PredecessorsModel() { Id = 3, Name = "Ensure file localizability", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[0].ChildTask.Add((new PredecessorsModel() { Id = 4, Name = "Identify tools", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); + data[0].ChildTask.Add((new PredecessorsModel() { Id = 5, Name = "Test tools", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 8, 1), Complete = 10d })); + data[0].ChildTask.Add((new PredecessorsModel() { Id = 6, Name = "Develop delivery timeline", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 8, 1), Complete = 10d })); + data[0].ChildTask.Add((new PredecessorsModel() { Id = 7, Name = "Analysis complete", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 8, 10), Complete = 10d })); + + data.Add(new PredecessorsModel() { Id = 8, Name = "Production", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 40d }); + data[1].ChildTask.Add((new PredecessorsModel() { Id = 9, Name = "Software Components", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d, })); + data[1].ChildTask.Add((new PredecessorsModel() { Id = 10, Name = "Localization Component - User Interface", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[1].ChildTask.Add((new PredecessorsModel() { Id = 11, Name = "User Assistance Components", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); + data[1].ChildTask.Add((new PredecessorsModel() { Id = 12, Name = "Software components complete", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 18), Complete = 10d })); + + + data.Add(new PredecessorsModel() { Id = 13, Name = "Quality Assurance", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 12), Complete = 40d, }); + data[2].ChildTask.Add((new PredecessorsModel() { Id = 14, Name = "Review project information", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 15), Complete = 20d })); + data[2].ChildTask.Add((new PredecessorsModel() { Id = 15, Name = "Localization Component", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 8), Complete = 20d })); + data[2].ChildTask.Add((new PredecessorsModel() { Id = 16, Name = "Localization Component", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); + data[2].ChildTask.Add((new PredecessorsModel() { Id = 17, Name = "Localization Component", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 18), Complete = 10d })); + + data.Add(new PredecessorsModel() { Id = 18, Name = "Beta Testing", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 40d }); + data[3].ChildTask.Add((new PredecessorsModel() { Id = 19, Name = "Disseminate completed product", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d })); + data[3].ChildTask.Add((new PredecessorsModel() { Id = 20, Name = "Obtain feedback", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[3].ChildTask.Add((new PredecessorsModel() { Id = 21, Name = "Modify", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 19), Complete = 10d })); + data[3].ChildTask.Add((new PredecessorsModel() { Id = 22, Name = "Test", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 19), Complete = 10d })); + data[3].ChildTask.Add((new PredecessorsModel() { Id = 23, Name = "Complete", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 19), Complete = 10d })); + + data.Add(new PredecessorsModel() { Id = 24, Name = "Post-Project Review", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 40d, }); + data[4].ChildTask.Add((new PredecessorsModel() { Id = 25, Name = "Finalize cost analysis", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d })); + data[4].ChildTask.Add((new PredecessorsModel() { Id = 26, Name = "Analyze performance", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[4].ChildTask.Add((new PredecessorsModel() { Id = 27, Name = "Archive files", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); + data[4].ChildTask.Add((new PredecessorsModel() { Id = 28, Name = "Document lessons learned", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 18), Complete = 10d })); + data[4].ChildTask.Add((new PredecessorsModel() { Id = 29, Name = "Distribute to team members", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); + data[4].ChildTask.Add((new PredecessorsModel() { Id = 30, Name = "Post-project review complete", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); data[1].Resource.Add(new Resource() { ID = 1, Name = "Localizer" }); data[2].Resource.Add(new Resource() { ID = 2, Name = "Technical Reviewer" }); diff --git a/gantt/ViewModel/ProjectStatisticsViewModel.cs b/gantt/ViewModel/ProjectStatisticsViewModel.cs index a788a2093..bb313d493 100644 --- a/gantt/ViewModel/ProjectStatisticsViewModel.cs +++ b/gantt/ViewModel/ProjectStatisticsViewModel.cs @@ -67,84 +67,84 @@ public ObservableCollection GetData() // Adding Tasks - data.Add(new ProjectStatisticsModel() { Id = 1, Name = "Residential Construction (2500 sq.ft)", StDate = new DateTime(2012, 3, 1), EndDate = new DateTime(2012, 3, 15), BaselineStart = new DateTime(2012, 3, 1), BaselineEnd = new DateTime(2012, 3, 14), Complete = 0d, Cost = 500, BaselineCost = 833d, }); - - data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 2, Name = "General Considerations", StDate = new DateTime(2012, 7, 3), EndDate = new DateTime(2012, 7, 14), BaselineStart = new DateTime(2012, 7, 3), BaselineEnd = new DateTime(2012, 7, 14), Complete = 0d, Cost = 89, BaselineCost = 833d, }); - - data[0].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 3, Name = "Finalize and Approve Plans", StDate = new DateTime(2012, 3, 1), EndDate = new DateTime(2012, 3, 15), BaselineStart = new DateTime(2012, 3, 2), BaselineEnd = new DateTime(2012, 3, 16), Complete = 0d, Cost = 500, BaselineCost = 833d, }); - data[0].ChildTask[0].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 4, Name = "Review and Finalize Site Plans", StDate = new DateTime(2012, 3, 1), EndDate = new DateTime(2012, 3, 20), BaselineStart = new DateTime(2012, 3, 1), BaselineEnd = new DateTime(2012, 3, 20), Complete = 0d, Cost = 500, BaselineCost = 833d, }); - data[0].ChildTask[0].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 5, Name = "Sign contract and Proceed", StDate = new DateTime(2012, 3, 20), EndDate = new DateTime(2012, 3, 22), BaselineStart = new DateTime(2012, 3, 19), BaselineEnd = new DateTime(2012, 3, 21), Complete = 0d, Cost = 500, BaselineCost = 833d, }); - - data[0].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 6, Name = "Contracts and Agreements", StDate = new DateTime(2012, 3, 22), EndDate = new DateTime(2012, 3, 22), BaselineStart = new DateTime(2012, 3, 20), BaselineEnd = new DateTime(2012, 3, 21), Complete = 0d, Cost = 20d, BaselineCost = 14 }); - data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new ProjectStatisticsModel() { Id = 7, Name = "Lot Sale Agreement", StDate = new DateTime(2012, 3, 22), EndDate = new DateTime(2012, 3, 22), BaselineStart = new DateTime(2012, 3, 20), BaselineEnd = new DateTime(2012, 3, 20), Complete = 0d, Cost = 20d, BaselineCost = 14 })); - data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new ProjectStatisticsModel() { Id = 8, Name = "Construction Agreement", StDate = new DateTime(2012, 3, 22), EndDate = new DateTime(2012, 3, 22), BaselineStart = new DateTime(2012, 3, 21), BaselineEnd = new DateTime(2012, 3, 21), Complete = 0d, Cost = 33d, BaselineCost = 12 })); - data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new ProjectStatisticsModel() { Id = 9, Name = "Contract Specifications", StDate = new DateTime(2012, 3, 22), EndDate = new DateTime(2012, 3, 22), BaselineStart = new DateTime(2012, 3, 20), BaselineEnd = new DateTime(2012, 3, 20), Complete = 0d, Cost = 30d, BaselineCost = 50 })); - data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new ProjectStatisticsModel() { Id = 10, Name = "Contract Site Plan", StDate = new DateTime(2012, 3, 22), EndDate = new DateTime(2012, 3, 22), BaselineStart = new DateTime(2012, 3, 20), BaselineEnd = new DateTime(2012, 3, 20), Complete = 0d, Cost = 360d, BaselineCost = 100 })); - data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new ProjectStatisticsModel() { Id = 11, Name = "Financing", StDate = new DateTime(2012, 3, 22), EndDate = new DateTime(2012, 3, 22), BaselineStart = new DateTime(2012, 3, 20), BaselineEnd = new DateTime(2012, 3, 20), Complete = 0d, Cost = 39d, BaselineCost = 16 })); - - data[0].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 12, Name = "Apply Permits", StDate = new DateTime(2012, 3, 23), EndDate = new DateTime(2012, 3, 24), BaselineStart = new DateTime(2012, 3, 22), BaselineEnd = new DateTime(2012, 3, 23), Complete = 0d, Cost = 53d, BaselineCost = 65 }); - data[0].ChildTask[0].ChildTask[2].ChildTask.Add((new ProjectStatisticsModel() { Id = 13, Name = "Foundation Permit", StDate = new DateTime(2012, 3, 23), EndDate = new DateTime(2012, 3, 24), BaselineStart = new DateTime(2012, 3, 22), BaselineEnd = new DateTime(2012, 3, 23), Complete = 0d, Cost = 53d, BaselineCost = 65 })); - data[0].ChildTask[0].ChildTask[2].ChildTask.Add((new ProjectStatisticsModel() { Id = 14, Name = "Electrical Permit", StDate = new DateTime(2012, 3, 24), EndDate = new DateTime(2012, 3, 25), BaselineStart = new DateTime(2012, 3, 24), BaselineEnd = new DateTime(2012, 3, 25), Complete = 0d, Cost = 23d, BaselineCost = 34 })); - data[0].ChildTask[0].ChildTask[2].ChildTask.Add((new ProjectStatisticsModel() { Id = 15, Name = "Plumbing Permit", StDate = new DateTime(2012, 3, 25), EndDate = new DateTime(2012, 3, 26), BaselineStart = new DateTime(2012, 3, 25), BaselineEnd = new DateTime(2012, 3, 26), Complete = 0d, Cost = 63d, BaselineCost = 53 })); - - data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 16, Name = "Site Work", StDate = new DateTime(2012, 3, 26), EndDate = new DateTime(2012, 3, 27), BaselineStart = new DateTime(2012, 3, 26), BaselineEnd = new DateTime(2012, 3, 27), Complete = 0d, Cost = 2000d, BaselineCost = 1000 }); - data[0].ChildTask[1].ChildTask.Add(new ProjectStatisticsModel() { Id = 17, Name = "Clear Lot", StDate = new DateTime(2012, 3, 26), EndDate = new DateTime(2012, 3, 27), BaselineStart = new DateTime(2012, 3, 27), BaselineEnd = new DateTime(2012, 3, 28), Complete = 0d, Cost = 2000d, BaselineCost = 1000 }); - data[0].ChildTask[1].ChildTask.Add(new ProjectStatisticsModel() { Id = 18, Name = "Strip Topsoil", StDate = new DateTime(2012, 3, 27), EndDate = new DateTime(2012, 3, 28), BaselineStart = new DateTime(2012, 3, 27), BaselineEnd = new DateTime(2012, 3, 28), Complete = 0d, Cost = 1200d, BaselineCost = 800 }); - data[0].ChildTask[1].ChildTask.Add(new ProjectStatisticsModel() { Id = 19, Name = "Installing Temporary requirements", StDate = new DateTime(2012, 3, 28), EndDate = new DateTime(2012, 3, 29), BaselineStart = new DateTime(2012, 3, 30), BaselineEnd = new DateTime(2012, 4, 2), Complete = 0d, Cost = 354d, BaselineCost = 230 }); - - data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 20, Name = "Foundation", StDate = new DateTime(2012, 3, 29), EndDate = new DateTime(2012, 4, 2), BaselineStart = new DateTime(2012, 3, 29), BaselineEnd = new DateTime(2012, 4, 2), Complete = 0d, Cost = 899, BaselineCost = 833d, }); - data[0].ChildTask[2].ChildTask.Add(new ProjectStatisticsModel() { Id = 21, Name = "Excavate for foundation", StDate = new DateTime(2012, 3, 29), EndDate = new DateTime(2012, 4, 2), BaselineStart = new DateTime(2012, 3, 29), BaselineEnd = new DateTime(2012, 4, 2), Complete = 0d, Cost = 899, BaselineCost = 833d, }); - data[0].ChildTask[2].ChildTask.Add(new ProjectStatisticsModel() { Id = 22, Name = "Building Basement Walls", StDate = new DateTime(2012, 4, 3), EndDate = new DateTime(2012, 4, 8), BaselineStart = new DateTime(2012, 4, 3), BaselineEnd = new DateTime(2012, 4, 8), Complete = 0d, Cost = 889, BaselineCost = 803d, }); - data[0].ChildTask[2].ChildTask.Add(new ProjectStatisticsModel() { Id = 23, Name = "Foundation inspection", StDate = new DateTime(2012, 4, 8), EndDate = new DateTime(2012, 4, 10), BaselineStart = new DateTime(2012, 4, 7), BaselineEnd = new DateTime(2012, 4, 9), Complete = 0d, Cost = 8, BaselineCost = 8d, }); - data[0].ChildTask[2].ChildTask.Add(new ProjectStatisticsModel() { Id = 24, Name = "Finishing Foundation", StDate = new DateTime(2012, 4, 10), EndDate = new DateTime(2012, 4, 17), BaselineStart = new DateTime(2012, 4, 10), BaselineEnd = new DateTime(2012, 4, 17), Complete = 0d, Cost = 0, BaselineCost = 8d, }); - - data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 25, Name = "Framing", StDate = new DateTime(2012, 4, 18), EndDate = new DateTime(2012, 4, 24), BaselineStart = new DateTime(2012, 4, 18), BaselineEnd = new DateTime(2012, 4, 24), Complete = 0d, Cost = 890, BaselineCost = 803d, }); - data[0].ChildTask[3].ChildTask.Add(new ProjectStatisticsModel() { Id = 26, Name = "First Floor Framing", StDate = new DateTime(2012, 4, 18), EndDate = new DateTime(2012, 4, 24), BaselineStart = new DateTime(2012, 4, 17), BaselineEnd = new DateTime(2012, 4, 23), Complete = 0d, Cost = 890, BaselineCost = 803d, }); - data[0].ChildTask[3].ChildTask.Add(new ProjectStatisticsModel() { Id = 27, Name = "Second Floor Framing", StDate = new DateTime(2012, 4, 24), EndDate = new DateTime(2012, 5, 3), BaselineStart = new DateTime(2012, 4, 24), BaselineEnd = new DateTime(2012, 5, 3), Complete = 0d, Cost = 789, BaselineCost = 898d, }); - data[0].ChildTask[3].ChildTask.Add(new ProjectStatisticsModel() { Id = 28, Name = "Framing Roof", StDate = new DateTime(2012, 5, 3), EndDate = new DateTime(2012, 5, 7), BaselineStart = new DateTime(2012, 5, 4), BaselineEnd = new DateTime(2012, 5, 8), Complete = 0d, Cost = 780, BaselineCost = 833d, }); - data[0].ChildTask[3].ChildTask.Add(new ProjectStatisticsModel() { Id = 29, Name = "Framing Inspection", StDate = new DateTime(2012, 5, 7), EndDate = new DateTime(2012, 5, 8), BaselineStart = new DateTime(2012, 5, 7), BaselineEnd = new DateTime(2012, 5, 8), Complete = 0d, Cost = 5, BaselineCost = 8d, }); - - data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 30, Name = "Dry In", StDate = new DateTime(2012, 5, 8), EndDate = new DateTime(2012, 5, 14), BaselineStart = new DateTime(2012, 5, 8), BaselineEnd = new DateTime(2012, 5, 15), Complete = 0d, Cost = 232, BaselineCost = 323d, }); - data[0].ChildTask[4].ChildTask.Add(new ProjectStatisticsModel() { Id = 31, Name = "Installing Sheathing for floors", StDate = new DateTime(2012, 5, 8), EndDate = new DateTime(2012, 5, 14), BaselineStart = new DateTime(2012, 5, 9), BaselineEnd = new DateTime(2012, 5, 15), Complete = 0d, Cost = 232, BaselineCost = 323d, }); - data[0].ChildTask[4].ChildTask.Add(new ProjectStatisticsModel() { Id = 32, Name = "Installing Windows", StDate = new DateTime(2012, 5, 14), EndDate = new DateTime(2012, 5, 25), BaselineStart = new DateTime(2012, 5, 14), BaselineEnd = new DateTime(2012, 5, 25), Complete = 0d, Cost = 325, BaselineCost = 452d, }); - data[0].ChildTask[4].ChildTask.Add(new ProjectStatisticsModel() { Id = 33, Name = "Installing Sheathing for Roof", StDate = new DateTime(2012, 5, 25), EndDate = new DateTime(2012, 5, 30), BaselineStart = new DateTime(2012, 5, 23), BaselineEnd = new DateTime(2012, 5, 30), Complete = 0d, Cost = 82, BaselineCost = 83d, }); - - data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 34, Name = "Exterior Finishing", StDate = new DateTime(2012, 5, 31), EndDate = new DateTime(2012, 6, 12), BaselineStart = new DateTime(2012, 5, 31), BaselineEnd = new DateTime(2012, 6, 12), Complete = 0d, Cost = 463, BaselineCost = 633d, }); - data[0].ChildTask[5].ChildTask.Add(new ProjectStatisticsModel() { Id = 35, Name = "Exterior Trimming", StDate = new DateTime(2012, 5, 31), EndDate = new DateTime(2012, 6, 12), BaselineStart = new DateTime(2012, 5, 31), BaselineEnd = new DateTime(2012, 6, 12), Complete = 0d, Cost = 463, BaselineCost = 633d, }); - data[0].ChildTask[5].ChildTask.Add(new ProjectStatisticsModel() { Id = 36, Name = "Completing Exterior Bricks", StDate = new DateTime(2012, 6, 12), EndDate = new DateTime(2012, 6, 17), BaselineStart = new DateTime(2012, 6, 12), BaselineEnd = new DateTime(2012, 6, 17), Complete = 0d, Cost = 234, BaselineCost = 333d, }); - - data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 37, Name = "Interior Finishing", StDate = new DateTime(2012, 6, 17), EndDate = new DateTime(2012, 6, 19), BaselineStart = new DateTime(2012, 6, 17), BaselineEnd = new DateTime(2012, 6, 19), Complete = 0d, Cost = 43, BaselineCost = 33d, }); - - data[0].ChildTask[6].ChildTask.Add(new ProjectStatisticsModel() { Id = 38, Name = "Installing Insulation", StDate = new DateTime(2012, 6, 17), EndDate = new DateTime(2012, 6, 19), BaselineStart = new DateTime(2012, 6, 17), BaselineEnd = new DateTime(2012, 6, 19), Complete = 0d, Cost = 43, BaselineCost = 33d, }); - data[0].ChildTask[6].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 39, Name = "Install Floor Insulation", StDate = new DateTime(2012, 6, 17), EndDate = new DateTime(2012, 6, 19), BaselineStart = new DateTime(2012, 6, 17), BaselineEnd = new DateTime(2012, 6, 19), Complete = 0d, Cost = 43, BaselineCost = 33d, }); - data[0].ChildTask[6].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 40, Name = "Install Wall Insulation", StDate = new DateTime(2012, 6, 19), EndDate = new DateTime(2012, 6, 21), BaselineStart = new DateTime(2012, 6, 19), BaselineEnd = new DateTime(2012, 6, 21), Complete = 0d, Cost = 53, BaselineCost = 83d, }); - data[0].ChildTask[6].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 41, Name = "Install Ceiling Insulation", StDate = new DateTime(2012, 6, 21), EndDate = new DateTime(2012, 6, 22), BaselineStart = new DateTime(2012, 6, 21), BaselineEnd = new DateTime(2012, 6, 22), Complete = 0d, Cost = 89, BaselineCost = 83d, }); - - - data[0].ChildTask[6].ChildTask.Add(new ProjectStatisticsModel() { Id = 42, Name = "Painting and Wallpaper", StDate = new DateTime(2012, 6, 22), EndDate = new DateTime(2012, 6, 23), BaselineStart = new DateTime(2012, 6, 22), BaselineEnd = new DateTime(2012, 6, 23), Complete = 0d, Cost = 453, BaselineCost = 563, }); - data[0].ChildTask[6].ChildTask[1].ChildTask.Add(new ProjectStatisticsModel() { Id = 43, Name = "Painting all Interior", StDate = new DateTime(2012, 6, 22), EndDate = new DateTime(2012, 6, 23), BaselineStart = new DateTime(2012, 6, 22), BaselineEnd = new DateTime(2012, 6, 23), Complete = 0d, Cost = 453, BaselineCost = 563, }); - data[0].ChildTask[6].ChildTask[1].ChildTask.Add(new ProjectStatisticsModel() { Id = 44, Name = "Painting all Exterior", StDate = new DateTime(2012, 6, 23), EndDate = new DateTime(2012, 6, 25), BaselineStart = new DateTime(2012, 6, 23), BaselineEnd = new DateTime(2012, 6, 25), Complete = 0d, Cost = 352, BaselineCost = 342, }); - data[0].ChildTask[6].ChildTask[1].ChildTask.Add(new ProjectStatisticsModel() { Id = 45, Name = "Additional Trimming Work", StDate = new DateTime(2012, 6, 25), EndDate = new DateTime(2012, 6, 27), BaselineStart = new DateTime(2012, 6, 25), BaselineEnd = new DateTime(2012, 6, 27), Complete = 0d, Cost = 32, BaselineCost = 50, }); - - data[0].ChildTask[6].ChildTask.Add(new ProjectStatisticsModel() { Id = 46, Name = "Finishing Plumbing", StDate = new DateTime(2012, 6, 27), EndDate = new DateTime(2012, 6, 29), BaselineStart = new DateTime(2012, 6, 27), BaselineEnd = new DateTime(2012, 6, 29), Complete = 0d, Cost = 424, BaselineCost = 423, }); - data[0].ChildTask[6].ChildTask[2].ChildTask.Add(new ProjectStatisticsModel() { Id = 47, Name = "First floor Plumbing", StDate = new DateTime(2012, 6, 27), EndDate = new DateTime(2012, 6, 29), BaselineStart = new DateTime(2012, 6, 27), BaselineEnd = new DateTime(2012, 6, 29), Complete = 0d, Cost = 424, BaselineCost = 423, }); - data[0].ChildTask[6].ChildTask[2].ChildTask.Add(new ProjectStatisticsModel() { Id = 48, Name = "Second floor plumbing", StDate = new DateTime(2012, 6, 29), EndDate = new DateTime(2012, 7, 1), BaselineStart = new DateTime(2012, 6, 29), BaselineEnd = new DateTime(2012, 7, 1), Complete = 0d, Cost = 234, BaselineCost = 324, }); - data[0].ChildTask[6].ChildTask[2].ChildTask.Add(new ProjectStatisticsModel() { Id = 49, Name = "Inspecting Plumbing", StDate = new DateTime(2012, 7, 1), EndDate = new DateTime(2012, 7, 3), BaselineStart = new DateTime(2012, 7, 1), BaselineEnd = new DateTime(2012, 7, 3), Complete = 0d, Cost = 23, BaselineCost = 33d, }); - - data[0].ChildTask[6].ChildTask.Add(new ProjectStatisticsModel() { Id = 50, Name = "Finishing Electrical", StDate = new DateTime(2012, 7, 3), EndDate = new DateTime(2012, 7, 5), BaselineStart = new DateTime(2012, 7, 3), BaselineEnd = new DateTime(2012, 7, 5), Complete = 0d, Cost = 432, BaselineCost = 536, }); - data[0].ChildTask[6].ChildTask[3].ChildTask.Add(new ProjectStatisticsModel() { Id = 51, Name = "Complete first floor connections", StDate = new DateTime(2012, 7, 3), EndDate = new DateTime(2012, 7, 5), BaselineStart = new DateTime(2012, 7, 3), BaselineEnd = new DateTime(2012, 7, 5), Complete = 0d, Cost = 432, BaselineCost = 536, }); - data[0].ChildTask[6].ChildTask[3].ChildTask.Add(new ProjectStatisticsModel() { Id = 52, Name = "Complete second floor connections", StDate = new DateTime(2012, 7, 5), EndDate = new DateTime(2012, 7, 7), BaselineStart = new DateTime(2012, 7, 4), BaselineEnd = new DateTime(2012, 7, 6), Complete = 0d, Cost = 563, BaselineCost = 463, }); - data[0].ChildTask[6].ChildTask[3].ChildTask.Add(new ProjectStatisticsModel() { Id = 53, Name = "Complete non-Electrical Wiring", StDate = new DateTime(2012, 7, 7), EndDate = new DateTime(2012, 7, 8), BaselineStart = new DateTime(2012, 7, 7), BaselineEnd = new DateTime(2012, 7, 8), Complete = 0d, Cost = 234, BaselineCost = 563, }); - - data[0].ChildTask[6].ChildTask.Add(new ProjectStatisticsModel() { Id = 54, Name = "Carpet,Tiles and Furnishing", StDate = new DateTime(2012, 7, 8), EndDate = new DateTime(2012, 7, 10), BaselineStart = new DateTime(2012, 7, 9), BaselineEnd = new DateTime(2012, 7, 11), Complete = 0d, Cost = 253, BaselineCost = 210, }); - data[0].ChildTask[6].ChildTask[4].ChildTask.Add(new ProjectStatisticsModel() { Id = 55, Name = "Complete first floor carpet", StDate = new DateTime(2012, 7, 8), EndDate = new DateTime(2012, 7, 10), BaselineStart = new DateTime(2012, 7, 8), BaselineEnd = new DateTime(2012, 7, 10), Complete = 0d, Cost = 253, BaselineCost = 210, }); - data[0].ChildTask[6].ChildTask[4].ChildTask.Add(new ProjectStatisticsModel() { Id = 56, Name = "Complete second floor carpet", StDate = new DateTime(2012, 7, 10), EndDate = new DateTime(2012, 7, 13), BaselineStart = new DateTime(2012, 7, 10), BaselineEnd = new DateTime(2012, 7, 13), Complete = 0d, Cost = 341, BaselineCost = 300, }); - data[0].ChildTask[6].ChildTask[4].ChildTask.Add(new ProjectStatisticsModel() { Id = 57, Name = "Complete Furnishing Kitchen, bath, hall", StDate = new DateTime(2012, 7, 13), EndDate = new DateTime(2012, 7, 14), BaselineStart = new DateTime(2012, 7, 13), BaselineEnd = new DateTime(2012, 7, 14), Complete = 0, Cost = 4252, BaselineCost = 6033d, }); - - data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 58, Name = "Final Acceptance", StDate = new DateTime(2012, 7, 14), EndDate = new DateTime(2012, 7, 16), BaselineStart = new DateTime(2012, 7, 14), BaselineEnd = new DateTime(2012, 7, 16), Complete = 0d, Cost = 430, BaselineCost = 433d, }); - data[0].ChildTask[7].ChildTask.Add(new ProjectStatisticsModel() { Id = 59, Name = "Cleaning", StDate = new DateTime(2012, 7, 14), EndDate = new DateTime(2012, 7, 16), BaselineStart = new DateTime(2012, 7, 14), BaselineEnd = new DateTime(2012, 7, 16), Complete = 0d, Cost = 430, BaselineCost = 433d, }); - data[0].ChildTask[7].ChildTask.Add(new ProjectStatisticsModel() { Id = 60, Name = "Final Inspection", StDate = new DateTime(2012, 7, 16), EndDate = new DateTime(2012, 7, 17), BaselineStart = new DateTime(2012, 7, 16), BaselineEnd = new DateTime(2012, 7, 17), Complete = 0d, Cost = 0, BaselineCost = 5, }); - data[0].ChildTask[7].ChildTask.Add(new ProjectStatisticsModel() { Id = 61, Name = "Move In", StDate = new DateTime(2012, 7, 17), EndDate = new DateTime(2012, 7, 17), BaselineStart = new DateTime(2012, 7, 18), BaselineEnd = new DateTime(2012, 7, 18), Complete = 0d, Cost = 0, BaselineCost = 0, }); + data.Add(new ProjectStatisticsModel() { Id = 1, Name = "Residential Construction (2500 sq.ft)", StDate = new DateTime(2024, 3, 1), EndDate = new DateTime(2024, 3, 15), BaselineStart = new DateTime(2024, 3, 1), BaselineEnd = new DateTime(2024, 3, 14), Complete = 0d, Cost = 500, BaselineCost = 833d, }); + + data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 2, Name = "General Considerations", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), BaselineStart = new DateTime(2024, 7, 3), BaselineEnd = new DateTime(2024, 7, 14), Complete = 0d, Cost = 89, BaselineCost = 833d, }); + + data[0].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 3, Name = "Finalize and Approve Plans", StDate = new DateTime(2024, 3, 1), EndDate = new DateTime(2024, 3, 15), BaselineStart = new DateTime(2024, 3, 2), BaselineEnd = new DateTime(2024, 3, 16), Complete = 0d, Cost = 500, BaselineCost = 833d, }); + data[0].ChildTask[0].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 4, Name = "Review and Finalize Site Plans", StDate = new DateTime(2024, 3, 1), EndDate = new DateTime(2024, 3, 20), BaselineStart = new DateTime(2024, 3, 1), BaselineEnd = new DateTime(2024, 3, 20), Complete = 0d, Cost = 500, BaselineCost = 833d, }); + data[0].ChildTask[0].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 5, Name = "Sign contract and Proceed", StDate = new DateTime(2024, 3, 20), EndDate = new DateTime(2024, 3, 22), BaselineStart = new DateTime(2024, 3, 19), BaselineEnd = new DateTime(2024, 3, 21), Complete = 0d, Cost = 500, BaselineCost = 833d, }); + + data[0].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 6, Name = "Contracts and Agreements", StDate = new DateTime(2024, 3, 22), EndDate = new DateTime(2024, 3, 22), BaselineStart = new DateTime(2024, 3, 20), BaselineEnd = new DateTime(2024, 3, 21), Complete = 0d, Cost = 20d, BaselineCost = 14 }); + data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new ProjectStatisticsModel() { Id = 7, Name = "Lot Sale Agreement", StDate = new DateTime(2024, 3, 22), EndDate = new DateTime(2024, 3, 22), BaselineStart = new DateTime(2024, 3, 20), BaselineEnd = new DateTime(2024, 3, 20), Complete = 0d, Cost = 20d, BaselineCost = 14 })); + data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new ProjectStatisticsModel() { Id = 8, Name = "Construction Agreement", StDate = new DateTime(2024, 3, 22), EndDate = new DateTime(2024, 3, 22), BaselineStart = new DateTime(2024, 3, 21), BaselineEnd = new DateTime(2024, 3, 21), Complete = 0d, Cost = 33d, BaselineCost = 12 })); + data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new ProjectStatisticsModel() { Id = 9, Name = "Contract Specifications", StDate = new DateTime(2024, 3, 22), EndDate = new DateTime(2024, 3, 22), BaselineStart = new DateTime(2024, 3, 20), BaselineEnd = new DateTime(2024, 3, 20), Complete = 0d, Cost = 30d, BaselineCost = 50 })); + data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new ProjectStatisticsModel() { Id = 10, Name = "Contract Site Plan", StDate = new DateTime(2024, 3, 22), EndDate = new DateTime(2024, 3, 22), BaselineStart = new DateTime(2024, 3, 20), BaselineEnd = new DateTime(2024, 3, 20), Complete = 0d, Cost = 360d, BaselineCost = 100 })); + data[0].ChildTask[0].ChildTask[1].ChildTask.Add((new ProjectStatisticsModel() { Id = 11, Name = "Financing", StDate = new DateTime(2024, 3, 22), EndDate = new DateTime(2024, 3, 22), BaselineStart = new DateTime(2024, 3, 20), BaselineEnd = new DateTime(2024, 3, 20), Complete = 0d, Cost = 39d, BaselineCost = 16 })); + + data[0].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 12, Name = "Apply Permits", StDate = new DateTime(2024, 3, 23), EndDate = new DateTime(2024, 3, 24), BaselineStart = new DateTime(2024, 3, 22), BaselineEnd = new DateTime(2024, 3, 23), Complete = 0d, Cost = 53d, BaselineCost = 65 }); + data[0].ChildTask[0].ChildTask[2].ChildTask.Add((new ProjectStatisticsModel() { Id = 13, Name = "Foundation Permit", StDate = new DateTime(2024, 3, 23), EndDate = new DateTime(2024, 3, 24), BaselineStart = new DateTime(2024, 3, 22), BaselineEnd = new DateTime(2024, 3, 23), Complete = 0d, Cost = 53d, BaselineCost = 65 })); + data[0].ChildTask[0].ChildTask[2].ChildTask.Add((new ProjectStatisticsModel() { Id = 14, Name = "Electrical Permit", StDate = new DateTime(2024, 3, 24), EndDate = new DateTime(2024, 3, 25), BaselineStart = new DateTime(2024, 3, 24), BaselineEnd = new DateTime(2024, 3, 25), Complete = 0d, Cost = 23d, BaselineCost = 34 })); + data[0].ChildTask[0].ChildTask[2].ChildTask.Add((new ProjectStatisticsModel() { Id = 15, Name = "Plumbing Permit", StDate = new DateTime(2024, 3, 25), EndDate = new DateTime(2024, 3, 26), BaselineStart = new DateTime(2024, 3, 25), BaselineEnd = new DateTime(2024, 3, 26), Complete = 0d, Cost = 63d, BaselineCost = 53 })); + + data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 16, Name = "Site Work", StDate = new DateTime(2024, 3, 26), EndDate = new DateTime(2024, 3, 27), BaselineStart = new DateTime(2024, 3, 26), BaselineEnd = new DateTime(2024, 3, 27), Complete = 0d, Cost = 2000d, BaselineCost = 1000 }); + data[0].ChildTask[1].ChildTask.Add(new ProjectStatisticsModel() { Id = 17, Name = "Clear Lot", StDate = new DateTime(2024, 3, 26), EndDate = new DateTime(2024, 3, 27), BaselineStart = new DateTime(2024, 3, 27), BaselineEnd = new DateTime(2024, 3, 28), Complete = 0d, Cost = 2000d, BaselineCost = 1000 }); + data[0].ChildTask[1].ChildTask.Add(new ProjectStatisticsModel() { Id = 18, Name = "Strip Topsoil", StDate = new DateTime(2024, 3, 27), EndDate = new DateTime(2024, 3, 28), BaselineStart = new DateTime(2024, 3, 27), BaselineEnd = new DateTime(2024, 3, 28), Complete = 0d, Cost = 1200d, BaselineCost = 800 }); + data[0].ChildTask[1].ChildTask.Add(new ProjectStatisticsModel() { Id = 19, Name = "Installing Temporary requirements", StDate = new DateTime(2024, 3, 28), EndDate = new DateTime(2024, 3, 29), BaselineStart = new DateTime(2024, 3, 30), BaselineEnd = new DateTime(2024, 4, 2), Complete = 0d, Cost = 354d, BaselineCost = 230 }); + + data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 20, Name = "Foundation", StDate = new DateTime(2024, 3, 29), EndDate = new DateTime(2024, 4, 2), BaselineStart = new DateTime(2024, 3, 29), BaselineEnd = new DateTime(2024, 4, 2), Complete = 0d, Cost = 899, BaselineCost = 833d, }); + data[0].ChildTask[2].ChildTask.Add(new ProjectStatisticsModel() { Id = 21, Name = "Excavate for foundation", StDate = new DateTime(2024, 3, 29), EndDate = new DateTime(2024, 4, 2), BaselineStart = new DateTime(2024, 3, 29), BaselineEnd = new DateTime(2024, 4, 2), Complete = 0d, Cost = 899, BaselineCost = 833d, }); + data[0].ChildTask[2].ChildTask.Add(new ProjectStatisticsModel() { Id = 22, Name = "Building Basement Walls", StDate = new DateTime(2024, 4, 3), EndDate = new DateTime(2024, 4, 8), BaselineStart = new DateTime(2024, 4, 3), BaselineEnd = new DateTime(2024, 4, 8), Complete = 0d, Cost = 889, BaselineCost = 803d, }); + data[0].ChildTask[2].ChildTask.Add(new ProjectStatisticsModel() { Id = 23, Name = "Foundation inspection", StDate = new DateTime(2024, 4, 8), EndDate = new DateTime(2024, 4, 10), BaselineStart = new DateTime(2024, 4, 7), BaselineEnd = new DateTime(2024, 4, 9), Complete = 0d, Cost = 8, BaselineCost = 8d, }); + data[0].ChildTask[2].ChildTask.Add(new ProjectStatisticsModel() { Id = 24, Name = "Finishing Foundation", StDate = new DateTime(2024, 4, 10), EndDate = new DateTime(2024, 4, 17), BaselineStart = new DateTime(2024, 4, 10), BaselineEnd = new DateTime(2024, 4, 17), Complete = 0d, Cost = 0, BaselineCost = 8d, }); + + data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 25, Name = "Framing", StDate = new DateTime(2024, 4, 18), EndDate = new DateTime(2024, 4, 24), BaselineStart = new DateTime(2024, 4, 18), BaselineEnd = new DateTime(2024, 4, 24), Complete = 0d, Cost = 890, BaselineCost = 803d, }); + data[0].ChildTask[3].ChildTask.Add(new ProjectStatisticsModel() { Id = 26, Name = "First Floor Framing", StDate = new DateTime(2024, 4, 18), EndDate = new DateTime(2024, 4, 24), BaselineStart = new DateTime(2024, 4, 17), BaselineEnd = new DateTime(2024, 4, 23), Complete = 0d, Cost = 890, BaselineCost = 803d, }); + data[0].ChildTask[3].ChildTask.Add(new ProjectStatisticsModel() { Id = 27, Name = "Second Floor Framing", StDate = new DateTime(2024, 4, 24), EndDate = new DateTime(2024, 5, 3), BaselineStart = new DateTime(2024, 4, 24), BaselineEnd = new DateTime(2024, 5, 3), Complete = 0d, Cost = 789, BaselineCost = 898d, }); + data[0].ChildTask[3].ChildTask.Add(new ProjectStatisticsModel() { Id = 28, Name = "Framing Roof", StDate = new DateTime(2024, 5, 3), EndDate = new DateTime(2024, 5, 7), BaselineStart = new DateTime(2024, 5, 4), BaselineEnd = new DateTime(2024, 5, 8), Complete = 0d, Cost = 780, BaselineCost = 833d, }); + data[0].ChildTask[3].ChildTask.Add(new ProjectStatisticsModel() { Id = 29, Name = "Framing Inspection", StDate = new DateTime(2024, 5, 7), EndDate = new DateTime(2024, 5, 8), BaselineStart = new DateTime(2024, 5, 7), BaselineEnd = new DateTime(2024, 5, 8), Complete = 0d, Cost = 5, BaselineCost = 8d, }); + + data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 30, Name = "Dry In", StDate = new DateTime(2024, 5, 8), EndDate = new DateTime(2024, 5, 14), BaselineStart = new DateTime(2024, 5, 8), BaselineEnd = new DateTime(2024, 5, 15), Complete = 0d, Cost = 232, BaselineCost = 323d, }); + data[0].ChildTask[4].ChildTask.Add(new ProjectStatisticsModel() { Id = 31, Name = "Installing Sheathing for floors", StDate = new DateTime(2024, 5, 8), EndDate = new DateTime(2024, 5, 14), BaselineStart = new DateTime(2024, 5, 9), BaselineEnd = new DateTime(2024, 5, 15), Complete = 0d, Cost = 232, BaselineCost = 323d, }); + data[0].ChildTask[4].ChildTask.Add(new ProjectStatisticsModel() { Id = 32, Name = "Installing Windows", StDate = new DateTime(2024, 5, 14), EndDate = new DateTime(2024, 5, 25), BaselineStart = new DateTime(2024, 5, 14), BaselineEnd = new DateTime(2024, 5, 25), Complete = 0d, Cost = 325, BaselineCost = 452d, }); + data[0].ChildTask[4].ChildTask.Add(new ProjectStatisticsModel() { Id = 33, Name = "Installing Sheathing for Roof", StDate = new DateTime(2024, 5, 25), EndDate = new DateTime(2024, 5, 30), BaselineStart = new DateTime(2024, 5, 23), BaselineEnd = new DateTime(2024, 5, 30), Complete = 0d, Cost = 82, BaselineCost = 83d, }); + + data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 34, Name = "Exterior Finishing", StDate = new DateTime(2024, 5, 31), EndDate = new DateTime(2024, 6, 12), BaselineStart = new DateTime(2024, 5, 31), BaselineEnd = new DateTime(2024, 6, 12), Complete = 0d, Cost = 463, BaselineCost = 633d, }); + data[0].ChildTask[5].ChildTask.Add(new ProjectStatisticsModel() { Id = 35, Name = "Exterior Trimming", StDate = new DateTime(2024, 5, 31), EndDate = new DateTime(2024, 6, 12), BaselineStart = new DateTime(2024, 5, 31), BaselineEnd = new DateTime(2024, 6, 12), Complete = 0d, Cost = 463, BaselineCost = 633d, }); + data[0].ChildTask[5].ChildTask.Add(new ProjectStatisticsModel() { Id = 36, Name = "Completing Exterior Bricks", StDate = new DateTime(2024, 6, 12), EndDate = new DateTime(2024, 6, 17), BaselineStart = new DateTime(2024, 6, 12), BaselineEnd = new DateTime(2024, 6, 17), Complete = 0d, Cost = 234, BaselineCost = 333d, }); + + data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 37, Name = "Interior Finishing", StDate = new DateTime(2024, 6, 17), EndDate = new DateTime(2024, 6, 19), BaselineStart = new DateTime(2024, 6, 17), BaselineEnd = new DateTime(2024, 6, 19), Complete = 0d, Cost = 43, BaselineCost = 33d, }); + + data[0].ChildTask[6].ChildTask.Add(new ProjectStatisticsModel() { Id = 38, Name = "Installing Insulation", StDate = new DateTime(2024, 6, 17), EndDate = new DateTime(2024, 6, 19), BaselineStart = new DateTime(2024, 6, 17), BaselineEnd = new DateTime(2024, 6, 19), Complete = 0d, Cost = 43, BaselineCost = 33d, }); + data[0].ChildTask[6].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 39, Name = "Install Floor Insulation", StDate = new DateTime(2024, 6, 17), EndDate = new DateTime(2024, 6, 19), BaselineStart = new DateTime(2024, 6, 17), BaselineEnd = new DateTime(2024, 6, 19), Complete = 0d, Cost = 43, BaselineCost = 33d, }); + data[0].ChildTask[6].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 40, Name = "Install Wall Insulation", StDate = new DateTime(2024, 6, 19), EndDate = new DateTime(2024, 6, 21), BaselineStart = new DateTime(2024, 6, 19), BaselineEnd = new DateTime(2024, 6, 21), Complete = 0d, Cost = 53, BaselineCost = 83d, }); + data[0].ChildTask[6].ChildTask[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 41, Name = "Install Ceiling Insulation", StDate = new DateTime(2024, 6, 21), EndDate = new DateTime(2024, 6, 22), BaselineStart = new DateTime(2024, 6, 21), BaselineEnd = new DateTime(2024, 6, 22), Complete = 0d, Cost = 89, BaselineCost = 83d, }); + + + data[0].ChildTask[6].ChildTask.Add(new ProjectStatisticsModel() { Id = 42, Name = "Painting and Wallpaper", StDate = new DateTime(2024, 6, 22), EndDate = new DateTime(2024, 6, 23), BaselineStart = new DateTime(2024, 6, 22), BaselineEnd = new DateTime(2024, 6, 23), Complete = 0d, Cost = 453, BaselineCost = 563, }); + data[0].ChildTask[6].ChildTask[1].ChildTask.Add(new ProjectStatisticsModel() { Id = 43, Name = "Painting all Interior", StDate = new DateTime(2024, 6, 22), EndDate = new DateTime(2024, 6, 23), BaselineStart = new DateTime(2024, 6, 22), BaselineEnd = new DateTime(2024, 6, 23), Complete = 0d, Cost = 453, BaselineCost = 563, }); + data[0].ChildTask[6].ChildTask[1].ChildTask.Add(new ProjectStatisticsModel() { Id = 44, Name = "Painting all Exterior", StDate = new DateTime(2024, 6, 23), EndDate = new DateTime(2024, 6, 25), BaselineStart = new DateTime(2024, 6, 23), BaselineEnd = new DateTime(2024, 6, 25), Complete = 0d, Cost = 352, BaselineCost = 342, }); + data[0].ChildTask[6].ChildTask[1].ChildTask.Add(new ProjectStatisticsModel() { Id = 45, Name = "Additional Trimming Work", StDate = new DateTime(2024, 6, 25), EndDate = new DateTime(2024, 6, 27), BaselineStart = new DateTime(2024, 6, 25), BaselineEnd = new DateTime(2024, 6, 27), Complete = 0d, Cost = 32, BaselineCost = 50, }); + + data[0].ChildTask[6].ChildTask.Add(new ProjectStatisticsModel() { Id = 46, Name = "Finishing Plumbing", StDate = new DateTime(2024, 6, 27), EndDate = new DateTime(2024, 6, 29), BaselineStart = new DateTime(2024, 6, 27), BaselineEnd = new DateTime(2024, 6, 29), Complete = 0d, Cost = 424, BaselineCost = 423, }); + data[0].ChildTask[6].ChildTask[2].ChildTask.Add(new ProjectStatisticsModel() { Id = 47, Name = "First floor Plumbing", StDate = new DateTime(2024, 6, 27), EndDate = new DateTime(2024, 6, 29), BaselineStart = new DateTime(2024, 6, 27), BaselineEnd = new DateTime(2024, 6, 29), Complete = 0d, Cost = 424, BaselineCost = 423, }); + data[0].ChildTask[6].ChildTask[2].ChildTask.Add(new ProjectStatisticsModel() { Id = 48, Name = "Second floor plumbing", StDate = new DateTime(2024, 6, 29), EndDate = new DateTime(2024, 7, 1), BaselineStart = new DateTime(2024, 6, 29), BaselineEnd = new DateTime(2024, 7, 1), Complete = 0d, Cost = 234, BaselineCost = 324, }); + data[0].ChildTask[6].ChildTask[2].ChildTask.Add(new ProjectStatisticsModel() { Id = 49, Name = "Inspecting Plumbing", StDate = new DateTime(2024, 7, 1), EndDate = new DateTime(2024, 7, 3), BaselineStart = new DateTime(2024, 7, 1), BaselineEnd = new DateTime(2024, 7, 3), Complete = 0d, Cost = 23, BaselineCost = 33d, }); + + data[0].ChildTask[6].ChildTask.Add(new ProjectStatisticsModel() { Id = 50, Name = "Finishing Electrical", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), BaselineStart = new DateTime(2024, 7, 3), BaselineEnd = new DateTime(2024, 7, 5), Complete = 0d, Cost = 432, BaselineCost = 536, }); + data[0].ChildTask[6].ChildTask[3].ChildTask.Add(new ProjectStatisticsModel() { Id = 51, Name = "Complete first floor connections", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), BaselineStart = new DateTime(2024, 7, 3), BaselineEnd = new DateTime(2024, 7, 5), Complete = 0d, Cost = 432, BaselineCost = 536, }); + data[0].ChildTask[6].ChildTask[3].ChildTask.Add(new ProjectStatisticsModel() { Id = 52, Name = "Complete second floor connections", StDate = new DateTime(2024, 7, 5), EndDate = new DateTime(2024, 7, 7), BaselineStart = new DateTime(2024, 7, 4), BaselineEnd = new DateTime(2024, 7, 6), Complete = 0d, Cost = 563, BaselineCost = 463, }); + data[0].ChildTask[6].ChildTask[3].ChildTask.Add(new ProjectStatisticsModel() { Id = 53, Name = "Complete non-Electrical Wiring", StDate = new DateTime(2024, 7, 7), EndDate = new DateTime(2024, 7, 8), BaselineStart = new DateTime(2024, 7, 7), BaselineEnd = new DateTime(2024, 7, 8), Complete = 0d, Cost = 234, BaselineCost = 563, }); + + data[0].ChildTask[6].ChildTask.Add(new ProjectStatisticsModel() { Id = 54, Name = "Carpet,Tiles and Furnishing", StDate = new DateTime(2024, 7, 8), EndDate = new DateTime(2024, 7, 10), BaselineStart = new DateTime(2024, 7, 9), BaselineEnd = new DateTime(2024, 7, 11), Complete = 0d, Cost = 253, BaselineCost = 210, }); + data[0].ChildTask[6].ChildTask[4].ChildTask.Add(new ProjectStatisticsModel() { Id = 55, Name = "Complete first floor carpet", StDate = new DateTime(2024, 7, 8), EndDate = new DateTime(2024, 7, 10), BaselineStart = new DateTime(2024, 7, 8), BaselineEnd = new DateTime(2024, 7, 10), Complete = 0d, Cost = 253, BaselineCost = 210, }); + data[0].ChildTask[6].ChildTask[4].ChildTask.Add(new ProjectStatisticsModel() { Id = 56, Name = "Complete second floor carpet", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 13), BaselineStart = new DateTime(2024, 7, 10), BaselineEnd = new DateTime(2024, 7, 13), Complete = 0d, Cost = 341, BaselineCost = 300, }); + data[0].ChildTask[6].ChildTask[4].ChildTask.Add(new ProjectStatisticsModel() { Id = 57, Name = "Complete Furnishing Kitchen, bath, hall", StDate = new DateTime(2024, 7, 13), EndDate = new DateTime(2024, 7, 14), BaselineStart = new DateTime(2024, 7, 13), BaselineEnd = new DateTime(2024, 7, 14), Complete = 0, Cost = 4252, BaselineCost = 6033d, }); + + data[0].ChildTask.Add(new ProjectStatisticsModel() { Id = 58, Name = "Final Acceptance", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 16), BaselineStart = new DateTime(2024, 7, 14), BaselineEnd = new DateTime(2024, 7, 16), Complete = 0d, Cost = 430, BaselineCost = 433d, }); + data[0].ChildTask[7].ChildTask.Add(new ProjectStatisticsModel() { Id = 59, Name = "Cleaning", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 16), BaselineStart = new DateTime(2024, 7, 14), BaselineEnd = new DateTime(2024, 7, 16), Complete = 0d, Cost = 430, BaselineCost = 433d, }); + data[0].ChildTask[7].ChildTask.Add(new ProjectStatisticsModel() { Id = 60, Name = "Final Inspection", StDate = new DateTime(2024, 7, 16), EndDate = new DateTime(2024, 7, 17), BaselineStart = new DateTime(2024, 7, 16), BaselineEnd = new DateTime(2024, 7, 17), Complete = 0d, Cost = 0, BaselineCost = 5, }); + data[0].ChildTask[7].ChildTask.Add(new ProjectStatisticsModel() { Id = 61, Name = "Move In", StDate = new DateTime(2024, 7, 17), EndDate = new DateTime(2024, 7, 17), BaselineStart = new DateTime(2024, 7, 18), BaselineEnd = new DateTime(2024, 7, 18), Complete = 0d, Cost = 0, BaselineCost = 0, }); // Adding Resources diff --git a/gantt/ViewModel/ResourceNameCustomizationViewModel.cs b/gantt/ViewModel/ResourceNameCustomizationViewModel.cs index 6c42ec975..c08bc3b3e 100644 --- a/gantt/ViewModel/ResourceNameCustomizationViewModel.cs +++ b/gantt/ViewModel/ResourceNameCustomizationViewModel.cs @@ -56,30 +56,30 @@ public ObservableCollection TaskCollection public ObservableCollection GetData() { var data = new ObservableCollection(); - data.Add(new ResourceNameCustomizationModel() { Id = 1, Name = "Scope", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 40d }); - data[0].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 5), Complete = 20d, })); - data[0].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[0].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 14), Complete = 10d, })); - data[0].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 5, Name = "Secure complete", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); + data.Add(new ResourceNameCustomizationModel() { Id = 1, Name = "Scope", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 40d }); + data[0].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 5), Complete = 20d, })); + data[0].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[0].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 14), Complete = 10d, })); + data[0].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 5, Name = "Secure complete", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); - data.Add(new ResourceNameCustomizationModel() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2011, 7, 15), EndDate = new DateTime(2011, 7, 24) }); - data[1].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2011, 7, 15), EndDate = new DateTime(2011, 7, 21), Complete = 20d, })); - data[1].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2011, 7, 21), EndDate = new DateTime(2011, 7, 23), Complete = 20d, })); - data[1].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2011, 7, 21), EndDate = new DateTime(2011, 7, 24), Complete = 20d, })); - data[1].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2011, 7, 24), EndDate = new DateTime(2011, 7, 24), Complete = 30d })); + data.Add(new ResourceNameCustomizationModel() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2024, 7, 15), EndDate = new DateTime(2024, 7, 24) }); + data[1].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2024, 7, 15), EndDate = new DateTime(2024, 7, 21), Complete = 20d, })); + data[1].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2024, 7, 21), EndDate = new DateTime(2024, 7, 23), Complete = 20d, })); + data[1].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2024, 7, 21), EndDate = new DateTime(2024, 7, 24), Complete = 20d, })); + data[1].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2024, 7, 24), EndDate = new DateTime(2024, 7, 24), Complete = 30d })); - data.Add(new ResourceNameCustomizationModel() { Id = 11, Name = "Monitoring", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); - data[2].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 7, 26), Complete = 20d, })); - data[2].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2011, 7, 27), EndDate = new DateTime(2011, 7, 30), Complete = 20d, })); - data[2].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2011, 7, 31), EndDate = new DateTime(2011, 8, 2), Complete = 20d, })); - data[2].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2011, 8, 3), EndDate = new DateTime(2011, 8, 6), Complete = 30d, })); - data[2].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2011, 8, 6), EndDate = new DateTime(2011, 8, 6), Complete = 30d })); + data.Add(new ResourceNameCustomizationModel() { Id = 11, Name = "Monitoring", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); + data[2].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 7, 26), Complete = 20d, })); + data[2].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2024, 7, 27), EndDate = new DateTime(2024, 7, 30), Complete = 20d, })); + data[2].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2024, 7, 31), EndDate = new DateTime(2024, 8, 2), Complete = 20d, })); + data[2].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2024, 8, 3), EndDate = new DateTime(2024, 8, 6), Complete = 30d, })); + data[2].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2024, 8, 6), EndDate = new DateTime(2024, 8, 6), Complete = 30d })); - data.Add(new ResourceNameCustomizationModel() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 8, 12) }); - data[3].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 7, 29), Complete = 20d, })); - data[3].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2011, 7, 29), EndDate = new DateTime(2011, 8, 5), Complete = 20d, })); - data[3].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2011, 8, 2), EndDate = new DateTime(2011, 8, 8), Complete = 20d, })); - data[3].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2011, 8, 8), EndDate = new DateTime(2011, 8, 12), Complete = 30d })); + data.Add(new ResourceNameCustomizationModel() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 8, 12) }); + data[3].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 7, 29), Complete = 20d, })); + data[3].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2024, 7, 29), EndDate = new DateTime(2024, 8, 5), Complete = 20d, })); + data[3].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2024, 8, 2), EndDate = new DateTime(2024, 8, 8), Complete = 20d, })); + data[3].ChildTask.Add((new ResourceNameCustomizationModel() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2024, 8, 8), EndDate = new DateTime(2024, 8, 12), Complete = 30d })); data[0].ChildTask[0].Resource.Add(new Resource() { ID = 1, Name = "Leslie" }); data[0].ChildTask[1].Resource.Add(new Resource() { ID = 2, Name = "Neil" }); diff --git a/gantt/ViewModel/ResourceViewModel.cs b/gantt/ViewModel/ResourceViewModel.cs index 0411d3370..34d20d32d 100644 --- a/gantt/ViewModel/ResourceViewModel.cs +++ b/gantt/ViewModel/ResourceViewModel.cs @@ -64,81 +64,81 @@ public ObservableCollection GetTeamInfo() teams.Add(new Item() { Name = "RDU Team" }); Item Person = new Item() { Name = "Robert" }; - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 07), FinishDate = new DateTime(2012, 01, 11), Name = "Market Analysis", Progress = 50d }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 11, 12, 0, 0), FinishDate = new DateTime(2012, 01, 17), Name = "Competitor Analysis", Progress = 20d }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 17, 12, 0, 0), FinishDate = new DateTime(2012, 01, 21), Name = "Design Spec" }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 07), FinishDate = new DateTime(2024, 01, 11), Name = "Market Analysis", Progress = 50d }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 11, 12, 0, 0), FinishDate = new DateTime(2024, 01, 17), Name = "Competitor Analysis", Progress = 20d }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 17, 12, 0, 0), FinishDate = new DateTime(2024, 01, 21), Name = "Design Spec" }); teams[0].SubItems.Add(Person); Person = new Item() { Name = "Michael" }; - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 14), FinishDate = new DateTime(2012, 01, 19), Name = "Basic Requirement Analysis", Progress = 40 }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 19, 12, 0, 0), FinishDate = new DateTime(2012, 01, 23), Name = "Requirement Spec" }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 14), FinishDate = new DateTime(2024, 01, 19), Name = "Basic Requirement Analysis", Progress = 40 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 19, 12, 0, 0), FinishDate = new DateTime(2024, 01, 23), Name = "Requirement Spec" }); teams[0].SubItems.Add(Person); Person = new Item() { Name = "Anne" }; - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 21), FinishDate = new DateTime(2012, 01, 25), Name = "Estimation", Progress = 30 }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 25, 12, 0, 0), FinishDate = new DateTime(2012, 01, 29, 12, 0, 0), Name = "Budget & Plan Spec" }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 21), FinishDate = new DateTime(2024, 01, 25), Name = "Estimation", Progress = 30 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 25, 12, 0, 0), FinishDate = new DateTime(2024, 01, 29, 12, 0, 0), Name = "Budget & Plan Spec" }); teams[0].SubItems.Add(Person); teams.Add(new Item() { Name = "Graphics Team" }); Person = new Item() { Name = "Madhan" }; - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 17), FinishDate = new DateTime(2012, 01, 21), Name = "Identifying UI modules", Progress = 40 }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 21, 12, 0, 0), FinishDate = new DateTime(2012, 01, 26), Name = "Defining UI Design" }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 17), FinishDate = new DateTime(2024, 01, 21), Name = "Identifying UI modules", Progress = 40 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 21, 12, 0, 0), FinishDate = new DateTime(2024, 01, 26), Name = "Defining UI Design" }); teams[1].SubItems.Add(Person); Person = new Item() { Name = "Peter" }; - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 21), FinishDate = new DateTime(2012, 01, 24), Name = "Designing Animagions", Progress = 40 }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 24, 12, 0, 0), FinishDate = new DateTime(2012, 01, 28), Name = "Completing Overall Graphics design" }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 21), FinishDate = new DateTime(2024, 01, 24), Name = "Designing Animagions", Progress = 40 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 24, 12, 0, 0), FinishDate = new DateTime(2024, 01, 28), Name = "Completing Overall Graphics design" }); teams[1].SubItems.Add(Person); teams.Add(new Item() { Name = "Dev Team" }); Person = new Item() { Name = "Ruban" }; - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 19), FinishDate = new DateTime(2012, 01, 22), Name = "Analysis", Progress = 30 }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 22, 12, 0, 0), FinishDate = new DateTime(2012, 01, 26), Name = "Defining Modules", Progress = 10 }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 26, 12, 0, 0), FinishDate = new DateTime(2012, 01, 30), Name = "Development Plan", Progress = 10 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 19), FinishDate = new DateTime(2024, 01, 22), Name = "Analysis", Progress = 30 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 22, 12, 0, 0), FinishDate = new DateTime(2024, 01, 26), Name = "Defining Modules", Progress = 10 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 26, 12, 0, 0), FinishDate = new DateTime(2024, 01, 30), Name = "Development Plan", Progress = 10 }); teams[2].SubItems.Add(Person); Person = new Item() { Name = "Karthick" }; - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 20), FinishDate = new DateTime(2012, 01, 22, 12, 0, 0), Name = "Analysis", Progress = 10 }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 23), FinishDate = new DateTime(2012, 1, 29), Name = "Module Development" }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 29, 12, 0, 0), FinishDate = new DateTime(2012, 02, 2), Name = "Self Testing" }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 20), FinishDate = new DateTime(2024, 01, 22, 12, 0, 0), Name = "Analysis", Progress = 10 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 23), FinishDate = new DateTime(2024, 1, 29), Name = "Module Development" }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 29, 12, 0, 0), FinishDate = new DateTime(2024, 02, 2), Name = "Self Testing" }); teams[2].SubItems.Add(Person); Person = new Item() { Name = "Suyama" }; - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 21), FinishDate = new DateTime(2012, 01, 24), Name = "Analysis", Progress = 10 }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 24, 12, 0, 0), FinishDate = new DateTime(2012, 01, 31), Name = "Module Development" }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 02, 1), FinishDate = new DateTime(2012, 02, 4), Name = "Self Testing" }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 21), FinishDate = new DateTime(2024, 01, 24), Name = "Analysis", Progress = 10 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 24, 12, 0, 0), FinishDate = new DateTime(2024, 01, 31), Name = "Module Development" }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 02, 1), FinishDate = new DateTime(2024, 02, 4), Name = "Self Testing" }); teams[2].SubItems.Add(Person); Person = new Item() { Name = "Albert" }; - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 27), FinishDate = new DateTime(2012, 01, 31), Name = "Modules Integration" }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 31, 12, 0, 0), FinishDate = new DateTime(2012, 02, 4), Name = "Integration Testing" }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 02, 5), FinishDate = new DateTime(2012, 02, 8, 12, 0, 0), Name = "Completeness" }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 27), FinishDate = new DateTime(2024, 01, 31), Name = "Modules Integration" }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 31, 12, 0, 0), FinishDate = new DateTime(2024, 02, 4), Name = "Integration Testing" }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 02, 5), FinishDate = new DateTime(2024, 02, 8, 12, 0, 0), Name = "Completeness" }); teams[2].SubItems.Add(Person); teams.Add(new Item() { Name = "Doc Team" }); Person = new Item() { Name = "Laura" }; - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 02, 02), FinishDate = new DateTime(2012, 02, 07), Name = "User Guide Development", Progress = 10 }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 02, 08), FinishDate = new DateTime(2012, 02, 11), Name = "Publishing User Guide", Progress = 10 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 02, 02), FinishDate = new DateTime(2024, 02, 07), Name = "User Guide Development", Progress = 10 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 02, 08), FinishDate = new DateTime(2024, 02, 11), Name = "Publishing User Guide", Progress = 10 }); teams[3].SubItems.Add(Person); Person = new Item() { Name = "Margaret" }; - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 02, 05), FinishDate = new DateTime(2012, 02, 08), Name = "Web Conetent Development", Progress = 10 }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 02, 08, 12, 0, 0), FinishDate = new DateTime(2012, 02, 12), Name = "Publishing Web Conetent", Progress = 10 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 02, 05), FinishDate = new DateTime(2024, 02, 08), Name = "Web Conetent Development", Progress = 10 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 02, 08, 12, 0, 0), FinishDate = new DateTime(2024, 02, 12), Name = "Publishing Web Conetent", Progress = 10 }); teams[3].SubItems.Add(Person); teams.Add(new Item() { Name = "Sales Team" }); Person = new Item() { Name = "Steven" }; - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 13), FinishDate = new DateTime(2012, 01, 17), Name = "Defining Target", Progress = 80 }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 18), FinishDate = new DateTime(2012, 01, 22), Name = "Defining Startegy", Progress = 50 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 13), FinishDate = new DateTime(2024, 01, 17), Name = "Defining Target", Progress = 80 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 18), FinishDate = new DateTime(2024, 01, 22), Name = "Defining Startegy", Progress = 50 }); teams[4].SubItems.Add(Person); Person = new Item() { Name = "Janet" }; - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 01, 21), FinishDate = new DateTime(2012, 01, 26), Name = "Collect Customers list", Progress = 50 }); - Person.InLineItems.Add(new Item() { StartDate = new DateTime(2012, 02, 09), FinishDate = new DateTime(2012, 02, 14), Name = "Contacting Customer" }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 01, 21), FinishDate = new DateTime(2024, 01, 26), Name = "Collect Customers list", Progress = 50 }); + Person.InLineItems.Add(new Item() { StartDate = new DateTime(2024, 02, 09), FinishDate = new DateTime(2024, 02, 14), Name = "Contacting Customer" }); teams[4].SubItems.Add(Person); return teams; diff --git a/gantt/ViewModel/SplitTaskSampleViewModel.cs b/gantt/ViewModel/SplitTaskSampleViewModel.cs index 0fe06c5fb..71ebd52f6 100644 --- a/gantt/ViewModel/SplitTaskSampleViewModel.cs +++ b/gantt/ViewModel/SplitTaskSampleViewModel.cs @@ -59,42 +59,42 @@ public ObservableCollection TaskCollections public ObservableCollection GetData() { var data = new ObservableCollection(); - data.Add(new SplitTaskSampleModel() { Id = 1, Name = "Scope", StDate = new DateTime(2011, 7, 3), EndDate = new DateTime(2011, 7, 14), Complete = 40d, Resource = new ObservableCollection() { new Resource() { Name = "John" } } }); - data[0].ChildTask.Add((new SplitTaskSampleModel() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2011, 6, 10), EndDate = new DateTime(2011, 6, 30), Complete = 20d })); - data[0].ChildTask.Add((new SplitTaskSampleModel() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2011, 7, 6), EndDate = new DateTime(2011, 7, 7), Complete = 20d })); - data[0].ChildTask.Add((new SplitTaskSampleModel() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2011, 7, 10), EndDate = new DateTime(2011, 7, 30), Complete = 10d })); - data[0].ChildTask.Add((new SplitTaskSampleModel() { Id = 5, Name = "Secure complete", StDate = new DateTime(2011, 7, 14), EndDate = new DateTime(2011, 7, 14), Complete = 10d })); + data.Add(new SplitTaskSampleModel() { Id = 1, Name = "Scope", StDate = new DateTime(2024, 7, 3), EndDate = new DateTime(2024, 7, 14), Complete = 40d, Resource = new ObservableCollection() { new Resource() { Name = "John" } } }); + data[0].ChildTask.Add((new SplitTaskSampleModel() { Id = 2, Name = "Determine project office scope", StDate = new DateTime(2024, 6, 10), EndDate = new DateTime(2024, 6, 30), Complete = 20d })); + data[0].ChildTask.Add((new SplitTaskSampleModel() { Id = 3, Name = "Justify Project Offfice via business model", StDate = new DateTime(2024, 7, 6), EndDate = new DateTime(2024, 7, 7), Complete = 20d })); + data[0].ChildTask.Add((new SplitTaskSampleModel() { Id = 4, Name = "Secure executive sponsorship", StDate = new DateTime(2024, 7, 10), EndDate = new DateTime(2024, 7, 30), Complete = 10d })); + data[0].ChildTask.Add((new SplitTaskSampleModel() { Id = 5, Name = "Secure complete", StDate = new DateTime(2024, 7, 14), EndDate = new DateTime(2024, 7, 14), Complete = 10d })); var splitSegments = new ObservableCollection(); - splitSegments.Add(new SplitTask { StartDate = new DateTime(2011, 6, 10), FinishDate = new DateTime(2011, 6, 11) }); - splitSegments.Add(new SplitTask { StartDate = new DateTime(2011, 6, 12), FinishDate = new DateTime(2011, 6, 13) }); - splitSegments.Add(new SplitTask { StartDate = new DateTime(2011, 6, 14), FinishDate = new DateTime(2011, 6, 16) }); - splitSegments.Add(new SplitTask { StartDate = new DateTime(2011, 6, 17), FinishDate = new DateTime(2011, 6, 20) }); - splitSegments.Add(new SplitTask { StartDate = new DateTime(2011, 6, 21), FinishDate = new DateTime(2011, 6, 30) }); + splitSegments.Add(new SplitTask { StartDate = new DateTime(2024, 6, 10), FinishDate = new DateTime(2024, 6, 11) }); + splitSegments.Add(new SplitTask { StartDate = new DateTime(2024, 6, 12), FinishDate = new DateTime(2024, 6, 13) }); + splitSegments.Add(new SplitTask { StartDate = new DateTime(2024, 6, 14), FinishDate = new DateTime(2024, 6, 16) }); + splitSegments.Add(new SplitTask { StartDate = new DateTime(2024, 6, 17), FinishDate = new DateTime(2024, 6, 20) }); + splitSegments.Add(new SplitTask { StartDate = new DateTime(2024, 6, 21), FinishDate = new DateTime(2024, 6, 30) }); data[0].ChildTask[0].SplitSegments = splitSegments; - data.Add(new SplitTaskSampleModel() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2011, 7, 15), EndDate = new DateTime(2011, 7, 24), Resource = new ObservableCollection() { new Resource() { Name = "David" } } }); - data[1].ChildTask.Add((new SplitTaskSampleModel() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2011, 7, 15), EndDate = new DateTime(2011, 7, 21), Complete = 20d })); - data[1].ChildTask.Add((new SplitTaskSampleModel() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2011, 7, 21), EndDate = new DateTime(2011, 7, 23), Complete = 20d })); - data[1].ChildTask.Add((new SplitTaskSampleModel() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2011, 7, 21), EndDate = new DateTime(2011, 7, 24), Complete = 20d })); - data[1].ChildTask.Add((new SplitTaskSampleModel() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2011, 7, 24), EndDate = new DateTime(2011, 7, 24), Complete = 30d })); + data.Add(new SplitTaskSampleModel() { Id = 6, Name = "Risk Assessment", StDate = new DateTime(2024, 7, 15), EndDate = new DateTime(2024, 7, 24), Resource = new ObservableCollection() { new Resource() { Name = "David" } } }); + data[1].ChildTask.Add((new SplitTaskSampleModel() { Id = 7, Name = "Perform risk assessment", StDate = new DateTime(2024, 7, 15), EndDate = new DateTime(2024, 7, 21), Complete = 20d })); + data[1].ChildTask.Add((new SplitTaskSampleModel() { Id = 8, Name = "Evaluate risk assessment", StDate = new DateTime(2024, 7, 21), EndDate = new DateTime(2024, 7, 23), Complete = 20d })); + data[1].ChildTask.Add((new SplitTaskSampleModel() { Id = 9, Name = "Prepare contingency plans", StDate = new DateTime(2024, 7, 21), EndDate = new DateTime(2024, 7, 24), Complete = 20d })); + data[1].ChildTask.Add((new SplitTaskSampleModel() { Id = 10, Name = "Risk Assessment complete", StDate = new DateTime(2024, 7, 24), EndDate = new DateTime(2024, 7, 24), Complete = 30d })); - data.Add(new SplitTaskSampleModel() { Id = 11, Name = "Monitoring", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); - data[2].ChildTask.Add((new SplitTaskSampleModel() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 7, 26), Complete = 20d })); - data[2].ChildTask.Add((new SplitTaskSampleModel() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2011, 7, 27), EndDate = new DateTime(2011, 7, 30), Complete = 20d })); - data[2].ChildTask.Add((new SplitTaskSampleModel() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2011, 7, 31), EndDate = new DateTime(2011, 8, 2), Complete = 20d })); - data[2].ChildTask.Add((new SplitTaskSampleModel() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2011, 8, 3), EndDate = new DateTime(2011, 8, 6), Complete = 30d })); - data[2].ChildTask.Add((new SplitTaskSampleModel() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2011, 8, 6), EndDate = new DateTime(2011, 8, 6), Complete = 30d })); + data.Add(new SplitTaskSampleModel() { Id = 11, Name = "Monitoring", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 8, 6), Duration = new TimeSpan(1, 0, 0, 0) }); + data[2].ChildTask.Add((new SplitTaskSampleModel() { Id = 12, Name = "Prepare Meeting agenda", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 7, 26), Complete = 20d })); + data[2].ChildTask.Add((new SplitTaskSampleModel() { Id = 13, Name = "Conduct review meeting", StDate = new DateTime(2024, 7, 27), EndDate = new DateTime(2024, 7, 30), Complete = 20d })); + data[2].ChildTask.Add((new SplitTaskSampleModel() { Id = 14, Name = "Migrate critical issues", StDate = new DateTime(2024, 7, 31), EndDate = new DateTime(2024, 8, 2), Complete = 20d })); + data[2].ChildTask.Add((new SplitTaskSampleModel() { Id = 15, Name = "Estabilish change mgmt Control", StDate = new DateTime(2024, 8, 3), EndDate = new DateTime(2024, 8, 6), Complete = 30d })); + data[2].ChildTask.Add((new SplitTaskSampleModel() { Id = 16, Name = "Monitoring Complete", StDate = new DateTime(2024, 8, 6), EndDate = new DateTime(2024, 8, 6), Complete = 30d })); - data.Add(new SplitTaskSampleModel() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 8, 12) }); - data[3].ChildTask.Add((new SplitTaskSampleModel() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2011, 7, 25), EndDate = new DateTime(2011, 7, 29), Complete = 20d })); - data[3].ChildTask.Add((new SplitTaskSampleModel() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2011, 7, 29), EndDate = new DateTime(2011, 8, 5), Complete = 20d })); + data.Add(new SplitTaskSampleModel() { Id = 17, Name = "Post Implementation", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 8, 12) }); + data[3].ChildTask.Add((new SplitTaskSampleModel() { Id = 18, Name = "Obtain User feedback", StDate = new DateTime(2024, 7, 25), EndDate = new DateTime(2024, 7, 29), Complete = 20d })); + data[3].ChildTask.Add((new SplitTaskSampleModel() { Id = 19, Name = "Evaluate lessons learned", StDate = new DateTime(2024, 7, 29), EndDate = new DateTime(2024, 8, 5), Complete = 20d })); var segments = new ObservableCollection(); - splitSegments.Add(new SplitTask { StartDate = new DateTime(2011, 7, 29), FinishDate = new DateTime(2011, 7, 30) }); - splitSegments.Add(new SplitTask { StartDate = new DateTime(2011, 8, 1), FinishDate = new DateTime(2011, 8, 3) }); + splitSegments.Add(new SplitTask { StartDate = new DateTime(2024, 7, 29), FinishDate = new DateTime(2024, 7, 30) }); + splitSegments.Add(new SplitTask { StartDate = new DateTime(2024, 8, 1), FinishDate = new DateTime(2024, 8, 3) }); data[3].ChildTask[1].SplitSegments = segments; - data[3].ChildTask.Add((new SplitTaskSampleModel() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2011, 8, 2), EndDate = new DateTime(2011, 8, 8), Complete = 20d })); - data[3].ChildTask.Add((new SplitTaskSampleModel() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2011, 8, 8), EndDate = new DateTime(2011, 8, 12), Complete = 30d })); + data[3].ChildTask.Add((new SplitTaskSampleModel() { Id = 20, Name = "Modify items as necessary", StDate = new DateTime(2024, 8, 2), EndDate = new DateTime(2024, 8, 8), Complete = 20d })); + data[3].ChildTask.Add((new SplitTaskSampleModel() { Id = 21, Name = "Post Implementation complete", StDate = new DateTime(2024, 8, 8), EndDate = new DateTime(2024, 8, 12), Complete = 30d })); data[0].ChildTask[1].Predecessor.Add(new Predecessor() { GanttTaskIndex = 2, GanttTaskRelationship = GanttTaskRelationship.StartToStart });