public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _soundLevelTimeSeries = (IfcTimeSeries) value.EntityVal;
             break;
         case 1:
             _frequency = value.RealVal;
             break;
         case 2:
             _soundLevelSingleValue = (IfcDerivedMeasureValue) 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:
         case 4:
         case 5:
             base.IfcParse(propIndex, value);
             break;
         case 6:
             _electricCurrentType =
                 (IfcElectricCurrentEnum) Enum.Parse(typeof (IfcElectricCurrentEnum), value.EnumVal, true);
             break;
         case 7:
             _inputVoltage = value.RealVal;
             break;
         case 8:
             _inputFrequency = value.RealVal;
             break;
         case 9:
             _fullLoadCurrent = value.RealVal;
             break;
         case 10:
             _minimumCircuitCurrent = value.RealVal;
             break;
         case 11:
             _maximumPowerInput = value.RealVal;
             break;
         case 12:
             _ratedPowerInput = value.RealVal;
             break;
         case 13:
             _inputPhase = value.IntegerVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }