using System;
using Ebel.Hardware.Communications;

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

        /// <summary>
        ///     Initializes a new instance of the <see cref="AnalyzerPersistenceControlEventArgs"/> class.
        /// </summary>
        /// <param name="channelId"> the port.</param>
        public AnalyzerPersistenceControlEventArgs(PersistenceCommand persistenceCmd)
        {
            this.persistenceCmd = persistenceCmd;
        }

        #endregion

        #region Public Properties

        /// <summary>
        ///     Gets the port.
        /// </summary>
        public PersistenceCommand PersistenceCmd
        {
            get
            {
                return this.persistenceCmd;
            }
        }

        #endregion

        #region Constants and Fields

        private readonly PersistenceCommand persistenceCmd;

        #endregion
    }
}