373 | | |
| 373 | An IProjectTask has the following properties: |
| 374 | |
| 375 | id:: Numeric ID (Inherent in Trac) |
| 376 | work:: Man-hours of work to complete task |
| 377 | risk:: Relative risk. An integer from 1 to 100. How likely it is that ''work'' is accurate. |
| 378 | priority:: Relative priority. An integer. |
| 379 | percentComplete:: How much of ''work'' is done? |
| 380 | resource:: Name of resource assigned to this task |
| 381 | assignedStart:: An explicit constraint on when the task must start (a date) |
| 382 | assignedFinish:: An explicit constraint on when the task must finish (a date) |
| 383 | computedStart:: The result of scheduling this task based on constraints. Equals ''assignedStart'' if that field is set. |
| 384 | computedFinish:: The result of scheduling this task based on constraints. Equals ''assignedFinish'' if that field is set. |
| 385 | dependencies:: A list of other tasks (by ''id'') and the dependencies of this task on them. |
| 386 | |
| 387 | ''assignedStart'' and ''assignedFinish'' are likely mutually exclusive (that is, only one can be set). |
| 388 | |
| 389 | '''Do we need an ALAP/ASAP choice on individual tasks?''' |
| 390 | |
| 391 | Each dependency specifies: |
| 392 | |
| 393 | task:: The ID of the task this task depends on (I'd really like a better name here. ''parent'' is wrong. ''origin''? ''other''?) |
| 394 | type:: Dependency type (FS, SS, SF, or FF) |
| 395 | lag:: Offset of this task's anchor relative to the anchor of ''task''. Whether the ''anchor'' for the dependency is the start or end of the task depends on the dependency type. For example, if Task B has a FS dependency on Task A with a lag of 1 day, then Task B starts 1 day after Task A finishes. Or, if Task B has an SS dependency in Task A with a lag of 1 day, then Task B starts 1 day after Task A starts. |