Class IfcWorkSchedule
- Namespace
- IfcIO.Model.Sequence
- Assembly
- IfcIO.dll
A collection of scheduled tasks representing a construction or operational schedule. Conforms to buildingSMART standard IFCWORKSCHEDULE.
public sealed class IfcWorkScheduleInheritance
Inherited Members
Constructors
IfcWorkSchedule()
public IfcWorkSchedule()IfcWorkSchedule(string, string?)
public IfcWorkSchedule(string name, string? description = null)Parameters
Properties
AllTasks
Enumerates all tasks in the schedule across the hierarchical WBS tree.
public IEnumerable<IfcTask> AllTasks { get; }Property Value
CreationDate
public DateTime CreationDate { get; set; }Property Value
Description
public string? Description { get; set; }Property Value
FinishTime
public DateTime? FinishTime { get; set; }Property Value
GlobalId
public string GlobalId { get; set; }Property Value
Name
public string Name { get; set; }Property Value
RootTasks
Root-level tasks in the schedule Work Breakdown Structure (WBS).
public List<IfcTask> RootTasks { get; }Property Value
StartTime
public DateTime? StartTime { get; set; }Property Value
TotalFloat
public TimeSpan? TotalFloat { get; set; }Property Value
Methods
AddTask(string, string?, DateTime?, DateTime?, IfcTaskType)
Adds a new root task to the schedule.
public IfcTask AddTask(string name, string? identification = null, DateTime? start = null, DateTime? finish = null, IfcTaskType taskType = IfcTaskType.Construction)Parameters
namestringidentificationstring?startDateTime?finishDateTime?taskTypeIfcTaskType
Returns
FindTask(string)
Finds a task by its WBS identification code or task name.
public IfcTask? FindTask(string identificationOrName)Parameters
identificationOrNamestring
Returns
GetActiveTasksAt(DateTime)
Gets all active tasks at the specified target simulation date.
public IReadOnlyList<IfcTask> GetActiveTasksAt(DateTime date)Parameters
dateDateTime
Returns
GetElementStateAt(IfcElement, DateTime)
Determines the temporal 4D construction state of an element at the specified date.
public IfcElementSimulationState GetElementStateAt(IfcElement element, DateTime date)Parameters
elementIfcElementdateDateTime
Returns
GetProgressAt(DateTime)
Calculates the overall schedule progress percentage (0.0 to 100.0) at the specified date.
public double GetProgressAt(DateTime date)Parameters
dateDateTime