终端一体化运控平台
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

85 Zeilen
2.0 KiB

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