Tsk.ACWP
Tsk.ACWP field
Costs incurred for work already done on a task, up to the project status date or today’s date.
public static readonly Key<double, TaskKey> ACWP;
Examples
Shows how to read task cost values.
var project = new Project(DataDir + "ResourceAssignmentCosts.mpp");
var collector = new ChildTasksCollector();
TaskUtils.Apply(project.RootTask, collector, 0);
foreach (var task in collector.Tasks)
{
Console.WriteLine("Cost: " + task.Get(Tsk.Cost));
Console.WriteLine("ACWP: " + task.Get(Tsk.ACWP));
Console.WriteLine("BCWP: " + task.Get(Tsk.BCWP));
Console.WriteLine("BCWS: " + task.Get(Tsk.BCWS));
// CV = BCWP - ACWP
Console.WriteLine("CV: " + task.Get(Tsk.CV));
Console.WriteLine();
}
See Also
- struct Key<T,K>
- enum TaskKey
- class Tsk
- namespace Aspose.Tasks
- assembly Aspose.Tasks