API Reference
Class
ProjectWorkEquation
Explicit, calendar-independent work/units/duration equations for uniform work-resource assignments.
Inheritance
- Object
- ProjectWorkEquation
Methods
public static Decimal DurationMinutes(ProjectWork work, ProjectUnits totalUnits) #Returns:
DecimalComputes the uniform working duration for a fixed amount of work and positive total units.
Parameters
- work OfficeIMO.Project.ProjectWork
- totalUnits OfficeIMO.Project.ProjectUnits
public static Decimal MaterialCost(Decimal quantity, Decimal unitPrice, Decimal costPerUse = 0) #Returns:
DecimalMaterial quantity times price per material unit plus one per-use charge; no work-resource percentage conversion.
Parameters
- quantity System.Decimal
- unitPrice System.Decimal
- costPerUse System.Decimal = 0
public static ProjectUnits Units(ProjectWork work, Decimal workingMinutes) #Returns:
ProjectUnitsComputes allocation for fixed work and duration. Zero-duration work cannot be inferred.
Parameters
- work OfficeIMO.Project.ProjectWork
- workingMinutes System.Decimal
public static ProjectWork Work(Decimal workingMinutes, ProjectUnits units) #Returns:
ProjectWorkComputes work from working minutes and allocation units. Elapsed durations must first be resolved against a calendar.
Parameters
- workingMinutes System.Decimal
- units OfficeIMO.Project.ProjectUnits
public static Decimal WorkCost(ProjectWork totalWork, ProjectWork overtimeWork, Decimal standardHourlyRate, Decimal overtimeHourlyRate, Decimal costPerUse = 0) #Returns:
DecimalUniform planned work cost: regular hours times standard hourly rate plus overtime hours times overtime hourly rate plus the assignment's per-use charge, already scaled by work-resource units.
Parameters
- totalWork OfficeIMO.Project.ProjectWork
- overtimeWork OfficeIMO.Project.ProjectWork
- standardHourlyRate System.Decimal
- overtimeHourlyRate System.Decimal
- costPerUse System.Decimal = 0
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object