OSDN Git Service

- Limits of allocations are now applied to the allocation instead of
[tjqt4port/tj2qt4.git] / TestSuite / Scheduler / Correct / Team.tjp
1 project simple "Simple Project" "1.0" 2000-01-01-0:00-GMT 2000-01-31-0:00-GMT {
2         timezone "GMT"
3 }
4
5 resource tuxies1 "8 Tux in a Team" { efficiency 8.0 }
6 resource tuxies2 "3 Tux Individiuals" {
7   resource tux1 "Tux1" { }
8         resource tux2 "Tux2" { }
9         resource tux3 "Tux3" { }        
10   resource tux4 "Tux4" { }
11 }
12
13 macro allocate_tuxies2 [
14   allocate tux1 {
15         alternative tux2, tux3, tux4 }
16 ]
17         
18 task t1 "Task1" {
19   start 2000-01-01
20         task s1 "sub1" {
21                 effort 5d
22                 ${allocate_tuxies2}
23         }
24         task s2 "sub2" {
25                 effort 5d
26                 ${allocate_tuxies2}
27         }
28         task s3 "sub3" {
29                 effort 5d
30                 ${allocate_tuxies2}
31         }
32         task s4 "sub4" {
33                 effort 5d
34                 ${allocate_tuxies2}
35         }
36 }
37
38 task t2 "Task2" {
39         depends t1
40         task s1 "sub1" {
41                 effort 5d
42                 allocate tuxies2 { limits { dailymax 8h } }
43                 minend 2000-01-14-17:59:59
44                 maxend 2000-01-14-18:00:00      
45                 priority 600
46         }
47         task s2 "sub2" {
48                 effort 5d
49                 allocate tuxies2 { limits { dailymax 8h } }
50                 minend 2000-01-14-15:59:59
51                 maxend 2000-01-14-16:00:00
52                 priority 601
53         }
54         task s3 "sub3" {
55                 effort 5d
56                 allocate tuxies2 { limits { dailymax 8h } }
57                 minend 2000-01-14-13:59:59
58                 maxend 2000-01-14-14:00:00
59                 priority 602
60         }
61         task s4 "sub4" {
62                 effort 5d
63                 allocate tuxies2 { limits { dailymax 8h } }
64                 minend 2000-01-14-10:59:59
65                 maxend 2000-01-14-11:00:00
66                 priority 603
67         }
68 }
69
70 task t3 "Task3" {
71   depends t2
72   effort 5d
73   allocate tuxies1 { load 1.0 }
74         minend 2000-01-17-15:00
75         maxend 2000-01-17-15:00
76 }
77
78 taskreport "Tasks" {
79   columns start, end, effort, duration
80   hideresource 0
81 }
82
83 resourcereport "Resource" {
84   hidetask 0
85 }  
86
87 export "Team-Export.tjp" {
88         hidetask 0
89         hideresource 0
90         taskattributes all
91         notimestamp
92 }
93
94 htmltaskreport "Team.html" {
95         columns name, start, end, daily
96         notimestamp
97 }