using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VSview
{
    public class AnalogValue : BaseViewModel
    {
        #region Constructors

        /// <summary>
        /// Default constructor
        /// </summary>
        public AnalogValue() { }

        /// <summary>
        /// Default constructor
        /// </summary>
        public AnalogValue(int index,string name )
        {
            Name = name;
            Index = index;
        }
        #endregion

        #region Properties

        /// <summary>
        /// Name of analog sensor
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Index of analog value
        /// </summary>
        public int Index { get; set; }

        /// <summary>
        /// Convertion type of analog
        /// </summary>
        public string ConvertionType { get; set; }

        /// <summary>
        /// Parameter A for analog convertion
        /// </summary>
        public string ParameterA { get; set; }

        /// <summary>
        /// Parameter B for analog convertion
        /// </summary>
        public string ParameterB { get; set; }

        /// <summary>
        /// Parameter C for analog convertion
        /// </summary>
        public string ParameterC { get; set; }

        /// <summary>
        /// Result of analog convertion
        /// </summary>
        public string Result { get; set; }

        /// <summary>
        /// Input analog value 
        /// </summary>
        public int Input { get; set; }
        #endregion
    }
}
