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

104 lines
3.1 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 Dictionary<string, PolymerBatching> batchings = new Dictionary<string, PolymerBatching>();
  29. /// <summary>
  30. /// 当前正在制作咖啡
  31. /// </summary>
  32. public OrderLocInfo MakeCoffeeOrder = new OrderLocInfo();
  33. /// <summary>
  34. /// 咖啡机位置是否有咖啡在制作中
  35. /// </summary>
  36. public bool IsCoffeeMake = false;
  37. /// <summary>
  38. /// 冰淇淋机器出料口传感器检测
  39. /// </summary>
  40. public bool IceIsOK = true;
  41. #region
  42. [VariableMonitor("机器人连接状态")]
  43. public bool RobotIsConnected { get; set; }
  44. [VariableMonitor("机器人状态")]
  45. public ELebaiRModel RobotMode { get; set; }
  46. [VariableMonitor("冰淇淋连接状态")]
  47. public bool IceCreamIsConnected { get; set; }
  48. [VariableMonitor("冰淇淋机器预冷温度")]
  49. public short YLWD { get; set; }
  50. [VariableMonitor("冰淇淋机器回气温度")]
  51. public short HQWD { get; set; }
  52. [VariableMonitor("冰淇淋机器环境温度")]
  53. public short HJWD { get; set; }
  54. [VariableMonitor("冰淇淋机器电流")]
  55. public short DL { get; set; }
  56. [VariableMonitor("冰淇淋机器电压")]
  57. public short DY { get; set; }
  58. [VariableMonitor("冰淇淋机器成型比")]
  59. public byte CBX { get; set; }
  60. [VariableMonitor("冰淇淋机器模式")]
  61. public MORKI_MODE IceCreamMode { get; set; }
  62. [VariableMonitor("冰淇淋机器故障")]
  63. public MORKI_FAULT IceCreamFault { get; set; }
  64. [VariableMonitor("冰淇淋机器打料完成")]
  65. public bool DLCompleted { get; set; }
  66. [VariableMonitor("咖啡机连接状态")]
  67. public bool CoffeeIsConnected { get; set; }
  68. [VariableMonitor("咖啡机状态")]
  69. public DrCoffeeStatus DrCoffeeStatus { get; set; }
  70. [VariableMonitor("咖啡机应用状态")]
  71. public DrCoffeeAppStatus CoffeeAppStatus { get; set; }
  72. [VariableMonitor("咖啡机告警")]
  73. public DrCoffeeWarning CoffeeWarning { get; set; }
  74. [VariableMonitor("咖啡机故障")]
  75. public DrCoffeeFault CaffeeFault { get; set; }
  76. #endregion
  77. }
  78. }