/// <summary>
        /// Initializes a new instance of the <see cref="ModifierSetAbridged" /> class.
        /// </summary>
        /// <param name="wallSet">Optional WallModifierSet object for this ModifierSet (default: None)..</param>
        /// <param name="floorSet">Optional FloorModifierSet object for this ModifierSet (default: None)..</param>
        /// <param name="roofCeilingSet">Optional RoofCeilingModifierSet object for this ModifierSet (default: None)..</param>
        /// <param name="apertureSet">Optional ApertureModifierSet object for this ModifierSet (default: None)..</param>
        /// <param name="doorSet">Optional DoorModifierSet object for this ModifierSet (default: None)..</param>
        /// <param name="shadeSet">Optional ShadeModifierSet object for this ModifierSet (default: None)..</param>
        /// <param name="airBoundaryModifier">Optional Modifier to be used for all Faces with an AirBoundary face type. If None, it will be the honeybee generic air wall modifier..</param>
        /// <param name="identifier">Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files. (required).</param>
        /// <param name="displayName">Display name of the object with no character restrictions..</param>
        public ModifierSetAbridged
        (
            string identifier,                                                                                                                                                                                                                                                                                                                                             // Required parameters
            string displayName = default, WallModifierSetAbridged wallSet = default, FloorModifierSetAbridged floorSet = default, RoofCeilingModifierSetAbridged roofCeilingSet = default, ApertureModifierSetAbridged apertureSet = default, DoorModifierSetAbridged doorSet = default, ShadeModifierSetAbridged shadeSet = default, string airBoundaryModifier = default // Optional parameters
        ) : base(identifier: identifier, displayName: displayName)                                                                                                                                                                                                                                                                                                         // BaseClass
        {
            this.WallSet             = wallSet;
            this.FloorSet            = floorSet;
            this.RoofCeilingSet      = roofCeilingSet;
            this.ApertureSet         = apertureSet;
            this.DoorSet             = doorSet;
            this.ShadeSet            = shadeSet;
            this.AirBoundaryModifier = airBoundaryModifier;

            // Set non-required readonly properties with defaultValue
            this.Type = "ModifierSetAbridged";
        }
Пример #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ModifierSetAbridged" /> class.
        /// </summary>
        /// <param name="wallSet">Optional WallModifierSet object for this ModifierSet (default: None)..</param>
        /// <param name="floorSet">Optional FloorModifierSet object for this ModifierSet (default: None)..</param>
        /// <param name="roofCeilingSet">Optional RoofCeilingModifierSet object for this ModifierSet (default: None)..</param>
        /// <param name="apertureSet">Optional ApertureModifierSet object for this ModifierSet (default: None)..</param>
        /// <param name="doorSet">Optional DoorModifierSet object for this ModifierSet (default: None)..</param>
        /// <param name="shadeSet">Optional ShadeModifierSet object for this ModifierSet (default: None)..</param>
        /// <param name="airBoundaryModifier">Optional Modifier to be used for all Faces with an AirBoundary face type. If None, it will be the honeybee generic air wall modifier..</param>
        /// <param name="identifier">Text string for a unique Radiance object. Must not contain spaces or special characters. This will be used to identify the object across a model and in the exported Radiance files. (required).</param>
        /// <param name="displayName">Display name of the object with no character restrictions..</param>
        public ModifierSetAbridged
        (
            string identifier,                                                                                                                                                                                                                                                                                                                                             // Required parameters
            string displayName = default, WallModifierSetAbridged wallSet = default, FloorModifierSetAbridged floorSet = default, RoofCeilingModifierSetAbridged roofCeilingSet = default, ApertureModifierSetAbridged apertureSet = default, DoorModifierSetAbridged doorSet = default, ShadeModifierSetAbridged shadeSet = default, string airBoundaryModifier = default // Optional parameters
        ) : base(identifier: identifier, displayName: displayName)                                                                                                                                                                                                                                                                                                         // BaseClass
        {
            this.WallSet             = wallSet;
            this.FloorSet            = floorSet;
            this.RoofCeilingSet      = roofCeilingSet;
            this.ApertureSet         = apertureSet;
            this.DoorSet             = doorSet;
            this.ShadeSet            = shadeSet;
            this.AirBoundaryModifier = airBoundaryModifier;

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

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