Exemple #1
0
        public SocialDistancingRuleset Build()
        {
            var ruleset = new SocialDistancingRuleset
            {
                Name             = Name,
                Index            = Index,
                FixedGroupLayout = true,
                DisabledSeats    = DisabledSeats
            };

            return(ruleset);
        }
Exemple #2
0
        public SocialDistancingRuleset Build()
        {
            var ruleset = new SocialDistancingRuleset
            {
                Name  = Name,
                Index = Index,
                NumberOfDisabledSeatsToTheSides      = NumberOfDisabledSeatsToTheSides,
                DisableSeatsInFrontAndBehind         = DisableSeatsInFrontAndBehind,
                DisableDiagonalSeatsInFrontAndBehind = DisableDiagonalSeatsInFrontAndBehind,
                NumberOfDisabledAisleSeats           = NumberOfDisabledAisleSeats,
                MaxGroupSize           = MaxGroupSize,
                MaxOccupancyAbsolute   = MaxOccupancyAbsolute,
                MaxOccupancyPercentage = MaxOccupancyPercentage,
                OneGroupPerTable       = OneGroupPerTable,
                FixedGroupLayout       = false,
                DisabledSeats          = DisabledSeats,
                EnabledSeats           = EnabledSeats
            };

            return(ruleset);
        }