using System;
using Ebel.Hardware.Communications;

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

        /// <summary>
        ///     Initializes a new instance of the <see cref="WakeupSleepConfigEventArgs"/> class.
        /// </summary>
        /// <param name="wakeupSleepConfig"> the wakeup/sleep configuration.</param>
        public WakeupSleepConfigEventArgs(WakeupSleepConfig wakeupSleepConfig)
        {
            this.wakeupSleepConfig = wakeupSleepConfig;
        }

        #endregion

        #region Public Properties

        /// <summary>
        ///     Gets the wakeup/sleep configuration.
        /// </summary>
        public WakeupSleepConfig WakeupSleepConfig
        {
            get
            {
                return this.wakeupSleepConfig;
            }
        }

        #endregion

        #region Constants and Fields

        private readonly WakeupSleepConfig wakeupSleepConfig;

        #endregion
    }
}