|
- using BPA.Message;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPASmartClient.MorkBF.Model
- {
- public class DataReport
- {
- /// <summary>
- /// 炒锅1工艺状态
- /// </summary>
- public int FirePot1_PotState { get; set; } = 0;
- /// <summary>
- /// 炒锅2工艺状态
- /// </summary>
- public int FirePot2_PotState { get; set; } = 0;
-
- public List<ProcessModel> processModels = new List<ProcessModel>();
-
- public DataReport()
- {
- processModels.Add( new ProcessModel() { Id = 0, Name = "开始", Status = ProcessStatus.未执行 });
- processModels.Add(new ProcessModel() { Id = 1, Name = "热油", Status = ProcessStatus.未执行 });
- processModels.Add(new ProcessModel() { Id = 2, Name = "炒制", Status = ProcessStatus.未执行 });
- processModels.Add(new ProcessModel() { Id = 3, Name = "完成", Status = ProcessStatus.未执行 });
- processModels.Add(new ProcessModel() { Id = 4, Name = "出餐", Status = ProcessStatus.未执行 });
-
- }
-
- }
-
- public enum PotState
- {
- 无任务=0,
- 炒锅预热中 =1,
- 开始抽油=2,
- 油预热中=3,
- 荤菜炒制中 =4,
- 调料炒制中=5,
- 素菜炒制中=6,
- 辅料炒制中=7,
- 关火焖制中=8,
- 炒制完成=9,
- 出餐完成=10,
- }
- }
|