Exemplo n.º 1
0
        /// <summary>
        /// Factories the specified application.
        /// </summary>
        /// <param name="uniqueName">Name of the unique.</param>
        /// <param name="properties">The properties.</param>
        /// <returns>AngleSection.</returns>
        internal static DeckFilled Factory(string uniqueName, DeckFilledProperties properties = null)
        {
            DeckFilled areaSection = new DeckFilled(uniqueName)
            {
                _properties = properties
            };

            return(areaSection);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Fills the extended.
        /// </summary>
        public void FillExtended()
        {
            switch (SectionProperties.FloorType)
            {
            case eDeckType.SolidSlab:
                _extended = DeckSolidSlab.Factory(Name);
                break;

            case eDeckType.Unfilled:
                _extended = DeckUnfilled.Factory(Name);
                break;

            case eDeckType.Filled:
                _extended = DeckFilled.Factory(Name);
                break;
            }
        }
Exemplo n.º 3
0
        /// <summary>
        /// Sets the extended.
        /// </summary>
        /// <param name="extendedProperties">The extended properties.</param>
        public void SetExtended(DeckExtendedProperties extendedProperties)
        {
            if (extendedProperties == null)
            {
                return;
            }
            switch (extendedProperties)
            {
            case DeckSolidSlabProperties deckSolidSlabProperties:
                _extended = DeckSolidSlab.Factory(Name, deckSolidSlabProperties);
                break;

            case DeckUnfilledProperties deckUnfilledProperties:
                _extended = DeckUnfilled.Factory(Name, deckUnfilledProperties);
                break;

            case DeckFilledProperties deckFilledProperties:
                _extended = DeckFilled.Factory(Name, deckFilledProperties);
                break;
            }
        }