예제 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="DoorEnergyPropertiesAbridged" /> class.
        /// </summary>
        /// <param name="construction">Identifier of an OpaqueConstruction or WindowConstruction for the door. Note that the host door must have the is_glass property set to True to assign a WindowConstruction. If None, the construction is set by the parent Room construction_set or the Model global_construction_set..</param>
        /// <param name="ventOpening">An optional VentilationOpening to specify the operable portion of the Door..</param>
        public DoorEnergyPropertiesAbridged
        (
            // Required parameters
            string construction = default, VentilationOpening ventOpening = default // Optional parameters
        ) : base()                                                                  // BaseClass
        {
            this.Construction = construction;
            this.VentOpening  = ventOpening;

            // Set non-required readonly properties with defaultValue
            this.Type = "DoorEnergyPropertiesAbridged";
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="DoorEnergyPropertiesAbridged" /> class.
        /// </summary>
        /// <param name="construction">Identifier of an OpaqueConstruction or WindowConstruction for the door. Note that the host door must have the is_glass property set to True to assign a WindowConstruction. If None, the construction is set by the parent Room construction_set or the Model global_construction_set..</param>
        /// <param name="ventOpening">An optional VentilationOpening to specify the operable portion of the Door..</param>
        public DoorEnergyPropertiesAbridged
        (
            // Required parameters
            string construction = default, VentilationOpening ventOpening = default // Optional parameters
        ) : base()                                                                  // BaseClass
        {
            this.Construction = construction;
            this.VentOpening  = ventOpening;

            // Set non-required readonly properties with defaultValue
            this.Type = "DoorEnergyPropertiesAbridged";

            // check if object is valid, only check for inherited class
            if (this.GetType() == typeof(DoorEnergyPropertiesAbridged))
            {
                this.IsValid(throwException: true);
            }
        }