using System;
using Ebel.Hardware.Communications;

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

        /// <summary>
        ///     Initializes a new instance of the <see cref="SoftwareSleepConfigEventArgs"/> class.
        /// </summary>
        /// <param name="softwareSleepConfig"> the software sleep configuration.</param>
        public SoftwareSleepConfigEventArgs(SoftwareSleepConfig softwareSleepConfig)
        {
            this.softwareSleepConfig = softwareSleepConfig;
        }

        #endregion

        #region Public Properties

        /// <summary>
        ///     Gets the software sleep configuration.
        /// </summary>
        public SoftwareSleepConfig SoftwareSleepConfig
        {
            get
            {
                return this.softwareSleepConfig;
            }
        }

        #endregion

        #region Constants and Fields

        private readonly SoftwareSleepConfig softwareSleepConfig;

        #endregion
    }
}