Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ProjectWorkEquation

OfficeIMO.Project

Namespace
OfficeIMO.Project
Assembly
OfficeIMO.Project
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

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 required
totalUnits OfficeIMO.Project.ProjectUnits required

Returns

decimal
public 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 required
unitPrice decimal required
costPerUse decimal = 0 optional

Returns

decimal
public 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 required
workingMinutes decimal required
public 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 required
units OfficeIMO.Project.ProjectUnits required
public 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 required
overtimeWork OfficeIMO.Project.ProjectWork required
standardHourlyRate decimal required
overtimeHourlyRate decimal required
costPerUse decimal = 0 optional

Returns

decimal