Пример #1
0
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                base.IfcParse(propIndex, value);
                break;

            case 1:
                _CombustionTemperature = value.RealVal;
                break;

            case 2:
                _CarbonContent = value.RealVal;
                break;

            case 3:
                _LowerHeatingValue = value.RealVal;
                break;

            case 4:
                _HigherHeatingValue = value.RealVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Пример #2
0
 public IfcStructuralLoadTemperature(IfcLabel?__Name, IfcThermodynamicTemperatureMeasure?__DeltaTConstant, IfcThermodynamicTemperatureMeasure?__DeltaTY, IfcThermodynamicTemperatureMeasure?__DeltaTZ)
     : base(__Name)
 {
     this._DeltaTConstant = __DeltaTConstant;
     this._DeltaTY        = __DeltaTY;
     this._DeltaTZ        = __DeltaTZ;
 }
Пример #3
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 1:
                _combustionTemperature = value.RealVal;
                return;

            case 2:
                _carbonContent = value.RealVal;
                return;

            case 3:
                _lowerHeatingValue = value.RealVal;
                return;

            case 4:
                _higherHeatingValue = value.RealVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 1:
                _specificHeatCapacity = value.RealVal;
                return;

            case 2:
                _boilingPoint = value.RealVal;
                return;

            case 3:
                _freezingPoint = value.RealVal;
                return;

            case 4:
                _thermalConductivity = value.RealVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
            case 0:
                base.IfcParse(propIndex, value);
                break;

            case 1:
                _SpecificHeatCapacity = value.RealVal;
                break;

            case 2:
                _BoilingPoint = value.RealVal;
                break;

            case 3:
                _FreezingPoint = value.RealVal;
                break;

            case 4:
                _ThermalConductivity = value.RealVal;
                break;

            default:
                this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Пример #6
0
 public IfcFuelProperties(IfcMaterial __Material, IfcThermodynamicTemperatureMeasure?__CombustionTemperature, IfcPositiveRatioMeasure?__CarbonContent, IfcHeatingValueMeasure?__LowerHeatingValue, IfcHeatingValueMeasure?__HigherHeatingValue)
     : base(__Material)
 {
     this._CombustionTemperature = __CombustionTemperature;
     this._CarbonContent         = __CarbonContent;
     this._LowerHeatingValue     = __LowerHeatingValue;
     this._HigherHeatingValue    = __HigherHeatingValue;
 }
Пример #7
0
 public IfcThermalMaterialProperties(IfcMaterial __Material, IfcSpecificHeatCapacityMeasure?__SpecificHeatCapacity, IfcThermodynamicTemperatureMeasure?__BoilingPoint, IfcThermodynamicTemperatureMeasure?__FreezingPoint, IfcThermalConductivityMeasure?__ThermalConductivity)
     : base(__Material)
 {
     this._SpecificHeatCapacity = __SpecificHeatCapacity;
     this._BoilingPoint         = __BoilingPoint;
     this._FreezingPoint        = __FreezingPoint;
     this._ThermalConductivity  = __ThermalConductivity;
 }
Пример #8
0
 public IfcFluidFlowProperties(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcPropertySourceEnum __PropertySource, IfcTimeSeries __FlowConditionTimeSeries, IfcTimeSeries __VelocityTimeSeries, IfcTimeSeries __FlowrateTimeSeries, IfcMaterial __Fluid, IfcTimeSeries __PressureTimeSeries, IfcLabel?__UserDefinedPropertySource, IfcThermodynamicTemperatureMeasure?__TemperatureSingleValue, IfcThermodynamicTemperatureMeasure?__WetBulbTemperatureSingleValue, IfcTimeSeries __WetBulbTemperatureTimeSeries, IfcTimeSeries __TemperatureTimeSeries, IfcDerivedMeasureValue __FlowrateSingleValue, IfcPositiveRatioMeasure?__FlowConditionSingleValue, IfcLinearVelocityMeasure?__VelocitySingleValue, IfcPressureMeasure?__PressureSingleValue)
     : base(__GlobalId, __OwnerHistory, __Name, __Description)
 {
     this._PropertySource          = __PropertySource;
     this._FlowConditionTimeSeries = __FlowConditionTimeSeries;
     this._VelocityTimeSeries      = __VelocityTimeSeries;
     this._FlowrateTimeSeries      = __FlowrateTimeSeries;
     this._Fluid = __Fluid;
     this._PressureTimeSeries            = __PressureTimeSeries;
     this._UserDefinedPropertySource     = __UserDefinedPropertySource;
     this._TemperatureSingleValue        = __TemperatureSingleValue;
     this._WetBulbTemperatureSingleValue = __WetBulbTemperatureSingleValue;
     this._WetBulbTemperatureTimeSeries  = __WetBulbTemperatureTimeSeries;
     this._TemperatureTimeSeries         = __TemperatureTimeSeries;
     this._FlowrateSingleValue           = __FlowrateSingleValue;
     this._FlowConditionSingleValue      = __FlowConditionSingleValue;
     this._VelocitySingleValue           = __VelocitySingleValue;
     this._PressureSingleValue           = __PressureSingleValue;
 }
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
                case 0:
                    base.IfcParse(propIndex, value);
                    break;
                case 1:
                    _deltaT_Constant = value.RealVal;
                    break;
                case 2:
                    _deltaT_Y = value.RealVal;
                    break;
                case 3:
                    _deltaT_Z = value.RealVal;
                    break;

                default:
                    this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }
Пример #10
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 1:
                _deltaT_Constant = value.RealVal;
                return;

            case 2:
                _deltaT_Y = value.RealVal;
                return;

            case 3:
                _deltaT_Z = value.RealVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
Пример #11
0
        public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
        {
            switch (propIndex)
            {
            case 0:
            case 1:
            case 2:
            case 3:
                base.Parse(propIndex, value, nestedIndex);
                return;

            case 4:
                _propertySource = (IfcPropertySourceEnum)System.Enum.Parse(typeof(IfcPropertySourceEnum), value.EnumVal, true);
                return;

            case 5:
                _flowConditionTimeSeries = (IfcTimeSeries)(value.EntityVal);
                return;

            case 6:
                _velocityTimeSeries = (IfcTimeSeries)(value.EntityVal);
                return;

            case 7:
                _flowrateTimeSeries = (IfcTimeSeries)(value.EntityVal);
                return;

            case 8:
                _fluid = (IfcMaterial)(value.EntityVal);
                return;

            case 9:
                _pressureTimeSeries = (IfcTimeSeries)(value.EntityVal);
                return;

            case 10:
                _userDefinedPropertySource = value.StringVal;
                return;

            case 11:
                _temperatureSingleValue = value.RealVal;
                return;

            case 12:
                _wetBulbTemperatureSingleValue = value.RealVal;
                return;

            case 13:
                _wetBulbTemperatureTimeSeries = (IfcTimeSeries)(value.EntityVal);
                return;

            case 14:
                _temperatureTimeSeries = (IfcTimeSeries)(value.EntityVal);
                return;

            case 15:
                _flowrateSingleValue = (IfcDerivedMeasureValue)(value.EntityVal);
                return;

            case 16:
                _flowConditionSingleValue = value.RealVal;
                return;

            case 17:
                _velocitySingleValue = value.RealVal;
                return;

            case 18:
                _pressureSingleValue = value.RealVal;
                return;

            default:
                throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper()));
            }
        }
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             base.IfcParse(propIndex, value);
             break;
         case 1:
             _SpecificHeatCapacity = value.RealVal;
             break;
         case 2:
             _BoilingPoint = value.RealVal;
             break;
         case 3:
             _FreezingPoint = value.RealVal;
             break;
         case 4:
             _ThermalConductivity = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
Пример #13
0
 public override void IfcParse(int propIndex, IPropertyValue value)
 {
     switch (propIndex)
     {
         case 0:
             base.IfcParse(propIndex, value);
             break;
         case 1:
             _CombustionTemperature = value.RealVal;
             break;
         case 2:
             _CarbonContent = value.RealVal;
             break;
         case 3:
             _LowerHeatingValue = value.RealVal;
             break;
         case 4:
             _HigherHeatingValue = value.RealVal;
             break;
         default:
             this.HandleUnexpectedAttribute(propIndex, value); break;
     }
 }
        public override void IfcParse(int propIndex, IPropertyValue value)
        {
            switch (propIndex)
            {
                case 0:
                    base.IfcParse(propIndex, value);
                    break;
                case 1:
                    _deltaT_Constant = value.RealVal;
                    break;
                case 2:
                    _deltaT_Y = value.RealVal;
                    break;
                case 3:
                    _deltaT_Z = value.RealVal;
                    break;

                default:
                    this.HandleUnexpectedAttribute(propIndex, value); break;
            }
        }