public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
         case 1:
         case 2:
             base.IfcParse(propIndex, value);
             break;
         case 3:
             _areaValue = value.RealVal;
             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:
             base.IfcParse(propIndex, value);
             break;
         case 5:
             _SpaceProgramIdentifier = value.StringVal;
             break;
         case 6:
             _MaxRequiredArea = value.RealVal;
             break;
         case 7:
             _MinRequiredArea = value.RealVal;
             break;
         case 8:
             _RequestedLocation = (IfcSpatialStructureElement)value.EntityVal;
             break;
         case 9:
             _StandardRequiredArea = value.RealVal;
             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:
         case 6:
         case 7:
         case 8:
             base.IfcParse(propIndex, value);
             break;
         case 9:
             _meshLength = value.RealVal;
             break;
         case 10:
             _meshWidth = value.RealVal;
             break;
         case 11:
             _longitudinalBarNominalDiameter = value.RealVal;
             break;
         case 12:
             _transverseBarNominalDiameter = value.RealVal;
             break;
         case 13:
             _longitudinalBarCrossSectionArea = value.RealVal;
             break;
         case 14:
             _transverseBarCrossSectionArea = value.RealVal;
             break;
         case 15:
             _longitudinalBarSpacing = value.RealVal;
             break;
         case 16:
             _transverseBarSpacing = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
 public virtual void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             _totalCrossSectionArea = value.RealVal;
             break;
         case 1:
             _steelGrade = value.StringVal;
             break;
         case 2:
             _barSurface =
                 (IfcReinforcingBarSurfaceEnum)
                 Enum.Parse(typeof (IfcReinforcingBarSurfaceEnum), value.EnumVal, true);
             break;
         case 3:
             _effectiveDepth = value.RealVal;
             break;
         case 4:
             _nominalBarDiameter = value.RealVal;
             break;
         case 5:
             _barCount = value.NumberVal;
             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:
         case 6:
         case 7:
         case 8:
             base.IfcParse(propIndex, value);
             break;
         case 9:
             _nominalDiameter = value.RealVal;
             break;
         case 10:
             _crossSectionArea = value.RealVal;
             break;
         case 11:
             _barLength = value.RealVal;
             break;
         case 12:
             _barRole =
                 (IfcReinforcingBarRoleEnum)
                 Enum.Parse(typeof (IfcReinforcingBarRoleEnum), value.EnumVal, true);
             break;
         case 13:
             _barSurface =
                 (IfcReinforcingBarSurfaceEnum)
                 Enum.Parse(typeof (IfcReinforcingBarSurfaceEnum), value.EnumVal, true);
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Example #6
0
 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:
         case 8:
             base.IfcParse(propIndex, value);
             break;
         case 9:
             _predefinedType = (IfcTendonTypeEnum) Enum.Parse(typeof (IfcTendonTypeEnum), value.EnumVal, true);
             break;
         case 10:
             _nominalDiameter = value.RealVal;
             break;
         case 11:
             _crossSectionArea = value.RealVal;
             break;
         case 12:
             _tensionForce = value.RealVal;
             break;
         case 13:
             _preStress = value.RealVal;
             break;
         case 14:
             _frictionCoefficient = value.RealVal;
             break;
         case 15:
             _anchorageSlip = value.RealVal;
             break;
         case 16:
             _minCurvatureRadius = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }