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

namespace VIZ.Framework.Core
{
    /// <summary>
    /// GPIO引脚模型
    /// </summary>
    public class GPIOPinModel : ModelBase
    {
        #region Index -- 引脚位序

        private int? index;
        /// <summary>
        /// 引脚位序
        /// </summary>
        public int? Index
        {
            get { return index; }
            set { index = value; this.RaisePropertyChanged(nameof(Index)); }
        }

        #endregion

        #region PinMask -- 引脚掩码

        private uint pinMask;
        /// <summary>
        /// 引脚掩码
        /// </summary>
        public uint PinMask
        {
            get { return pinMask; }
            set { pinMask = value; this.RaisePropertyChanged(nameof(PinMask)); }
        }

        #endregion
    }
}
