Class NwcTimeLinerSchedule
- Namespace
- NwcIO.Model.TimeLiner
- Assembly
- NwcIO.dll
Represents a complete 4D construction schedule project (TimeLiner) with tasks, WBS hierarchy, and simulation logic.
public sealed class NwcTimeLinerScheduleInheritance
Inherited Members
Constructors
NwcTimeLinerSchedule()
public NwcTimeLinerSchedule()NwcTimeLinerSchedule(string)
public NwcTimeLinerSchedule(string name)Parameters
namestring
NwcTimeLinerSchedule(IEnumerable<NwcTimeLinerTask>)
public NwcTimeLinerSchedule(IEnumerable<NwcTimeLinerTask> tasks)Parameters
tasksIEnumerable<NwcTimeLinerTask>
NwcTimeLinerSchedule(string, IEnumerable<NwcTimeLinerTask>)
public NwcTimeLinerSchedule(string name, IEnumerable<NwcTimeLinerTask> tasks)Parameters
namestringtasksIEnumerable<NwcTimeLinerTask>
Properties
Name
public string Name { get; set; }Property Value
OverallEnd
Gets the latest planned end date across all schedule tasks.
public DateTimeOffset? OverallEnd { get; }Property Value
OverallStart
Gets the earliest planned start date across all schedule tasks.
public DateTimeOffset? OverallStart { get; }Property Value
Tasks
public List<NwcTimeLinerTask> Tasks { get; }Property Value
TotalActualCost
Total actual expenditure across all schedule tasks.
public decimal TotalActualCost { get; }Property Value
TotalPlannedCost
Total planned budget across all schedule tasks.
public decimal TotalPlannedCost { get; }Property Value
Methods
FlattenTasks()
Returns a flat enumerable of all tasks including nested child tasks.
public IEnumerable<NwcTimeLinerTask> FlattenTasks()Returns
GetActiveTasksAt(DateTimeOffset)
Returns all tasks actively occurring at the specified simulation date.
public IReadOnlyList<NwcTimeLinerTask> GetActiveTasksAt(DateTimeOffset date)Parameters
dateDateTimeOffset
Returns
GetNodeStateAt(int, DateTimeOffset)
Evaluates the 4D state of an individual scene graph node at a given simulation date based on attached tasks.
public NwcTimeLinerSimulationState GetNodeStateAt(int nodeId, DateTimeOffset date)Parameters
nodeIdintdateDateTimeOffset
Returns
GetSimulationProgressAt(DateTimeOffset)
Computes the overall timeline simulation completion progress [0.0..1.0] at a given timestamp.
public double GetSimulationProgressAt(DateTimeOffset date)Parameters
dateDateTimeOffset