Table of Contents

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 NwcTimeLinerTask

Inheritance

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

id string
name string
plannedStart DateTimeOffset
plannedEnd DateTimeOffset
type NwcTimeLinerTaskType

Properties

ActualCost

public decimal? ActualCost { get; set; }

Property Value

decimal?

ActualDuration

public TimeSpan? ActualDuration { get; }

Property Value

TimeSpan?

ActualEnd

public DateTimeOffset? ActualEnd { get; set; }

Property Value

DateTimeOffset?

ActualStart

public DateTimeOffset? ActualStart { get; set; }

Property Value

DateTimeOffset?

AttachedNodeIds

IDs of specific scene graph nodes directly bound to this task.

public List<int> AttachedNodeIds { get; }

Property Value

List<int>

AttachedSelectionSetName

Optional name of an attached Selection Set or Search Set linking model geometry.

public string? AttachedSelectionSetName { get; set; }

Property Value

string?

Children

Subtasks in the hierarchical Work Breakdown Structure (WBS).

public List<NwcTimeLinerTask> Children { get; }

Property Value

List<NwcTimeLinerTask>

Id

public string Id { get; set; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

PlannedCost

public decimal? PlannedCost { get; set; }

Property Value

decimal?

PlannedDuration

public TimeSpan PlannedDuration { get; }

Property Value

TimeSpan

PlannedEnd

public DateTimeOffset PlannedEnd { get; set; }

Property Value

DateTimeOffset

PlannedStart

public DateTimeOffset PlannedStart { get; set; }

Property Value

DateTimeOffset

Progress

public double Progress { get; set; }

Property Value

double

TaskType

public NwcTimeLinerTaskType TaskType { get; set; }

Property Value

NwcTimeLinerTaskType

Methods

GetStateAt(DateTimeOffset)

Returns the simulation state (NotStarted, InProgress, Completed) at the given timestamp.

public NwcTimeLinerSimulationState GetStateAt(DateTimeOffset date)

Parameters

date DateTimeOffset

Returns

NwcTimeLinerSimulationState

IsActiveAt(DateTimeOffset)

Checks whether this task is actively executing at the given simulation date.

public bool IsActiveAt(DateTimeOffset date)

Parameters

date DateTimeOffset

Returns

bool