Class IfcTask
- Namespace
- IfcIO.Model.Sequence
- Assembly
- IfcIO.dll
A scheduled construction or operational task within a work schedule conforming to buildingSMART IFCTASK.
public sealed class IfcTaskInheritance
Inherited Members
Constructors
IfcTask()
public IfcTask()IfcTask(string, string?, IfcTaskType)
public IfcTask(string name, string? identification = null, IfcTaskType taskType = IfcTaskType.Construction)Parameters
namestringidentificationstring?taskTypeIfcTaskType
Properties
AssignedElements
Building elements assigned to be constructed or demolished by this task.
public List<IfcElement> AssignedElements { get; }Property Value
Description
public string? Description { get; set; }Property Value
GlobalId
public string GlobalId { get; set; }Property Value
Identification
Work Breakdown Structure (WBS) identification code (e.g. "1.2.3").
public string? Identification { get; set; }Property Value
Name
public string Name { get; set; }Property Value
Predecessors
Predecessor sequence dependencies leading into this task.
public List<IfcTaskRelationship> Predecessors { get; }Property Value
Priority
public int? Priority { get; set; }Property Value
- int?
Status
public string? Status { get; set; }Property Value
SubTasks
Hierarchical subtasks subordinate to this task.
public List<IfcTask> SubTasks { get; }Property Value
Successors
Successor sequence dependencies leading out of this task.
public List<IfcTaskRelationship> Successors { get; }Property Value
TaskType
public IfcTaskType TaskType { get; set; }Property Value
Time
public IfcTaskTime? Time { get; set; }Property Value
Methods
AddSubTask(string, string?, DateTime?, DateTime?)
Adds a nested subtask under this task.
public IfcTask AddSubTask(string name, string? identification = null, DateTime? start = null, DateTime? finish = null)Parameters
Returns
AddSuccessor(IfcTask, IfcSequenceType, TimeSpan?)
Links a successor task with an optional sequence type and lag.
public IfcTaskRelationship AddSuccessor(IfcTask successor, IfcSequenceType sequenceType = IfcSequenceType.FinishToStart, TimeSpan? lag = null)Parameters
successorIfcTasksequenceTypeIfcSequenceTypelagTimeSpan?
Returns
AssignElement(IfcElement)
Assigns a physical building element to this task.
public void AssignElement(IfcElement element)Parameters
elementIfcElement
AssignElements(IEnumerable<IfcElement>)
Assigns multiple building elements to this task.
public void AssignElements(IEnumerable<IfcElement> elements)Parameters
elementsIEnumerable<IfcElement>