using System;
using Ebel.Hardware.Communications;

namespace HwComWrapperNETGui.UserControls
{
    /// <summary>
    ///     The <see cref="TerminationConfig"/> <see cref="EventArgs"/> class.
    /// </summary>
    public class TerminationConfigEventArgs : EventArgs
    {
        #region Constructors and Destructors

        /// <summary>
        ///     Initializes a new instance of the <see cref="TerminationConfigEventArgs"/> class.
        /// </summary>
        /// <param name="terminationConfig"> the termination configuration.</param>
        public TerminationConfigEventArgs(TerminationConfig terminationConfig)
        {
            this.terminationConfig = terminationConfig;
        }

        #endregion

        #region Public Properties

        /// <summary>
        ///     Gets the termination configuration.
        /// </summary>
        public TerminationConfig TerminationConfig
        {
            get
            {
                return this.terminationConfig;
            }
        }

        #endregion

        #region Constants and Fields

        private readonly TerminationConfig terminationConfig;

        #endregion
    }
}