|
- 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<FryPotProcess> fryPotProcesses { get; set; } = new List<FryPotProcess>();
- /// <summary>
- /// 翻转速度0到800
- /// </summary>
- public int TurnSpeed { get; set; } = 0;
- /// <summary>
- /// 关火翻炒时间;
- /// </summary>
- public int FryOffStirTime;
- }
-
- public class FryPotProcess:NotifyBase
- {
- /// <summary>
- /// 步骤
- /// </summary>
- public int FryTime { get { return _fryTime; } set { _fryTime = value; OnPropertyChanged(); } }
- private int _fryTime;
- /// <summary>
- /// 动作
- /// </summary>
- public FryAction fryActions { get; set; }
- /// <summary>
- /// 加热时间 单位s
- /// </summary>
- public int FryDuration { get; set; } = 0;
- /// <summary>
- /// 加热挡位 1-5
- /// </summary>
- public int FryGear { get; set; } = 0;
- /// <summary>
- /// 搅拌挡位 小炒1-10 大炒1-5
- /// </summary>
- public int StirGear { get; set; } = 0;
-
- /// <summary>
- /// 炒制位置1到4
- /// </summary>
- public int FryPosition { get; set; }
- /// <summary>
- /// 辅料,调料,或者菜品集合
- /// </summary>
- public List<Accessories> accessories { get; set; } = new List<Accessories>();
-
- }
-
- public class Accessories
- {
- /// <summary>
- /// 位置
- /// </summary>
- public int Loc { get; set; }
- /// <summary>
- /// 重量
- /// </summary>
- public int Qry { get; set; }
- }
-
- public enum FryAction
- {
- 冷锅加热,
- 热油,
- 机器人加调料,
- 通道出调料,
- 炒制菜品,
-
- }
-
- public enum FryRepot
- {
- 开始,
- 热锅,
- 炒菜,
- 出餐,
- 完成,
- }
- }
|