ProjectWorkEquation
OfficeIMO.Project
Explicit, calendar-independent work/units/duration equations for uniform work-resource assignments.
Inheritance
- object
- ProjectWorkEquation
Methods
public static decimal DurationMinutes(ProjectWork work, ProjectUnits totalUnits) #Computes the uniform working duration for a fixed amount of work and positive total units.
Parameters
- work OfficeIMO.Project.ProjectWork
- totalUnits OfficeIMO.Project.ProjectUnits
Returns
decimalpublic static decimal MaterialCost(decimal quantity, decimal unitPrice, decimal costPerUse = 0) #Material quantity times price per material unit plus one per-use charge; no work-resource percentage conversion.
Parameters
- quantity decimal
- unitPrice decimal
- costPerUse decimal = 0
Returns
decimalpublic static ProjectUnits Units(ProjectWork work, decimal workingMinutes) #Computes allocation for fixed work and duration. Zero-duration work cannot be inferred.
Parameters
- work OfficeIMO.Project.ProjectWork
- workingMinutes decimal
Returns
ProjectUnitspublic static ProjectWork Work(decimal workingMinutes, ProjectUnits units) #Computes work from working minutes and allocation units. Elapsed durations must first be resolved against a calendar.
Parameters
- workingMinutes decimal
- units OfficeIMO.Project.ProjectUnits
Returns
ProjectWorkpublic static decimal WorkCost(ProjectWork totalWork, ProjectWork overtimeWork, decimal standardHourlyRate, decimal overtimeHourlyRate, decimal costPerUse = 0) #Uniform 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 decimal
- overtimeHourlyRate decimal
- costPerUse decimal = 0
Returns
decimal