public IfcEventType(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcIdentifier?__ApplicableOccurrence, IfcPropertySetDefinition[] __HasPropertySets, IfcIdentifier?__Identification, IfcText?__LongDescription, IfcLabel?__ProcessType, IfcEventTypeEnum __PredefinedType, IfcEventTriggerTypeEnum __EventTriggerType, IfcLabel?__UserDefinedEventTriggerType) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ApplicableOccurrence, __HasPropertySets, __Identification, __LongDescription, __ProcessType) { this._PredefinedType = __PredefinedType; this._EventTriggerType = __EventTriggerType; this._UserDefinedEventTriggerType = __UserDefinedEventTriggerType; }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: base.Parse(propIndex, value, nestedIndex); return; case 9: _predefinedType = (IfcEventTypeEnum)System.Enum.Parse(typeof(IfcEventTypeEnum), value.EnumVal, true); return; case 10: _eventTriggerType = (IfcEventTriggerTypeEnum)System.Enum.Parse(typeof(IfcEventTriggerTypeEnum), value.EnumVal, true); return; case 11: _userDefinedEventTriggerType = value.StringVal; return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public IfcEvent(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcIdentifier identification, IfcText longDescription, IfcEventTypeEnum predefinedType, IfcEventTriggerTypeEnum eventTriggerType, IfcLabel userDefinedEventTriggerType, IfcEventTime eventOccurenceTime) : base(globalId, ownerHistory, name, description, objectType, identification, longDescription) { PredefinedType = predefinedType; EventTriggerType = eventTriggerType; UserDefinedEventTriggerType = userDefinedEventTriggerType; EventOccurenceTime = eventOccurenceTime; }
internal IfcEventType(DatabaseIfc m, string name, IfcEventTypeEnum t, IfcEventTriggerTypeEnum trigger) : base(m) { Name = name; mPredefinedType = t; mEventTriggerType = trigger; }
internal IfcEventType(IfcEventType t) : base(t) { mPredefinedType = t.mPredefinedType; mEventTriggerType = t.mEventTriggerType; mUserDefinedEventTriggerType = t.mUserDefinedEventTriggerType; }
internal IfcEventType(DatabaseIfc db, IfcEventType t) : base(db, t) { mPredefinedType = t.mPredefinedType; mEventTriggerType = t.mEventTriggerType; mUserDefinedEventTriggerType = t.mUserDefinedEventTriggerType; }
internal IfcEvent(DatabaseIfc db, IfcEvent e) : base(db,e) { mPredefinedType = e.mPredefinedType; mEventTriggerType = e.mEventTriggerType; mUserDefinedEventTriggerType = e.mUserDefinedEventTriggerType; }
public IfcEventType(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcIdentifier applicableOccurrence, List <IfcPropertySetDefinition> hasPropertySets, IfcIdentifier identification, IfcText longDescription, IfcLabel processType, IfcEventTypeEnum predefinedType, IfcEventTriggerTypeEnum eventTriggerType, IfcLabel userDefinedEventTriggerType) : base(globalId, ownerHistory, name, description, applicableOccurrence, hasPropertySets, identification, longDescription, processType) { PredefinedType = predefinedType; EventTriggerType = eventTriggerType; UserDefinedEventTriggerType = userDefinedEventTriggerType; }
} // optional /// <summary> /// Construct a IfcEventType with all required attributes. /// </summary> public IfcEventType(IfcGloballyUniqueId globalId, IfcEventTypeEnum predefinedType, IfcEventTriggerTypeEnum eventTriggerType) : base(globalId) { PredefinedType = predefinedType; EventTriggerType = eventTriggerType; }