Class NwcTimeLinerTask
- Namespace
- NwcIO.Model.TimeLiner
- Assembly
- NwcIO.dll
A construction activity or work breakdown structure (WBS) task in a 4D TimeLiner schedule.
public sealed class NwcTimeLinerTaskInheritance
Inherited Members
Constructors
NwcTimeLinerTask()
public NwcTimeLinerTask()NwcTimeLinerTask(string, string, DateTimeOffset, DateTimeOffset, NwcTimeLinerTaskType)
public NwcTimeLinerTask(string id, string name, DateTimeOffset plannedStart, DateTimeOffset plannedEnd, NwcTimeLinerTaskType type = NwcTimeLinerTaskType.Construct)Parameters
idstringnamestringplannedStartDateTimeOffsetplannedEndDateTimeOffsettypeNwcTimeLinerTaskType
Properties
ActualCost
public decimal? ActualCost { get; set; }Property Value
ActualDuration
public TimeSpan? ActualDuration { get; }Property Value
ActualEnd
public DateTimeOffset? ActualEnd { get; set; }Property Value
ActualStart
public DateTimeOffset? ActualStart { get; set; }Property Value
AttachedNodeIds
IDs of specific scene graph nodes directly bound to this task.
public List<int> AttachedNodeIds { get; }Property Value
AttachedSelectionSetName
Optional name of an attached Selection Set or Search Set linking model geometry.
public string? AttachedSelectionSetName { get; set; }Property Value
Children
Subtasks in the hierarchical Work Breakdown Structure (WBS).
public List<NwcTimeLinerTask> Children { get; }Property Value
Id
public string Id { get; set; }Property Value
Name
public string Name { get; set; }Property Value
PlannedCost
public decimal? PlannedCost { get; set; }Property Value
PlannedDuration
public TimeSpan PlannedDuration { get; }Property Value
PlannedEnd
public DateTimeOffset PlannedEnd { get; set; }Property Value
PlannedStart
public DateTimeOffset PlannedStart { get; set; }Property Value
Progress
public double Progress { get; set; }Property Value
TaskType
public NwcTimeLinerTaskType TaskType { get; set; }Property Value
Methods
GetStateAt(DateTimeOffset)
Returns the simulation state (NotStarted, InProgress, Completed) at the given timestamp.
public NwcTimeLinerSimulationState GetStateAt(DateTimeOffset date)Parameters
dateDateTimeOffset
Returns
IsActiveAt(DateTimeOffset)
Checks whether this task is actively executing at the given simulation date.
public bool IsActiveAt(DateTimeOffset date)Parameters
dateDateTimeOffset