using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Models
{
    [Serializable]
    public class SampleBottleTemperatureModel : ObservableObject
    {
        private double rate = 0;
        /// <summary>
        /// 震荡频率
        /// </summary>
        public double Speed
        {
            get { return rate; }
            set => SetProperty(ref rate, value);
        }

        private double time = 0;
        /// <summary>
        /// 时间(设备到目标温度后，再开始算时间),单位是min
        /// </summary>
        public double Time
        {
            get => time;
            set
            {
                SetProperty(ref time, value);
            }
        }

        private double targetTemperature = 150;
        /// <summary>
        /// 目标温度
        /// </summary>
        public double TargetTemperature
        {
            get => targetTemperature;
            set
            {
                SetProperty(ref targetTemperature, value);
            }
        }
    }
}
