示例#1
0
        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:
            case 9:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 10:
                _projectedOrTrue = (IfcProjectedOrTrueLengthEnum)System.Enum.Parse(typeof(IfcProjectedOrTrueLengthEnum), value.EnumVal, true);
                return;

            case 11:
                _predefinedType = (IfcStructuralSurfaceActivityTypeEnum)System.Enum.Parse(typeof(IfcStructuralSurfaceActivityTypeEnum), value.EnumVal, true);
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
示例#2
0
 public IfcStructuralPlanarAction(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcObjectPlacement objectPlacement, IfcProductRepresentation representation, IfcStructuralLoad appliedLoad, IfcGlobalOrLocalEnum globalOrLocal, IfcBoolean destabilizingLoad, IfcProjectedOrTrueLengthEnum projectedOrTrue, IfcStructuralSurfaceActivityTypeEnum predefinedType) : base(globalId, ownerHistory, name, description, objectType, objectPlacement, representation, appliedLoad, globalOrLocal, destabilizingLoad, projectedOrTrue, predefinedType)
 {
 }
示例#3
0
 /// <summary>
 /// Construct a IfcStructuralPlanarAction with all required attributes.
 /// </summary>
 public IfcStructuralPlanarAction(IfcGloballyUniqueId globalId, IfcStructuralLoad appliedLoad, IfcGlobalOrLocalEnum globalOrLocal, IfcStructuralSurfaceActivityTypeEnum predefinedType) : base(globalId, appliedLoad, globalOrLocal, predefinedType)
 {
 }
 public IfcStructuralSurfaceReaction(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcStructuralLoad __AppliedLoad, IfcGlobalOrLocalEnum __GlobalOrLocal, IfcStructuralSurfaceActivityTypeEnum __PredefinedType)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __AppliedLoad, __GlobalOrLocal)
 {
     this._PredefinedType = __PredefinedType;
 }
示例#5
0
 public IfcStructuralSurfaceReaction(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcObjectPlacement objectPlacement, IfcProductRepresentation representation, IfcStructuralLoad appliedLoad, IfcGlobalOrLocalEnum globalOrLocal, IfcStructuralSurfaceActivityTypeEnum predefinedType) : base(globalId, ownerHistory, name, description, objectType, objectPlacement, representation, appliedLoad, globalOrLocal)
 {
     PredefinedType = predefinedType;
 }
示例#6
0
 public IfcStructuralSurfaceAction(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcStructuralLoad __AppliedLoad, IfcGlobalOrLocalEnum __GlobalOrLocal, IfcBoolean?__DestabilizingLoad, IfcProjectedOrTrueLengthEnum?__ProjectedOrTrue, IfcStructuralSurfaceActivityTypeEnum __PredefinedType)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __AppliedLoad, __GlobalOrLocal, __DestabilizingLoad)
 {
     this.ProjectedOrTrue = __ProjectedOrTrue;
     this.PredefinedType  = __PredefinedType;
 }
示例#7
0
		internal IfcStructuralSurfaceAction(IfcStructuralLoadCase lc, IfcStructuralActivityAssignmentSelect item, IfcStructuralLoad load, bool global, bool projected, IfcStructuralSurfaceActivityTypeEnum type)
			: base(lc, item, load, global) { if (mDatabase.mSchema == Schema.IFC2x3) throw new Exception(mKW + " in IFC4 Only"); mProjectedOrTrue = projected ? IfcProjectedOrTrueLengthEnum.PROJECTED_LENGTH : IfcProjectedOrTrueLengthEnum.TRUE_LENGTH; mPredefinedType = type; }
示例#8
0
		internal IfcStructuralSurfaceAction(IfcStructuralSurfaceAction p) : base(p) { mProjectedOrTrue = p.mProjectedOrTrue; mPredefinedType = p.mPredefinedType; }