using System;
using Ebel.Hardware.Communications;

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

        /// <summary>
        ///     Initializes a new instance of the <see cref="DeviceNameEventArgs"/> class.
        /// </summary>
        /// <param name="wifiConfig">The WiFi config.</param>
        public WifiConfigEventArgs(WifiConfig wifiConfig)
        {
            this.config = wifiConfig;
        }

        #endregion

        #region Public Properties

        /// <summary>
        ///     Gets the Wifi Mode.
        /// </summary>
        public WifiConfig WifiConfig
        {
            get
            {
                return this.config;
            }
        }

        #endregion

        #region Constants and Fields

        private readonly WifiConfig config;

        #endregion
    }
}