using System;
using Ebel.Hardware.Communications;

namespace HwComWrapperNETGui.UserControls
{
    /// <summary>
    ///     The reset all filters <see cref="EventArgs"/> class.
    /// </summary>
    public class ResetAllFiltersEventArgs : EventArgs
    {
        #region Constructors and Destructors

        /// <summary>
        ///     Initializes a new instance of the <see cref="ResetAllFiltersEventArgs"/> class.
        /// </summary>
        /// <param name="busType"> the bus type.</param>
        /// <param name="channelId"> the channel id.</param>
        public ResetAllFiltersEventArgs(BusTypes busType, byte channelId)
        {
            this.busType = busType;
            this.channelId = channelId;
        }

        #endregion

        #region Public Properties

        /// <summary>
        ///     Gets the bus type.
        /// </summary>
        public BusTypes BusType
        {
            get
            {
                return this.busType;
            }
        }

        /// <summary>
        ///     Gets the channel id.
        /// </summary>
        public byte ChannelId
        {
            get
            {
                return this.channelId;
            }
            set
            {
                this.channelId = value;
            }
        }

        #endregion

        #region Constants and Fields

        private readonly BusTypes busType;
        private  byte channelId;

        #endregion
    }
}