
namespace VSview
{
    public class RejectModel : BaseViewModel
    {
        #region Constructors
        /// <summary>
        /// Default constructor
        /// </summary>
        public RejectModel() { }
        #endregion

        #region Public properties
        private string _value;
        /// <summary>
        /// Value of reject point
        /// </summary>
        public string Value
        {
            get { return _value; }
            set { _value = value; }
        }

        /// <summary>
        /// State of reject point - 1 active, 0 - inactive
        /// </summary>
        public bool State { get; set; }

        /// <summary>
        /// Setpoint orientation of reject point - true - reacts to higher value
        /// </summary>
        public bool IsHigh { get; set; }

        /// <summary>
        /// Setpoint orientation of reject point - true - reacts to lower value      
        /// </summary>
        public bool IsLow { get; set; }

        /// <summary>
        /// Property storing activity state of reject
        /// </summary>
        public bool IsActive { get; set; }

        /// <summary>
        /// Property indicating if reject is set for leak values
        /// </summary>
        public bool IsLeak { get; set; }

        /// <summary>
        /// Property indicating is set for pressure values
        /// </summary>
        public bool IsPressure { get; set; }

        #endregion
    }
}
