终端一体化运控平台
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

91 righe
2.2 KiB

  1. using BPA.Helper;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPASmartClient.Model.大炒
  8. {
  9. public class FryPotMessages
  10. {
  11. public string GoodName { get; set; }
  12. public string GoodKey { get; set; }
  13. public List<FryPotProcess> fryPotProcesses { get; set; } = new List<FryPotProcess>();
  14. /// <summary>
  15. /// 翻转速度0到800
  16. /// </summary>
  17. public int TurnSpeed { get; set; } = 0;
  18. /// <summary>
  19. /// 关火翻炒时间;
  20. /// </summary>
  21. public int FryOffStirTime;
  22. }
  23. public class FryPotProcess:NotifyBase
  24. {
  25. /// <summary>
  26. /// 步骤
  27. /// </summary>
  28. public int FryTime { get { return _fryTime; } set { _fryTime = value; OnPropertyChanged(); } }
  29. private int _fryTime;
  30. /// <summary>
  31. /// 动作
  32. /// </summary>
  33. public FryAction fryActions { get; set; }
  34. /// <summary>
  35. /// 加热时间 单位s
  36. /// </summary>
  37. public int FryDuration { get; set; } = 0;
  38. /// <summary>
  39. /// 加热挡位 1-5
  40. /// </summary>
  41. public int FryGear { get; set; } = 0;
  42. /// <summary>
  43. /// 搅拌挡位 小炒1-10 大炒1-5
  44. /// </summary>
  45. public int StirGear { get; set; } = 0;
  46. /// <summary>
  47. /// 炒制位置1到4
  48. /// </summary>
  49. public int FryPosition { get; set; }
  50. /// <summary>
  51. /// 辅料,调料,或者菜品集合
  52. /// </summary>
  53. public List<Accessories> accessories { get; set; } = new List<Accessories>();
  54. }
  55. public class Accessories
  56. {
  57. /// <summary>
  58. /// 位置
  59. /// </summary>
  60. public int Loc { get; set; }
  61. /// <summary>
  62. /// 重量
  63. /// </summary>
  64. public int Qry { get; set; }
  65. }
  66. public enum FryAction
  67. {
  68. 冷锅加热,
  69. 热油,
  70. 机器人加调料,
  71. 通道出调料,
  72. 炒制菜品,
  73. }
  74. public enum FryRepot
  75. {
  76. 开始,
  77. 热锅,
  78. 炒菜,
  79. 出餐,
  80. 完成,
  81. }
  82. }