Aspose.Tasks for C++
|
Represents a resource assignment in a project. More...
#include <ResourceAssignment.h>
Inherits Aspose::Tasks::IContainer< K >, IEquatable< System::SharedPtr< Aspose::Tasks::ResourceAssignment > >, Aspose::Tasks::IExtendedAttributeParent, Aspose::Tasks::IEntityWithNotes, and Aspose::Tasks::IEntityWithHyperlink.
Public Member Functions | |
const System::SharedPtr < Aspose::Tasks::Task > & | get_Task () const |
The task to which a resource is assigned. More... | |
void | set_Task (const System::SharedPtr< Aspose::Tasks::Task > &value) |
The task to which a resource is assigned. More... | |
const System::SharedPtr < Aspose::Tasks::Resource > & | get_Resource () const |
The resource assigned to a task. More... | |
void | set_Resource (const System::SharedPtr< Aspose::Tasks::Resource > &value) |
The resource assigned to a task. More... | |
System::Nullable< System::Guid > | get_Guid () const |
Gets unique identifier for this assignment. More... | |
void | set_Guid (System::Nullable< System::Guid > value) |
Sets unique identifier for this assignment. More... | |
const System::SharedPtr < Project > & | get_ParentProject () const override |
Gets parent project for this assignment. More... | |
System::SharedPtr < AssignmentBaselineCollection > | get_Baselines () |
Gets AssignmentBaselineCollection object. The collection of baseline values associated with an assignment. More... | |
System::SharedPtr < ExtendedAttributeCollection > | get_ExtendedAttributes () override |
Gets an instance of the ExtendedAttributeCollection class for this object. More... | |
void | set_ExtendedAttributes (const System::SharedPtr< ExtendedAttributeCollection > &value) |
Sets an instance of the ExtendedAttributeCollection class for this object. More... | |
System::SharedPtr < TimephasedDataCollection > | get_TimephasedData () |
Gets the instance of TimephasedDataCollection class containing elements of TimephasedData class. More... | |
void | set_TimephasedData (const System::SharedPtr< TimephasedDataCollection > &value) |
Sets the instance of TimephasedDataCollection class containing elements of TimephasedData class. More... | |
int32_t | get_Uid () |
Gets a value of Uid. More... | |
void | set_Uid (int32_t value) |
Sets a value of Uid. More... | |
int32_t | get_PercentWorkComplete () |
Gets a value of PercentWorkComplete. More... | |
void | set_PercentWorkComplete (int32_t value) |
Sets a value of PercentWorkComplete. More... | |
System::Decimal | get_ActualCost () |
Gets a value of ActualCost. More... | |
void | set_ActualCost (System::Decimal value) |
Sets a value of ActualCost. More... | |
System::DateTime | get_ActualFinish () |
Gets a value of ActualFinish. More... | |
void | set_ActualFinish (System::DateTime value) |
Sets a value of ActualFinish. More... | |
System::Decimal | get_ActualOvertimeCost () |
Gets a value of ActualOvertimeCost. More... | |
void | set_ActualOvertimeCost (System::Decimal value) |
Sets a value of ActualOvertimeCost. More... | |
System::DateTime | get_ActualStart () |
Gets a value of ActualStart. More... | |
void | set_ActualStart (System::DateTime value) |
Sets a value of ActualStart. More... | |
Duration | get_ActualWork () |
Gets a value of ActualWork. More... | |
void | set_ActualWork (Duration value) |
Sets a value of ActualWork. More... | |
double | get_ACWP () |
Gets a value of ACWP. More... | |
void | set_ACWP (double value) |
Sets a value of ACWP. More... | |
bool | get_Confirmed () |
Gets a value indicating whether Confirmed is set or not. More... | |
void | set_Confirmed (bool value) |
Sets a value indicating whether Confirmed is set or not. More... | |
System::Decimal | get_Cost () |
Gets a value of Cost. More... | |
void | set_Cost (System::Decimal value) |
Sets a value of Cost. More... | |
RateType | get_CostRateTableType () |
Gets a value of CostRateTableType. More... | |
void | set_CostRateTableType (RateType value) |
Sets a value of CostRateTableType. More... | |
double | get_CostVariance () |
Gets a value of CostVariance. More... | |
void | set_CostVariance (double value) |
Sets a value of CostVariance. More... | |
double | get_CV () |
Gets a value of CV. More... | |
void | set_CV (double value) |
Sets a value of CV. More... | |
Duration | get_Delay () |
Gets a value of Delay. More... | |
void | set_Delay (Duration value) |
Sets a value of Delay. More... | |
System::DateTime | get_Finish () |
Gets a value of Finish. More... | |
void | set_Finish (System::DateTime value) |
Sets a value of Finish. More... | |
Duration | get_FinishVariance () |
Gets a value of FinishVariance. More... | |
void | set_FinishVariance (Duration value) |
Sets a value of FinishVariance. More... | |
System::String | get_Hyperlink () override |
Gets a value of Hyperlink. More... | |
void | set_Hyperlink (System::String value) override |
Sets a value of Hyperlink. More... | |
System::String | get_HyperlinkAddress () override |
Gets a value of HyperlinkAddress. More... | |
void | set_HyperlinkAddress (System::String value) override |
Sets a value of HyperlinkAddress. More... | |
System::String | get_HyperlinkSubAddress () override |
Gets a value of HyperlinkSubAddress. More... | |
void | set_HyperlinkSubAddress (System::String value) override |
Sets a value of HyperlinkSubAddress. More... | |
Duration | get_WorkVariance () |
Gets a value of WorkVariance. More... | |
void | set_WorkVariance (Duration value) |
Sets a value of WorkVariance. More... | |
bool | get_HasFixedRateUnits () |
Gets a value indicating whether HasFixedRateUnits is set or not. More... | |
void | set_HasFixedRateUnits (bool value) |
Sets a value indicating whether HasFixedRateUnits is set or not. More... | |
bool | get_FixedMaterial () |
Gets a value indicating whether FixedMaterial is set or not. More... | |
void | set_FixedMaterial (bool value) |
Sets a value indicating whether FixedMaterial is set or not. More... | |
Duration | get_LevelingDelay () |
Gets a value of LevelingDelay. More... | |
void | set_LevelingDelay (Duration value) |
Sets a value of LevelingDelay. More... | |
bool | get_LinkedFields () |
Gets a value indicating whether LinkedFields is set or not. More... | |
void | set_LinkedFields (bool value) |
Sets a value indicating whether LinkedFields is set or not. More... | |
bool | get_Milestone () |
Gets a value indicating whether Milestone is set or not. More... | |
void | set_Milestone (bool value) |
Sets a value indicating whether Milestone is set or not. More... | |
System::String | get_NotesText () override |
Gets notes' plain text extracted from RTF data. More... | |
void | set_NotesText (System::String value) override |
Sets notes' plain text extracted from RTF data. More... | |
System::String | get_NotesRTF () override |
Gets the text notes in RTF format. More... | |
void | set_NotesRTF (System::String value) override |
Sets the text notes in RTF format. More... | |
bool | get_Overallocated () |
Gets a value indicating whether Overallocated is set or not. More... | |
void | set_Overallocated (bool value) |
Sets a value indicating whether Overallocated is set or not. More... | |
System::Decimal | get_OvertimeCost () |
Gets a value of OvertimeCost. More... | |
void | set_OvertimeCost (System::Decimal value) |
Sets a value of OvertimeCost. More... | |
Duration | get_OvertimeWork () |
Gets a value of OvertimeWork. More... | |
void | set_OvertimeWork (Duration value) |
Sets a value of OvertimeWork. More... | |
double | get_PeakUnits () |
Gets a value of PeakUnits. More... | |
void | set_PeakUnits (double value) |
Sets a value of PeakUnits. More... | |
Duration | get_RegularWork () |
Gets a value of RegularWork. More... | |
void | set_RegularWork (Duration value) |
Sets a value of RegularWork. More... | |
System::Decimal | get_RemainingCost () |
Gets a value of RemainingCost. More... | |
void | set_RemainingCost (System::Decimal value) |
Sets a value of RemainingCost. More... | |
System::Decimal | get_RemainingOvertimeCost () |
Gets a value of RemainingOvertimeCost. More... | |
void | set_RemainingOvertimeCost (System::Decimal value) |
Sets a value of RemainingOvertimeCost. More... | |
Duration | get_RemainingOvertimeWork () |
Gets a value of RemainingOvertimeWork. More... | |
void | set_RemainingOvertimeWork (Duration value) |
Sets a value of RemainingOvertimeWork. More... | |
Duration | get_RemainingWork () |
Gets a value of RemainingWork. More... | |
void | set_RemainingWork (Duration value) |
Sets a value of RemainingWork. More... | |
bool | get_ResponsePending () |
Gets a value indicating whether ResponsePending is set or not. More... | |
void | set_ResponsePending (bool value) |
Sets a value indicating whether ResponsePending is set or not. More... | |
System::DateTime | get_Start () |
Gets a value of Start. More... | |
void | set_Start (System::DateTime value) |
Sets a value of Start. More... | |
System::DateTime | get_Stop () |
Gets a value of Stop. More... | |
void | set_Stop (System::DateTime value) |
Sets a value of Stop. More... | |
System::DateTime | get_Resume () |
Gets a value of Resume. More... | |
void | set_Resume (System::DateTime value) |
Sets a value of Resume. More... | |
Duration | get_StartVariance () |
Gets a value of StartVariance. More... | |
void | set_StartVariance (Duration value) |
Sets a value of StartVariance. More... | |
bool | get_Summary () |
Gets a value indicating whether Summary is set or not. More... | |
void | set_Summary (bool value) |
Sets a value indicating whether Summary is set or not. More... | |
double | get_SV () |
Gets a value of SV. More... | |
void | set_SV (double value) |
Sets a value of SV. More... | |
double | get_Units () |
Gets a value of Units. More... | |
void | set_Units (double value) |
Sets a value of Units. More... | |
bool | get_UpdateNeeded () |
Gets a value indicating whether UpdateNeeded is set or not. More... | |
void | set_UpdateNeeded (bool value) |
Sets a value indicating whether UpdateNeeded is set or not. More... | |
double | get_VAC () |
Gets a value of VAC. More... | |
void | set_VAC (double value) |
Sets a value of VAC. More... | |
Duration | get_Work () |
Gets a value of Work. More... | |
void | set_Work (Duration value) |
Sets a value of Work. More... | |
WorkContourType | get_WorkContour () |
Gets a value of WorkContour. More... | |
void | set_WorkContour (WorkContourType value) |
Sets a value of WorkContour. More... | |
double | get_BCWS () |
Gets a value of BCWS. More... | |
void | set_BCWS (double value) |
Sets a value of BCWS. More... | |
double | get_BCWP () |
Gets a value of BCWP. More... | |
void | set_BCWP (double value) |
Sets a value of BCWP. More... | |
Aspose::Tasks::BookingType | get_BookingType () |
Gets a value of BookingType. More... | |
void | set_BookingType (Aspose::Tasks::BookingType value) |
Sets a value of BookingType. More... | |
Duration | get_ActualWorkProtected () |
Gets a value of ActualWorkProtected. More... | |
void | set_ActualWorkProtected (Duration value) |
Sets a value of ActualWorkProtected. More... | |
Duration | get_ActualOvertimeWorkProtected () |
Gets a value of ActualOvertimeWorkProtected. More... | |
void | set_ActualOvertimeWorkProtected (Duration value) |
Sets a value of ActualOvertimeWorkProtected. More... | |
Duration | get_ActualOvertimeWork () |
Gets a value of ActualOvertimeWork. More... | |
void | set_ActualOvertimeWork (Duration value) |
Sets a value of ActualOvertimeWork. More... | |
System::DateTime | get_Created () |
Gets a value of Created. More... | |
void | set_Created (System::DateTime value) |
Sets a value of Created. More... | |
System::String | get_AssignmentOwner () |
Gets a value of AssignmentOwner. More... | |
void | set_AssignmentOwner (const System::String &value) |
Sets a value of AssignmentOwner. More... | |
System::String | get_AssignmentOwnerGuid () |
Gets a value of AssignmentOwnerGuid. More... | |
void | set_AssignmentOwnerGuid (const System::String &value) |
Sets a value of AssignmentOwnerGuid. More... | |
System::Decimal | get_BudgetCost () |
Gets a value of BudgetCost. More... | |
void | set_BudgetCost (System::Decimal value) |
Sets a value of BudgetCost. More... | |
Duration | get_BudgetWork () |
Gets a value of BudgetWork. More... | |
void | set_BudgetWork (Duration value) |
Sets a value of BudgetWork. More... | |
RateScaleType | get_RateScale () |
Gets a value of RateScale. More... | |
void | set_RateScale (RateScaleType value) |
Sets a value of RateScale. More... | |
template<typename T > | |
T | Get (const Key< T, AsnKey > &key) const |
Returns the value to which the property is mapped in this container. More... | |
template<typename T > | |
void | Set (const Key< T, AsnKey > &key, const T &val) |
Maps the specified property to the specified value in this container. More... | |
void | Delete () |
Deletes resource assignment from project assignments collection. More... | |
bool | Equals (System::SharedPtr< ResourceAssignment > other) override |
Returns a value indicating whether this instance is equal to a specified instance of the ResourceAssignment class. More... | |
bool | Equals (System::SharedPtr< System::Object > obj) override |
Returns a value indicating whether this instance is equal to a specified object. More... | |
System::String | ToString () const override |
Returns short string representation of the instance of the ResourceAssignment class. The exact details of the representation are unspecified and subject to change. More... | |
int32_t | GetHashCode () const override |
Returns a hash code value for the instance of the ResourceAssignment class. More... | |
void | TimephasedDataFromTaskDuration (const System::SharedPtr< Calendar > &calendar) |
Generates list of time phased data based on the task duration and the scheduled start date. More... | |
System::DateTime | MakeTPs (System::DateTime start, System::TimeSpan time, const System::SharedPtr< Calendar > &calendar, const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::TimephasedData >>> &list, bool isWorking, int32_t type) |
Generates a list of time phased data. More... | |
void | SplitTask (System::DateTime start, System::DateTime finish, const System::SharedPtr< Calendar > &calendar) |
Splits task into two parts. More... | |
System::SharedPtr < TimephasedDataCollection > | GetTimephasedData (System::DateTime start, System::DateTime end, TimephasedDataType timephasedType) |
Returns the instance TimephasedDataCollection class containing instances of TimephasedData class within given start and end dates of specified TimephasedDataType. More... | |
System::SharedPtr < TimephasedDataCollection > | GetTimephasedData (System::DateTime start, System::DateTime end) |
Returns TimephasedDataCollection object with the instances of TimephasedData class within given start and end dates of TimephasedDataType::AssignmentWork. More... | |
System::TimeSpan | GetTimephasedWork (System::DateTime start, System::DateTime end, TimephasedDataType timephasedDataType) |
Gets amount of timephased work for the specified date time interval. More... | |
System::TimeSpan | GetTimephasedWork (System::DateTime start, System::DateTime end) |
Gets amount of timephased work for the specified date time interval. More... | |
void | SetMaterialResourceUnits (double units, RateScaleType rateScaleType) |
Sets units for assignment of a material resource with variable material consumption. The variable material consumption means that as the assignment duration changes, the quantity of materials used changes proportionally. More... | |
Represents a resource assignment in a project.
void Aspose::Tasks::ResourceAssignment::Delete | ( | ) |
Deletes resource assignment from project assignments collection.
|
override |
Returns a value indicating whether this instance is equal to a specified instance of the ResourceAssignment class.
other | The specified instance of the ResourceAssignment class to compare with this instance. |
|
override |
Returns a value indicating whether this instance is equal to a specified object.
obj | The object to compare with this instance. |
|
inline |
Returns the value to which the property is mapped in this container.
key | the specified property key. Asn for getting the property key. |
T | the type of the mapped value. |
System::Decimal Aspose::Tasks::ResourceAssignment::get_ActualCost | ( | ) |
Gets a value of ActualCost.
System::DateTime Aspose::Tasks::ResourceAssignment::get_ActualFinish | ( | ) |
Gets a value of ActualFinish.
System::Decimal Aspose::Tasks::ResourceAssignment::get_ActualOvertimeCost | ( | ) |
Gets a value of ActualOvertimeCost.
Duration Aspose::Tasks::ResourceAssignment::get_ActualOvertimeWork | ( | ) |
Gets a value of ActualOvertimeWork.
Duration Aspose::Tasks::ResourceAssignment::get_ActualOvertimeWorkProtected | ( | ) |
Gets a value of ActualOvertimeWorkProtected.
System::DateTime Aspose::Tasks::ResourceAssignment::get_ActualStart | ( | ) |
Gets a value of ActualStart.
Duration Aspose::Tasks::ResourceAssignment::get_ActualWork | ( | ) |
Gets a value of ActualWork.
Duration Aspose::Tasks::ResourceAssignment::get_ActualWorkProtected | ( | ) |
Gets a value of ActualWorkProtected.
double Aspose::Tasks::ResourceAssignment::get_ACWP | ( | ) |
Gets a value of ACWP.
System::String Aspose::Tasks::ResourceAssignment::get_AssignmentOwner | ( | ) |
Gets a value of AssignmentOwner.
System::String Aspose::Tasks::ResourceAssignment::get_AssignmentOwnerGuid | ( | ) |
Gets a value of AssignmentOwnerGuid.
System::SharedPtr<AssignmentBaselineCollection> Aspose::Tasks::ResourceAssignment::get_Baselines | ( | ) |
Gets AssignmentBaselineCollection object. The collection of baseline values associated with an assignment.
double Aspose::Tasks::ResourceAssignment::get_BCWP | ( | ) |
Gets a value of BCWP.
double Aspose::Tasks::ResourceAssignment::get_BCWS | ( | ) |
Gets a value of BCWS.
Aspose::Tasks::BookingType Aspose::Tasks::ResourceAssignment::get_BookingType | ( | ) |
Gets a value of BookingType.
System::Decimal Aspose::Tasks::ResourceAssignment::get_BudgetCost | ( | ) |
Gets a value of BudgetCost.
Duration Aspose::Tasks::ResourceAssignment::get_BudgetWork | ( | ) |
Gets a value of BudgetWork.
bool Aspose::Tasks::ResourceAssignment::get_Confirmed | ( | ) |
Gets a value indicating whether Confirmed is set or not.
System::Decimal Aspose::Tasks::ResourceAssignment::get_Cost | ( | ) |
Gets a value of Cost.
RateType Aspose::Tasks::ResourceAssignment::get_CostRateTableType | ( | ) |
Gets a value of CostRateTableType.
double Aspose::Tasks::ResourceAssignment::get_CostVariance | ( | ) |
Gets a value of CostVariance.
System::DateTime Aspose::Tasks::ResourceAssignment::get_Created | ( | ) |
Gets a value of Created.
double Aspose::Tasks::ResourceAssignment::get_CV | ( | ) |
Gets a value of CV.
Duration Aspose::Tasks::ResourceAssignment::get_Delay | ( | ) |
Gets a value of Delay.
|
override |
Gets an instance of the ExtendedAttributeCollection class for this object.
Reading supported for XML format only.
System::DateTime Aspose::Tasks::ResourceAssignment::get_Finish | ( | ) |
Gets a value of Finish.
Duration Aspose::Tasks::ResourceAssignment::get_FinishVariance | ( | ) |
Gets a value of FinishVariance.
bool Aspose::Tasks::ResourceAssignment::get_FixedMaterial | ( | ) |
Gets a value indicating whether FixedMaterial is set or not.
System::Nullable<System::Guid> Aspose::Tasks::ResourceAssignment::get_Guid | ( | ) | const |
Gets unique identifier for this assignment.
bool Aspose::Tasks::ResourceAssignment::get_HasFixedRateUnits | ( | ) |
Gets a value indicating whether HasFixedRateUnits is set or not.
|
override |
Gets a value of Hyperlink.
|
override |
Gets a value of HyperlinkAddress.
|
override |
Gets a value of HyperlinkSubAddress.
Duration Aspose::Tasks::ResourceAssignment::get_LevelingDelay | ( | ) |
Gets a value of LevelingDelay.
bool Aspose::Tasks::ResourceAssignment::get_LinkedFields | ( | ) |
Gets a value indicating whether LinkedFields is set or not.
bool Aspose::Tasks::ResourceAssignment::get_Milestone | ( | ) |
Gets a value indicating whether Milestone is set or not.
|
override |
Gets the text notes in RTF format.
Supported for MPP formats only.
|
override |
Gets notes' plain text extracted from RTF data.
bool Aspose::Tasks::ResourceAssignment::get_Overallocated | ( | ) |
Gets a value indicating whether Overallocated is set or not.
System::Decimal Aspose::Tasks::ResourceAssignment::get_OvertimeCost | ( | ) |
Gets a value of OvertimeCost.
Duration Aspose::Tasks::ResourceAssignment::get_OvertimeWork | ( | ) |
Gets a value of OvertimeWork.
|
override |
Gets parent project for this assignment.
double Aspose::Tasks::ResourceAssignment::get_PeakUnits | ( | ) |
Gets a value of PeakUnits.
int32_t Aspose::Tasks::ResourceAssignment::get_PercentWorkComplete | ( | ) |
Gets a value of PercentWorkComplete.
RateScaleType Aspose::Tasks::ResourceAssignment::get_RateScale | ( | ) |
Gets a value of RateScale.
Duration Aspose::Tasks::ResourceAssignment::get_RegularWork | ( | ) |
Gets a value of RegularWork.
System::Decimal Aspose::Tasks::ResourceAssignment::get_RemainingCost | ( | ) |
Gets a value of RemainingCost.
System::Decimal Aspose::Tasks::ResourceAssignment::get_RemainingOvertimeCost | ( | ) |
Gets a value of RemainingOvertimeCost.
Duration Aspose::Tasks::ResourceAssignment::get_RemainingOvertimeWork | ( | ) |
Gets a value of RemainingOvertimeWork.
Duration Aspose::Tasks::ResourceAssignment::get_RemainingWork | ( | ) |
Gets a value of RemainingWork.
const System::SharedPtr<Aspose::Tasks::Resource>& Aspose::Tasks::ResourceAssignment::get_Resource | ( | ) | const |
The resource assigned to a task.
bool Aspose::Tasks::ResourceAssignment::get_ResponsePending | ( | ) |
Gets a value indicating whether ResponsePending is set or not.
System::DateTime Aspose::Tasks::ResourceAssignment::get_Resume | ( | ) |
Gets a value of Resume.
System::DateTime Aspose::Tasks::ResourceAssignment::get_Start | ( | ) |
Gets a value of Start.
Duration Aspose::Tasks::ResourceAssignment::get_StartVariance | ( | ) |
Gets a value of StartVariance.
System::DateTime Aspose::Tasks::ResourceAssignment::get_Stop | ( | ) |
Gets a value of Stop.
bool Aspose::Tasks::ResourceAssignment::get_Summary | ( | ) |
Gets a value indicating whether Summary is set or not.
double Aspose::Tasks::ResourceAssignment::get_SV | ( | ) |
Gets a value of SV.
const System::SharedPtr<Aspose::Tasks::Task>& Aspose::Tasks::ResourceAssignment::get_Task | ( | ) | const |
The task to which a resource is assigned.
System::SharedPtr<TimephasedDataCollection> Aspose::Tasks::ResourceAssignment::get_TimephasedData | ( | ) |
Gets the instance of TimephasedDataCollection class containing elements of TimephasedData class.
int32_t Aspose::Tasks::ResourceAssignment::get_Uid | ( | ) |
Gets a value of Uid.
double Aspose::Tasks::ResourceAssignment::get_Units | ( | ) |
Gets a value of Units.
bool Aspose::Tasks::ResourceAssignment::get_UpdateNeeded | ( | ) |
Gets a value indicating whether UpdateNeeded is set or not.
double Aspose::Tasks::ResourceAssignment::get_VAC | ( | ) |
Gets a value of VAC.
Duration Aspose::Tasks::ResourceAssignment::get_Work | ( | ) |
Gets a value of Work.
WorkContourType Aspose::Tasks::ResourceAssignment::get_WorkContour | ( | ) |
Gets a value of WorkContour.
Duration Aspose::Tasks::ResourceAssignment::get_WorkVariance | ( | ) |
Gets a value of WorkVariance.
|
override |
Returns a hash code value for the instance of the ResourceAssignment class.
System::SharedPtr<TimephasedDataCollection> Aspose::Tasks::ResourceAssignment::GetTimephasedData | ( | System::DateTime | start, |
System::DateTime | end, | ||
TimephasedDataType | timephasedType | ||
) |
Returns the instance TimephasedDataCollection class containing instances of TimephasedData class within given start and end dates of specified TimephasedDataType.
start | The start date for the time phased data. |
end | The end date for the time phased data. |
timephasedType | The type of time phased data (Aspose::Tasks::TimephasedDataType). |
System::SharedPtr<TimephasedDataCollection> Aspose::Tasks::ResourceAssignment::GetTimephasedData | ( | System::DateTime | start, |
System::DateTime | end | ||
) |
Returns TimephasedDataCollection object with the instances of TimephasedData class within given start and end dates of TimephasedDataType::AssignmentWork.
start | The start date for the time phased data. |
end | The end date for the time phased data. |
System::TimeSpan Aspose::Tasks::ResourceAssignment::GetTimephasedWork | ( | System::DateTime | start, |
System::DateTime | end, | ||
TimephasedDataType | timephasedDataType | ||
) |
Gets amount of timephased work for the specified date time interval.
start | Start of the date time interval. |
end | End of the date time interval. |
timephasedDataType | Type of the timephased data to use. |
System::TimeSpan Aspose::Tasks::ResourceAssignment::GetTimephasedWork | ( | System::DateTime | start, |
System::DateTime | end | ||
) |
Gets amount of timephased work for the specified date time interval.
start | Start of the date time interval. |
end | End of the date time interval. |
System::DateTime Aspose::Tasks::ResourceAssignment::MakeTPs | ( | System::DateTime | start, |
System::TimeSpan | time, | ||
const System::SharedPtr< Calendar > & | calendar, | ||
const System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Aspose::Tasks::TimephasedData >>> & | list, | ||
bool | isWorking, | ||
int32_t | type | ||
) |
Generates a list of time phased data.
start | The specified start date. |
time | The specified working time. |
calendar | The specified working calendar. |
list | The list of time phased data. |
isWorking | The specified flag which specifies whether time-phased data is working or not. |
type | The specified time-phased data type. |
|
inline |
Maps the specified property to the specified value in this container.
key | the specified property key. Asn for getting the property key. |
val | the value. |
T | the type of the mapped value. |
void Aspose::Tasks::ResourceAssignment::set_ActualCost | ( | System::Decimal | value | ) |
Sets a value of ActualCost.
void Aspose::Tasks::ResourceAssignment::set_ActualFinish | ( | System::DateTime | value | ) |
Sets a value of ActualFinish.
void Aspose::Tasks::ResourceAssignment::set_ActualOvertimeCost | ( | System::Decimal | value | ) |
Sets a value of ActualOvertimeCost.
void Aspose::Tasks::ResourceAssignment::set_ActualOvertimeWork | ( | Duration | value | ) |
Sets a value of ActualOvertimeWork.
void Aspose::Tasks::ResourceAssignment::set_ActualOvertimeWorkProtected | ( | Duration | value | ) |
Sets a value of ActualOvertimeWorkProtected.
void Aspose::Tasks::ResourceAssignment::set_ActualStart | ( | System::DateTime | value | ) |
Sets a value of ActualStart.
void Aspose::Tasks::ResourceAssignment::set_ActualWork | ( | Duration | value | ) |
Sets a value of ActualWork.
void Aspose::Tasks::ResourceAssignment::set_ActualWorkProtected | ( | Duration | value | ) |
Sets a value of ActualWorkProtected.
void Aspose::Tasks::ResourceAssignment::set_ACWP | ( | double | value | ) |
Sets a value of ACWP.
void Aspose::Tasks::ResourceAssignment::set_AssignmentOwner | ( | const System::String & | value | ) |
Sets a value of AssignmentOwner.
void Aspose::Tasks::ResourceAssignment::set_AssignmentOwnerGuid | ( | const System::String & | value | ) |
Sets a value of AssignmentOwnerGuid.
void Aspose::Tasks::ResourceAssignment::set_BCWP | ( | double | value | ) |
Sets a value of BCWP.
void Aspose::Tasks::ResourceAssignment::set_BCWS | ( | double | value | ) |
Sets a value of BCWS.
void Aspose::Tasks::ResourceAssignment::set_BookingType | ( | Aspose::Tasks::BookingType | value | ) |
Sets a value of BookingType.
void Aspose::Tasks::ResourceAssignment::set_BudgetCost | ( | System::Decimal | value | ) |
Sets a value of BudgetCost.
void Aspose::Tasks::ResourceAssignment::set_BudgetWork | ( | Duration | value | ) |
Sets a value of BudgetWork.
void Aspose::Tasks::ResourceAssignment::set_Confirmed | ( | bool | value | ) |
Sets a value indicating whether Confirmed is set or not.
void Aspose::Tasks::ResourceAssignment::set_Cost | ( | System::Decimal | value | ) |
Sets a value of Cost.
void Aspose::Tasks::ResourceAssignment::set_CostRateTableType | ( | RateType | value | ) |
Sets a value of CostRateTableType.
void Aspose::Tasks::ResourceAssignment::set_CostVariance | ( | double | value | ) |
Sets a value of CostVariance.
void Aspose::Tasks::ResourceAssignment::set_Created | ( | System::DateTime | value | ) |
Sets a value of Created.
void Aspose::Tasks::ResourceAssignment::set_CV | ( | double | value | ) |
Sets a value of CV.
void Aspose::Tasks::ResourceAssignment::set_Delay | ( | Duration | value | ) |
Sets a value of Delay.
void Aspose::Tasks::ResourceAssignment::set_ExtendedAttributes | ( | const System::SharedPtr< ExtendedAttributeCollection > & | value | ) |
Sets an instance of the ExtendedAttributeCollection class for this object.
Reading supported for XML format only.
void Aspose::Tasks::ResourceAssignment::set_Finish | ( | System::DateTime | value | ) |
Sets a value of Finish.
void Aspose::Tasks::ResourceAssignment::set_FinishVariance | ( | Duration | value | ) |
Sets a value of FinishVariance.
void Aspose::Tasks::ResourceAssignment::set_FixedMaterial | ( | bool | value | ) |
Sets a value indicating whether FixedMaterial is set or not.
void Aspose::Tasks::ResourceAssignment::set_Guid | ( | System::Nullable< System::Guid > | value | ) |
Sets unique identifier for this assignment.
void Aspose::Tasks::ResourceAssignment::set_HasFixedRateUnits | ( | bool | value | ) |
Sets a value indicating whether HasFixedRateUnits is set or not.
|
override |
Sets a value of Hyperlink.
|
override |
Sets a value of HyperlinkAddress.
|
override |
Sets a value of HyperlinkSubAddress.
void Aspose::Tasks::ResourceAssignment::set_LevelingDelay | ( | Duration | value | ) |
Sets a value of LevelingDelay.
void Aspose::Tasks::ResourceAssignment::set_LinkedFields | ( | bool | value | ) |
Sets a value indicating whether LinkedFields is set or not.
void Aspose::Tasks::ResourceAssignment::set_Milestone | ( | bool | value | ) |
Sets a value indicating whether Milestone is set or not.
|
override |
Sets the text notes in RTF format.
Supported for MPP formats only.
|
override |
Sets notes' plain text extracted from RTF data.
void Aspose::Tasks::ResourceAssignment::set_Overallocated | ( | bool | value | ) |
Sets a value indicating whether Overallocated is set or not.
void Aspose::Tasks::ResourceAssignment::set_OvertimeCost | ( | System::Decimal | value | ) |
Sets a value of OvertimeCost.
void Aspose::Tasks::ResourceAssignment::set_OvertimeWork | ( | Duration | value | ) |
Sets a value of OvertimeWork.
void Aspose::Tasks::ResourceAssignment::set_PeakUnits | ( | double | value | ) |
Sets a value of PeakUnits.
void Aspose::Tasks::ResourceAssignment::set_PercentWorkComplete | ( | int32_t | value | ) |
Sets a value of PercentWorkComplete.
void Aspose::Tasks::ResourceAssignment::set_RateScale | ( | RateScaleType | value | ) |
Sets a value of RateScale.
void Aspose::Tasks::ResourceAssignment::set_RegularWork | ( | Duration | value | ) |
Sets a value of RegularWork.
void Aspose::Tasks::ResourceAssignment::set_RemainingCost | ( | System::Decimal | value | ) |
Sets a value of RemainingCost.
void Aspose::Tasks::ResourceAssignment::set_RemainingOvertimeCost | ( | System::Decimal | value | ) |
Sets a value of RemainingOvertimeCost.
void Aspose::Tasks::ResourceAssignment::set_RemainingOvertimeWork | ( | Duration | value | ) |
Sets a value of RemainingOvertimeWork.
void Aspose::Tasks::ResourceAssignment::set_RemainingWork | ( | Duration | value | ) |
Sets a value of RemainingWork.
void Aspose::Tasks::ResourceAssignment::set_Resource | ( | const System::SharedPtr< Aspose::Tasks::Resource > & | value | ) |
The resource assigned to a task.
void Aspose::Tasks::ResourceAssignment::set_ResponsePending | ( | bool | value | ) |
Sets a value indicating whether ResponsePending is set or not.
void Aspose::Tasks::ResourceAssignment::set_Resume | ( | System::DateTime | value | ) |
Sets a value of Resume.
void Aspose::Tasks::ResourceAssignment::set_Start | ( | System::DateTime | value | ) |
Sets a value of Start.
void Aspose::Tasks::ResourceAssignment::set_StartVariance | ( | Duration | value | ) |
Sets a value of StartVariance.
void Aspose::Tasks::ResourceAssignment::set_Stop | ( | System::DateTime | value | ) |
Sets a value of Stop.
void Aspose::Tasks::ResourceAssignment::set_Summary | ( | bool | value | ) |
Sets a value indicating whether Summary is set or not.
void Aspose::Tasks::ResourceAssignment::set_SV | ( | double | value | ) |
Sets a value of SV.
void Aspose::Tasks::ResourceAssignment::set_Task | ( | const System::SharedPtr< Aspose::Tasks::Task > & | value | ) |
The task to which a resource is assigned.
void Aspose::Tasks::ResourceAssignment::set_TimephasedData | ( | const System::SharedPtr< TimephasedDataCollection > & | value | ) |
Sets the instance of TimephasedDataCollection class containing elements of TimephasedData class.
void Aspose::Tasks::ResourceAssignment::set_Uid | ( | int32_t | value | ) |
Sets a value of Uid.
void Aspose::Tasks::ResourceAssignment::set_Units | ( | double | value | ) |
Sets a value of Units.
void Aspose::Tasks::ResourceAssignment::set_UpdateNeeded | ( | bool | value | ) |
Sets a value indicating whether UpdateNeeded is set or not.
void Aspose::Tasks::ResourceAssignment::set_VAC | ( | double | value | ) |
Sets a value of VAC.
void Aspose::Tasks::ResourceAssignment::set_Work | ( | Duration | value | ) |
Sets a value of Work.
void Aspose::Tasks::ResourceAssignment::set_WorkContour | ( | WorkContourType | value | ) |
Sets a value of WorkContour.
void Aspose::Tasks::ResourceAssignment::set_WorkVariance | ( | Duration | value | ) |
Sets a value of WorkVariance.
void Aspose::Tasks::ResourceAssignment::SetMaterialResourceUnits | ( | double | units, |
RateScaleType | rateScaleType | ||
) |
Sets units for assignment of a material resource with variable material consumption. The variable material consumption means that as the assignment duration changes, the quantity of materials used changes proportionally.
units | Number of units accrued at the time period. |
rateScaleType | Time period at which the unit value is accrued. |
For example, to set '123/month', SetUnitsScaled(123D, RateScaleType.Month) should be called.
InvalidOperationException | If the method is called for assignment of non-material resource. |
void Aspose::Tasks::ResourceAssignment::SplitTask | ( | System::DateTime | start, |
System::DateTime | finish, | ||
const System::SharedPtr< Calendar > & | calendar | ||
) |
Splits task into two parts.
start | The beginning of work interruption to split based on. |
finish | The end of work interruption to split based on. |
calendar | The calendar to split based on. |
ArgumentOutOfRangeException | Throws when start date is less than the assignment start date. |
ArgumentOutOfRangeException | Throws when finish date is greater than the assignment finish date. |
void Aspose::Tasks::ResourceAssignment::TimephasedDataFromTaskDuration | ( | const System::SharedPtr< Calendar > & | calendar | ) |
Generates list of time phased data based on the task duration and the scheduled start date.
calendar | The calendar to generate time phased data from. |
|
override |
Returns short string representation of the instance of the ResourceAssignment class. The exact details of the representation are unspecified and subject to change.