using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Core;

namespace VIZ.Framework.Domain
{
    /// <summary>
    /// 系统监控GPU模型
    /// </summary>
    public class SystemMonitorGpuModel : ModelBase
    {
        #region Physics -- 物理GPU编号

        private int physics;
        /// <summary>
        /// 物理GPU编号
        /// </summary>
        public int Physics
        {
            get { return physics; }
            set { physics = value; this.RaisePropertyChanged(nameof(Physics)); }
        }

        #endregion

        #region UsedPercentage -- 使用率

        private double usedPercentage;
        /// <summary>
        /// 使用率
        /// </summary>
        public double UsedPercentage
        {
            get { return usedPercentage; }
            set { usedPercentage = value; this.RaisePropertyChanged(nameof(UsedPercentage)); }
        }

        #endregion
    }
}
