Class TimephasedData
名称: Aspose.Tasks 合計: Aspose.Tasks.dll (25.4.0)
時間段階データを表しています。
[ClassInterface(ClassInterfaceType.AutoDual)]
public class TimephasedData
Inheritance
相続人
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
TimephasedData()
Aspose.Tasks.Timephasedデータクラスの新しい例を開始します。
public TimephasedData()
Properties
Finish
時間段階データ期間の終了日を取得または設定します。
public DateTime Finish { get; set; }
不動産価値
Start
時間段階データ期間の開始日を取得または設定します。
public DateTime Start { get; set; }
不動産価値
TimephasedDataType
時間段階データの種類を取得または設定します。
public TimephasedDataType TimephasedDataType { get; set; }
不動産価値
Remarks
Aspose.Tasks.TimephasedData.Valueの所有物は、ここで指定されたタイプに適していない場合、削除されます。
Uid
時間段階データのユニークな識別者を取得または設定する
public int Uid { get; set; }
不動産価値
Unit
時間段階データ期間の時間単位を取得または設定します。
public TimeUnitType Unit { get; set; }
不動産価値
Value
時間段階データ期間の時間単位ごとに値を取得または設定します。
public string Value { get; set; }
不動産価値
Exceptions
値が間違っている場合、指定された Aspose.Tasks.TimephasedData.TimephasedDataTypeまたはネガティブな値を持っています。
ValueToCost
System.Double は、このオブジェクトのストレージ値を表すダブル インスタンスを取得します。
public double ValueToCost { get; set; }
不動産価値
ValueToDuration
System.TimeSpan は、このオブジェクトのストレージ値を表す例です。
public TimeSpan ValueToDuration { get; }
不動産価値
ValueToUnits
System.Double は、ユニットベースの時間段階データのために、このオブジェクトのストレージ値を表すダブル インスタンスです。
public double ValueToUnits { get; }
不動産価値
Methods
CreateCostTimephased(タイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイム)
Aspose.Tasks.Timephasedデータクラスの新しい例を作成し、開始します コストベースの時間段階データ。
public static TimephasedData CreateCostTimephased(int uid, DateTime start, DateTime finish, double value, TimeUnitType timeUnit, TimephasedDataType type)
Parameters
uid
int
課題のウイド。
start
DateTime
スタートタイム
finish
DateTime
締め切り日。
value
double
コスト価値
timeUnit
TimeUnitType
タイムユニットタイプ
type
TimephasedDataType
タイムステージデータタイプ
Returns
Aspose.Tasks.Timephasedデータクラスの例は、コストベースの時間段階データです。
Exceptions
ネガティブなコスト値が指定された場合
CreateCostTimephased(タイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイム)
Aspose.Tasks.Timephasedデータクラスの新しい例を作成し、開始します コストベースの時間段階データ。
public static TimephasedData CreateCostTimephased(int uid, DateTime start, DateTime finish, double value, TimephasedDataType type)
Parameters
uid
int
課題のウイド。
start
DateTime
スタートタイム
finish
DateTime
締め切り日。
value
double
コスト価値
type
TimephasedDataType
タイムステージデータタイプ
Returns
Aspose.Tasks.Timephasedデータクラスの例は、コストベースの時間段階データです。
Exceptions
ネガティブなコスト値が指定された場合
CreateUnitTimephased(タイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイム)
Aspose.Tasks.Timephasedデータクラスの新しい例を作成し、開始し、物質資源の割り当ての単位ベースの時間段階データ。
public static TimephasedData CreateUnitTimephased(int uid, DateTime start, DateTime finish, double units, TimephasedDataType type)
Parameters
uid
int
課題のウイド。
start
DateTime
スタートタイム
finish
DateTime
締め切り日。
units
double
ユニット数
type
TimephasedDataType
タイムステージデータタイプ
Returns
Aspose.Tasks.Timephasedデータクラスの例は、コストベースの時間段階データです。
Exceptions
ネガティブな単位数が指定された場合
CreateWorkTimephased(タイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイムタイム)
Aspose.Tasks.Timephasedデータクラスの新しい例を作成し、開始します。
public static TimephasedData CreateWorkTimephased(int uid, DateTime start, DateTime finish, TimeSpan value, TimeUnitType timeUnit, TimephasedDataType type)
Parameters
uid
int
課題のウイド。
start
DateTime
スタートタイム
finish
DateTime
締め切り日。
value
TimeSpan
タイムスパンの価値
timeUnit
TimeUnitType
タイムユニットタイプ
type
TimephasedDataType
タイムステージデータタイプ
Returns
Aspose.Tasks.Timephasedデータクラスの例は、作業に基づく時間段階データです。
Exceptions
ネガティブな労働価値が指定された場合