using System.Collections.Generic;
using System.Collections.ObjectModel;

namespace VSview
{
    public class TurckSettings : BaseViewModel
    {

        #region Constructors
        /// <summary>
        /// Default constructor
        /// </summary>
        public TurckSettings()
        {
            TurckTypes = new ObservableCollection<string>()
            {
                "Turck - S1 - 8DIP",
                "Turck - S1 - 8DIP - D",
                "Turck - S1 - 8DOP",
                "Turck - S1 - 4DIP - 4DOP",
                "Turck - S1 - 8DXP",
                "Turck - S2 - 4AI",
                "Turck - S2 - 4AO"
            };
        }
        #endregion

        #region Public properties

        /// <summary>
        /// Property storing connection status - 1 connected, 0 - disconnected
        /// </summary>
        public int IsConnected { get; set; }

        /// <summary>
        /// Is connecting using IP
        /// </summary>
        public int IsConnectingIP { get; set; }

        /// <summary>
        /// Is connecting using MAC
        /// </summary>
        public int IsConnectingMAC { get; set; }

        /// <summary>
        /// Property for storing Turck module IP address
        /// </summary>
        public string IPAddress { get; set; }

        /// <summary>
        /// Property for storing Turck module MAC address
        /// </summary>
        public string MACAddress { get; set; }

        /// <summary>
        /// Property for storing turck selection index
        /// </summary>
        public int TurckSelection { get; set; }

        /// <summary>
        /// Collection of turck types 
        /// </summary>
        public ObservableCollection<string> TurckTypes { get; set; }

        #endregion

    }
}
