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: base.Parse(propIndex, value, nestedIndex); return; case 8: _timeStep = value.RealVal; return; case 9: _values.InternalAdd((IfcTimeSeriesValue)value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: case 1: case 2: case 3: base.Parse(propIndex, value, nestedIndex); return; case 4: _relatingProcess = (IfcProcess)(value.EntityVal); return; case 5: _relatedProcess = (IfcProcess)(value.EntityVal); return; case 6: _timeLag = value.RealVal; return; case 7: _sequenceType = (IfcSequenceEnum)System.Enum.Parse(typeof(IfcSequenceEnum), value.EnumVal, true); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: base.IfcParse(propIndex, value); break; case 8: _timeStep = value.RealVal; break; case 9: _values.Add((IfcTimeSeriesValue)value.EntityVal); break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: base.IfcParse(propIndex, value); break; case 4: _relatingProcess = (IfcProcess)value.EntityVal; break; case 5: _relatedProcess = (IfcProcess)value.EntityVal; break; case 6: _timeLag = value.RealVal; break; case 7: _sequenceType = (IfcSequenceEnum)Enum.Parse(typeof(IfcSequenceEnum), value.EnumVal, true); break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public IfcRelSequence(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcProcess __RelatingProcess, IfcProcess __RelatedProcess, IfcTimeMeasure __TimeLag, IfcSequenceEnum __SequenceType) : base(__GlobalId, __OwnerHistory, __Name, __Description) { this._RelatingProcess = __RelatingProcess; this._RelatedProcess = __RelatedProcess; this._TimeLag = __TimeLag; this._SequenceType = __SequenceType; }
internal IfcQuantityTimeTransient(MeasureResource.IfcMeasureWithUnit measure) { var value = measure.ValueComponent; _unit = measure.UnitComponent as Ifc4.Interfaces.IIfcNamedUnit; if (!(value is MeasureResource.IfcTimeMeasure)) { return; } _timeValue = new IfcTimeMeasure((MeasureResource.IfcTimeMeasure)value); }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: base.IfcParse(propIndex, value); break; case 3: _timeValue = value.RealVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: case 1: case 2: base.Parse(propIndex, value, nestedIndex); return; case 3: _timeValue = value.RealVal; return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: base.IfcParse(propIndex, value); break; case 5: _ServiceLifeType = (IfcServiceLifeTypeEnum)Enum.Parse(typeof(IfcServiceLifeTypeEnum), value.EnumVal); break; case 6: _ServiceLifeDuration = value.RealVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public IfcRegularTimeSeries(IfcLabel __Name, IfcText?__Description, IfcDateTimeSelect __StartTime, IfcDateTimeSelect __EndTime, IfcTimeSeriesDataTypeEnum __TimeSeriesDataType, IfcDataOriginEnum __DataOrigin, IfcLabel?__UserDefinedDataOrigin, IfcUnit __Unit, IfcTimeMeasure __TimeStep, IfcTimeSeriesValue[] __Values) : base(__Name, __Description, __StartTime, __EndTime, __TimeSeriesDataType, __DataOrigin, __UserDefinedDataOrigin, __Unit) { this._TimeStep = __TimeStep; this._Values = new List <IfcTimeSeriesValue>(__Values); }
public IfcQuantityTime(IfcLabel __Name, IfcText?__Description, IfcNamedUnit __Unit, IfcTimeMeasure __TimeValue) : base(__Name, __Description, __Unit) { this._TimeValue = __TimeValue; }
public IfcServiceLife(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcServiceLifeTypeEnum __ServiceLifeType, IfcTimeMeasure __ServiceLifeDuration) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType) { this._ServiceLifeType = __ServiceLifeType; this._ServiceLifeDuration = __ServiceLifeDuration; }
public IfcQuantityTime(IfcLabel __Name, IfcText?__Description, IfcNamedUnit __Unit, IfcTimeMeasure __TimeValue, IfcLabel?__Formula) : base(__Name, __Description, __Unit) { this.TimeValue = __TimeValue; this.Formula = __Formula; }