Exemplo n.º 1
0
        public override STSimDistributionBase Clone()
        {
            TransitionTarget t = new TransitionTarget(
                this.Iteration, this.Timestep, this.StratumId,
                this.SecondaryStratumId, this.TertiaryStratumId, this.TransitionGroupId,
                this.DistributionValue, this.DistributionTypeId, this.DistributionFrequency,
                this.DistributionSD, this.DistributionMin, this.DistributionMax, this.m_Scenario);

            t.ExpectedAmount = this.ExpectedAmountNoCheck;
            t.Multiplier     = this.MultiplierNoCheck;
            t.IsDisabled     = this.IsDisabled;

            if (this.m_Prioritizations != null)
            {
                t.SetPrioritizations(this.m_Prioritizations);
            }

            return(t);
        }