id>
<name>shift
<id>
<name>
| |||
|---|---|---|---|
| Description | When several resource have the same working hours, these working hours should be defined as shifts. Each shift must have a unique ID. Resources can be assigned to shifts for certain intervals. Shifts can also be used to limit work on certain tasks to the hours of the shift. | ||
| Attributes | Name | Type | Description |
id | ID | ||
name | STRING | ||
| Optional Attributes | shift, workinghours | ||
| Context | The TJP File, shift, | ||
| Inheritable | No | Scenario Spec. | No |
| See also | shift | ||
project prj "Example" "1.0" 2000-01-01 2000-01-31
shift s1 "Shift1" {
# Special working hours Monday to Wednesday. Use program defaults
# for other days.
workinghours mon 10:00 - 12:00, 13:00-15:00
workinghours tue 9:00-14:00
workinghours wed off
shift s2 "Shift2" {
# Like s1 but with different times on Monday
workinghours mon 10:00 - 17:00
}
}
resource r1 "Resource1" {
shift s1 2000-01-01 - 2000-01-10
shift s2 2000-01-11 - 2000-01-20
}
task t1 "Task1" {
start 2000-01-01
length 200h
# During the specified interval only work at the shift s2 working
# hours.
shift s2 2000-01-09 - 2000-01-17
}