终端一体化运控平台
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.
 
 
 

119 line
3.5 KiB

  1. using BPASmartClient.Device;
  2. using BPASmartClient.DRCoffee;
  3. using BPASmartClient.GSIceCream;
  4. using BPASmartClient.LebaiRobot;
  5. using BPASmartClient.Model.冰淇淋.Enum;
  6. using Robotc;
  7. using System;
  8. using System.Collections.Concurrent;
  9. using System.Collections.Generic;
  10. using System.Linq;
  11. using System.Text;
  12. using System.Threading.Tasks;
  13. namespace BPASmartClient.MorkT
  14. {
  15. public class GLV_MorkT:IStatus
  16. {
  17. /// <summary>
  18. /// 咖啡订单队列
  19. /// </summary>
  20. public ConcurrentQueue<OrderLocInfo> morkOrderPushesCoffee = new ConcurrentQueue<OrderLocInfo>();
  21. /// <summary>
  22. /// 冰淇淋订单队列
  23. /// </summary>
  24. public ConcurrentQueue<OrderLocInfo> morkOrderPushesIceCream = new ConcurrentQueue<OrderLocInfo>();
  25. /// <summary>
  26. /// 等待取餐订单
  27. /// </summary>
  28. public OrderLocInfo waitMorkOrder = null;
  29. /// <summary>
  30. /// 物料存放位置
  31. /// </summary>
  32. public Dictionary<string, PolymerBatching> batchings = new Dictionary<string, PolymerBatching>();
  33. /// <summary>
  34. /// 当前正在制作咖啡
  35. /// </summary>
  36. public OrderLocInfo MakeCoffeeOrder = new OrderLocInfo();
  37. /// <summary>
  38. /// 咖啡机位置是否有咖啡在制作中
  39. /// </summary>
  40. public bool IsCoffeeMake = false;
  41. /// <summary>
  42. /// 冰淇淋机器出料口传感器检测
  43. /// </summary>
  44. public bool IceIsOK = true;
  45. /// <summary>
  46. /// 去咖啡杯成功
  47. /// </summary>
  48. public bool GetCoffeeCup;
  49. /// <summary>
  50. /// 取冰淇淋杯成功
  51. /// </summary>
  52. public bool GetIceCreamCup;
  53. #region
  54. [VariableMonitor("机器人连接状态")]
  55. public bool RobotIsConnected { get; set; }
  56. [VariableMonitor("机器人状态")]
  57. public ELebaiRModel RobotMode { get; set; }
  58. [VariableMonitor("冰淇淋连接状态")]
  59. public bool IceCreamIsConnected { get; set; }
  60. [VariableMonitor("冰淇淋机器预冷温度")]
  61. public short YLWD { get; set; }
  62. [VariableMonitor("冰淇淋机器回气温度")]
  63. public short HQWD { get; set; }
  64. [VariableMonitor("冰淇淋机器环境温度")]
  65. public short HJWD { get; set; }
  66. [VariableMonitor("冰淇淋机器电流")]
  67. public short DL { get; set; }
  68. [VariableMonitor("冰淇淋机器电压")]
  69. public short DY { get; set; }
  70. [VariableMonitor("冰淇淋机器成型比")]
  71. public byte CBX { get; set; }
  72. [VariableMonitor("冰淇淋机器模式")]
  73. public MORKI_MODE IceCreamMode { get; set; }
  74. [VariableMonitor("冰淇淋机器故障")]
  75. public MORKI_FAULT IceCreamFault { get; set; }
  76. [VariableMonitor("冰淇淋机器打料完成")]
  77. public bool DLCompleted { get; set; }
  78. [VariableMonitor("咖啡机连接状态")]
  79. public bool CoffeeIsConnected { get; set; }
  80. [VariableMonitor("咖啡机状态")]
  81. public DrCoffeeStatus DrCoffeeStatus { get; set; }
  82. [VariableMonitor("咖啡机应用状态")]
  83. public DrCoffeeAppStatus CoffeeAppStatus { get; set; }
  84. [VariableMonitor("咖啡机告警")]
  85. public DrCoffeeWarning CoffeeWarning { get; set; }
  86. [VariableMonitor("咖啡机故障")]
  87. public DrCoffeeFault CaffeeFault { get; set; }
  88. [VariableMonitor("单片机连接状态")]
  89. public bool SCChipIsConnect { get; set; }
  90. #endregion
  91. }
  92. }