public bool Equals(ActionSettings x2)
        {
            ActionSettings x1 = this;

            return(x1.FirstMaxValue == x2.FirstMaxValue &&
                   x1.FirstMinValue == x2.FirstMinValue &&
                   x1.FirstType == x2.FirstType &&
                   x1.SecondMaxValue == x2.SecondMaxValue &&
                   x1.SecondMinValue == x2.SecondMinValue &&
                   x1.SecondType == x2.SecondType &&
                   x1.ThirdMaxValue == x2.ThirdMaxValue &&
                   x1.ThirdMinValue == x2.ThirdMinValue &&
                   x1.ThirdType == x2.ThirdType &&
                   x1.FourthMaxValue == x2.FourthMaxValue &&
                   x1.FourthMinValue == x2.FourthMinValue &&
                   x1.FourthType == x2.FourthType);
        }
        public ActionSettings CopyTo(ActionSettings actionSettings)
        {
            if (actionSettings == null)
            {
                return(null);
            }

            actionSettings.FirstMaxValue  = FirstMaxValue;
            actionSettings.FirstMinValue  = FirstMinValue;
            actionSettings.FirstType      = FirstType;
            actionSettings.SecondMaxValue = SecondMaxValue;
            actionSettings.SecondMinValue = SecondMinValue;
            actionSettings.SecondType     = SecondType;
            actionSettings.ThirdMaxValue  = ThirdMaxValue;
            actionSettings.ThirdMinValue  = ThirdMinValue;
            actionSettings.ThirdType      = ThirdType;
            actionSettings.FourthMaxValue = FourthMaxValue;
            actionSettings.FourthMinValue = FourthMinValue;
            actionSettings.FourthType     = FourthType;

            return(actionSettings);
        }