终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

50 lines
1.5 KiB

  1. using BPA.Message;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPASmartClient.MorkBF.Model
  8. {
  9. public class DataReport
  10. {
  11. /// <summary>
  12. /// 炒锅1工艺状态
  13. /// </summary>
  14. public int FirePot1_PotState { get; set; } = 0;
  15. /// <summary>
  16. /// 炒锅2工艺状态
  17. /// </summary>
  18. public int FirePot2_PotState { get; set; } = 0;
  19. public List<ProcessModel> processModels = new List<ProcessModel>();
  20. public DataReport()
  21. {
  22. processModels.Add( new ProcessModel() { Id = 0, Name = "开始", Status = ProcessStatus.未执行 });
  23. processModels.Add(new ProcessModel() { Id = 1, Name = "热油", Status = ProcessStatus.未执行 });
  24. processModels.Add(new ProcessModel() { Id = 2, Name = "炒制", Status = ProcessStatus.未执行 });
  25. processModels.Add(new ProcessModel() { Id = 3, Name = "完成", Status = ProcessStatus.未执行 });
  26. processModels.Add(new ProcessModel() { Id = 4, Name = "出餐", Status = ProcessStatus.未执行 });
  27. }
  28. }
  29. public enum PotState
  30. {
  31. 无任务=0,
  32. 炒锅预热中 =1,
  33. 开始抽油=2,
  34. 油预热中=3,
  35. 荤菜炒制中 =4,
  36. 调料炒制中=5,
  37. 素菜炒制中=6,
  38. 辅料炒制中=7,
  39. 关火焖制中=8,
  40. 炒制完成=9,
  41. 出餐完成=10,
  42. }
  43. }