using Microsoft.Toolkit.Mvvm.ComponentModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FryPot_DosingSystem.Model { internal class FlowProcessModel:ObservableObject,ICloneable { ///// ///// 工艺步骤对应名称 ///// //public string ProcessName { get { return _processName; }set { _processName = value;OnPropertyChanged(); } } //private string _processName; ///// ///// 工艺步骤 ///// //public int Id { get; set; } /// /// 炒制原料/桶号 /// public string FryMaterialNum { get { return _fryMaterialNum; } set { _fryMaterialNum = value;OnPropertyChanged(); } } private string _fryMaterialNum; /// /// 炒制速度 /// public double FrySpeed { get { return _frySpeed; }set { _frySpeed = value;OnPropertyChanged(); } } private double _frySpeed; /// /// 添加重量 /// public double FryWeight { get { return _fryMaterialWeight; } set { _fryMaterialWeight = value; OnPropertyChanged(); } } private double _fryMaterialWeight; /// /// 目标重量 /// public double TargeWeight { get { return _targetWeight; }set { _targetWeight = value;OnPropertyChanged(); } } private double _targetWeight; /// /// 炒制温度 /// public double FryTemperature { get { return _fryTemperature; } set { _fryTemperature = value;OnPropertyChanged(); } } private double _fryTemperature; /// /// 炒制时间 /// public double FryPeriodTime { get { return _fryPeriodTime; } set { _fryPeriodTime = value;OnPropertyChanged(); } } private double _fryPeriodTime; /// /// 小火比例 /// public double SmallFirePercent { get { return _smallFirePercent; } set { _smallFirePercent = value; OnPropertyChanged(); } } private double _smallFirePercent; /// /// 中火比例 /// public double MidFirePercent { get { return _midFirePercent; } set { _midFirePercent = value; OnPropertyChanged(); } } private double _midFirePercent; /// /// 大火比例 /// public double BigFirePercent { get { return _bigFirePercent; } set { _bigFirePercent = value; OnPropertyChanged(); } } private double _bigFirePercent; /// /// 强火比例 /// public double StrongFirePercent { get { return _strongFilePercent; } set { _strongFilePercent = value; OnPropertyChanged(); } } private double _strongFilePercent; public object Clone() { return MemberwiseClone(); } } }