public void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _hourOffset = (int)value.IntegerVal; break; case 1: _minuteOffset = (int)value.IntegerVal; break; case 2: _sense = (IfcAheadOrBehind)Enum.Parse(typeof(IfcAheadOrBehind), value.EnumVal, true); break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _hourOffset = value.IntegerVal; return; case 1: _minuteOffset = value.IntegerVal; return; case 2: _sense = (IfcAheadOrBehind)System.Enum.Parse(typeof(IfcAheadOrBehind), value.EnumVal, true); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
internal IfcAheadOrBehind mSense = IfcAheadOrBehind.AHEAD;// : IfcAheadOrBehind; internal IfcCoordinatedUniversalTimeOffset(IfcCoordinatedUniversalTimeOffset v) : base() { mHourOffset = v.mHourOffset; mMinuteOffset = v.mMinuteOffset; mSense = v.mSense; }
public IfcCoordinatedUniversalTimeOffset(IfcHourInDay __HourOffset, IfcMinuteInHour?__MinuteOffset, IfcAheadOrBehind __Sense) { this._HourOffset = __HourOffset; this._MinuteOffset = __MinuteOffset; this._Sense = __Sense; }
public void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _hourOffset = (int) value.IntegerVal; break; case 1: _minuteOffset = (int) value.IntegerVal; break; case 2: _sense = (IfcAheadOrBehind) Enum.Parse(typeof (IfcAheadOrBehind), value.EnumVal, true); break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }