using BPA.Helper; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.Model.大炒 { public class FryPotMessages { public string GoodName { get; set; } public string GoodKey { get; set; } public List fryPotProcesses { get; set; } = new List(); /// /// 翻转速度0到800 /// public int TurnSpeed { get; set; } = 0; /// /// 关火翻炒时间; /// public int FryOffStirTime; } public class FryPotProcess:NotifyBase { /// /// 步骤 /// public int FryTime { get { return _fryTime; } set { _fryTime = value; OnPropertyChanged(); } } private int _fryTime; /// /// 动作 /// public FryAction fryActions { get; set; } /// /// 加热时间 单位s /// public int FryDuration { get; set; } = 0; /// /// 加热挡位 1-5 /// public int FryGear { get; set; } = 0; /// /// 搅拌挡位 小炒1-10 大炒1-5 /// public int StirGear { get; set; } = 0; /// /// 炒制位置1到4 /// public int FryPosition { get; set; } /// /// 辅料,调料,或者菜品集合 /// public List accessories { get; set; } = new List(); } public class Accessories { /// /// 位置 /// public int Loc { get; set; } /// /// 重量 /// public int Qry { get; set; } } public enum FryAction { 冷锅加热, 热油, 机器人加调料, 通道出调料, 炒制菜品, } public enum FryRepot { 开始, 热锅, 炒菜, 出餐, 完成, } }