Rsc.BCWS
Rsc.BCWS field
The budget cost of a work scheduled for a resource.
public static readonly Key<double, RscKey> BCWS;
Examples
Shows how to read resource costs.
var project = new Project(DataDir + "ResourceCosts.mpp");
// Display all resources costs
foreach (var res in project.Resources)
{
if (res.Get(Rsc.Name) == null)
{
continue;
}
Console.WriteLine(res.Get(Rsc.Cost));
Console.WriteLine(res.Get(Rsc.ACWP));
Console.WriteLine(res.Get(Rsc.BCWS));
Console.WriteLine(res.Get(Rsc.BCWP));
// CV = BCWP - ACWP
Console.WriteLine(res.Get(Rsc.CV));
// SV = BCWP - BCWS
Console.WriteLine(res.Get(Rsc.SV));
}
See Also
- struct Key<T,K>
- enum RscKey
- class Rsc
- namespace Aspose.Tasks
- assembly Aspose.Tasks