Ejemplo n.º 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:
            case 10:
                base.Parse(propIndex, value, nestedIndex);
                return;

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

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Ejemplo n.º 2
0
 internal IfcLaborResourceType(DatabaseIfc db, IfcLaborResourceType t, DuplicateOptions options) : base(db, t, options)
 {
     mPredefinedType = t.mPredefinedType;
 }
Ejemplo n.º 3
0
 internal IfcLaborResource(DatabaseIfc db, IfcLaborResource r, DuplicateOptions options) : base(db, r, options)
 {
     mPredefinedType = r.mPredefinedType;
 }
Ejemplo n.º 4
0
 internal IfcLaborResourceType(IfcLaborResourceType t) : base(t)
 {
     mPredefinedType = t.mPredefinedType;
 }
Ejemplo n.º 5
0
 internal IfcLaborResource(IfcLaborResource o) : base(o)
 {
     mPredefinedType = o.mPredefinedType;
 }
Ejemplo n.º 6
0
 public IfcLaborResourceType(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcIdentifier?__ApplicableOccurrence, IfcPropertySetDefinition[] __HasPropertySets, IfcIdentifier?__Identification, IfcText?__LongDescription, IfcLabel?__ResourceType, IfcAppliedValue[] __BaseCosts, IfcPhysicalQuantity __BaseQuantity, IfcLaborResourceTypeEnum __PredefinedType)
     : base(__GlobalId, __OwnerHistory, __Name, __Description, __ApplicableOccurrence, __HasPropertySets, __Identification, __LongDescription, __ResourceType, __BaseCosts, __BaseQuantity)
 {
     this.PredefinedType = __PredefinedType;
 }
Ejemplo n.º 7
0
		internal IfcLaborResourceType(IfcLaborResourceType t) : base(t) { mPredefinedType = t.mPredefinedType; }
Ejemplo n.º 8
0
 internal IfcLaborResourceType(DatabaseIfc db, IfcLaborResourceType t) : base(db, t)
 {
     mPredefinedType = t.mPredefinedType;
 }
Ejemplo n.º 9
0
 public IfcLaborResource(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcIdentifier identification, IfcText longDescription, IfcResourceTime usage, List <IfcAppliedValue> baseCosts, IfcPhysicalQuantity baseQuantity, IfcLaborResourceTypeEnum predefinedType) : base(globalId, ownerHistory, name, description, objectType, identification, longDescription, usage, baseCosts, baseQuantity)
 {
     PredefinedType = predefinedType;
 }
Ejemplo n.º 10
0
 internal IfcLaborResource(DatabaseIfc db, IfcLaborResource r)
     : base(db,r)
 {
     mPredefinedType = r.mPredefinedType;
 }
Ejemplo n.º 11
0
 internal IfcLaborResourceType(DatabaseIfc m, string name, IfcLaborResourceTypeEnum type)
     : base(m)
 {
     Name = name; mPredefinedType = type;
 }
Ejemplo n.º 12
0
 internal IfcLaborResourceType(DatabaseIfc db, IfcLaborResourceType t)
     : base(db ,t)
 {
     mPredefinedType = t.mPredefinedType;
 }
Ejemplo n.º 13
0
 public IfcLaborResourceType(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcIdentifier applicableOccurrence, List <IfcPropertySetDefinition> hasPropertySets, IfcIdentifier identification, IfcText longDescription, IfcLabel resourceType, List <IfcAppliedValue> baseCosts, IfcPhysicalQuantity baseQuantity, IfcLaborResourceTypeEnum predefinedType) : base(globalId, ownerHistory, name, description, applicableOccurrence, hasPropertySets, identification, longDescription, resourceType, baseCosts, baseQuantity)
 {
     PredefinedType = predefinedType;
 }
Ejemplo n.º 14
0
 /// <summary>
 /// Construct a IfcLaborResourceType with all required attributes.
 /// </summary>
 public IfcLaborResourceType(IfcGloballyUniqueId globalId, IfcLaborResourceTypeEnum predefinedType) : base(globalId)
 {
     PredefinedType = predefinedType;
 }
Ejemplo n.º 15
0
 public IfcLaborResourceType(DatabaseIfc db, string name, IfcLaborResourceTypeEnum type) : base(db)
 {
     Name = name; mPredefinedType = type;
 }
Ejemplo n.º 16
0
 internal IfcLaborResource(DatabaseIfc db, IfcLaborResource r) : base(db, r)
 {
     mPredefinedType = r.mPredefinedType;
 }
Ejemplo n.º 17
0
 internal IfcLaborResourceType(DatabaseIfc db, IfcLaborResourceType t, IfcOwnerHistory ownerHistory, bool downStream) : base(db, t, ownerHistory, downStream)
 {
     mPredefinedType = t.mPredefinedType;
 }
Ejemplo n.º 18
0
 internal IfcLaborResourceType(DatabaseIfc m, string name, IfcLaborResourceTypeEnum type) : base(m)
 {
     Name = name; mPredefinedType = type;
 }
Ejemplo n.º 19
0
		internal IfcLaborResource(IfcLaborResource o) : base(o) { mPredefinedType = o.mPredefinedType; }