Exemple #1
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 =
                    (IfcHeatExchangerTypeEnum)Enum.Parse(typeof(IfcHeatExchangerTypeEnum), value.EnumVal, true);
                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:
             _predefinedType =
                 (IfcHeatExchangerTypeEnum) Enum.Parse(typeof (IfcHeatExchangerTypeEnum), value.EnumVal, true);
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Exemple #3
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:
                base.Parse(propIndex, value, nestedIndex);
                return;

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

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Exemple #4
0
		internal IfcHeatExchangerType(IfcHeatExchangerType t) : base(t) { mPredefinedType = t.mPredefinedType; }
Exemple #5
0
		internal IfcHeatExchanger(IfcHeatExchanger b) : base(b) { mPredefinedType = b.mPredefinedType; }
Exemple #6
0
 internal IfcHeatExchangerType(DatabaseIfc db, IfcHeatExchangerType t, IfcOwnerHistory ownerHistory, bool downStream) : base(db, t, ownerHistory, downStream)
 {
     mPredefinedType = t.mPredefinedType;
 }
Exemple #7
0
 internal IfcHeatExchanger(DatabaseIfc db, IfcHeatExchanger e, IfcOwnerHistory ownerHistory, bool downStream) : base(db, e, ownerHistory, downStream)
 {
     mPredefinedType = e.mPredefinedType;
 }
Exemple #8
0
 internal IfcHeatExchanger(DatabaseIfc db, IfcHeatExchanger e)
     : base(db, e)
 {
     mPredefinedType = e.mPredefinedType;
 }
Exemple #9
0
 internal IfcHeatExchangerType(DatabaseIfc m, string name, IfcHeatExchangerTypeEnum type) : base(m)
 {
     Name = name; mPredefinedType = type;
 }
Exemple #10
0
 public IfcHeatExchangerType(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcIdentifier?__ApplicableOccurrence, IfcPropertySetDefinition[] __HasPropertySets, IfcRepresentationMap[] __RepresentationMaps, IfcLabel?__Tag, IfcLabel?__ElementType, IfcHeatExchangerTypeEnum __PredefinedType)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ApplicableOccurrence, __HasPropertySets, __RepresentationMaps, __Tag, __ElementType)
 {
     this.PredefinedType = __PredefinedType;
 }
 public IfcHeatExchangerType(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcIdentifier applicableOccurrence, List <IfcPropertySetDefinition> hasPropertySets, List <IfcRepresentationMap> representationMaps, IfcLabel tag, IfcLabel elementType, IfcHeatExchangerTypeEnum predefinedType) : base(globalId, ownerHistory, name, description, applicableOccurrence, hasPropertySets, representationMaps, tag, elementType)
 {
     PredefinedType = predefinedType;
 }
 /// <summary>
 /// Construct a IfcHeatExchangerType with all required attributes.
 /// </summary>
 public IfcHeatExchangerType(IfcGloballyUniqueId globalId, IfcHeatExchangerTypeEnum predefinedType) : base(globalId)
 {
     PredefinedType = predefinedType;
 }
Exemple #13
0
 internal IfcHeatExchanger(IfcHeatExchanger b) : base(b)
 {
     mPredefinedType = b.mPredefinedType;
 }
Exemple #14
0
 internal IfcHeatExchangerType(IfcHeatExchangerType t) : base(t)
 {
     mPredefinedType = t.mPredefinedType;
 }
Exemple #15
0
 internal IfcHeatExchangerType(DatabaseIfc db, IfcHeatExchangerType t)
     : base(db, t)
 {
     mPredefinedType = t.mPredefinedType;
 }
Exemple #16
0
		internal IfcHeatExchangerType(DatabaseIfc m, string name, IfcHeatExchangerTypeEnum type) : base(m) { Name = name; mPredefinedType = type; }
Exemple #17
0
 internal IfcHeatExchanger(DatabaseIfc db, IfcHeatExchanger e, DuplicateOptions options) : base(db, e, options)
 {
     mPredefinedType = e.mPredefinedType;
 }
Exemple #18
0
 internal IfcHeatExchangerType(DatabaseIfc db, IfcHeatExchangerType t, DuplicateOptions options) : base(db, t, options)
 {
     mPredefinedType = t.mPredefinedType;
 }
Exemple #19
0
 internal IfcHeatExchangerType(DatabaseIfc db, IfcHeatExchangerType t) : base(db, t)
 {
     mPredefinedType = t.mPredefinedType;
 }
Exemple #20
0
 public IfcHeatExchanger(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcObjectPlacement objectPlacement, IfcProductRepresentation representation, IfcIdentifier tag, IfcHeatExchangerTypeEnum predefinedType) : base(globalId, ownerHistory, name, description, objectType, objectPlacement, representation, tag)
 {
     PredefinedType = predefinedType;
 }
Exemple #21
0
 internal IfcHeatExchanger(DatabaseIfc db, IfcHeatExchanger e) : base(db, e)
 {
     mPredefinedType = e.mPredefinedType;
 }
Exemple #22
0
 public IfcHeatExchangerType(DatabaseIfc db, string name, IfcHeatExchangerTypeEnum type) : base(db)
 {
     Name = name; PredefinedType = type;
 }