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

110 line
3.9 KiB

  1. using BPASmartClient.Model;
  2. using BPASmartClient.MorkMW.Model;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Collections.ObjectModel;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace BPASmartClient.MorkMW
  10. {
  11. public class GVL_MorkMW
  12. {
  13. #region 机器人信号
  14. [Varibles("RobotIdle", "初始化位置", "M105", "4201")]
  15. /// <summary>
  16. /// 机器人空闲信号
  17. /// </summary>
  18. public bool RobotIdle { get; set; }
  19. [Varibles("TakeWinkOneComplete", "1号接酒完成", "M510", "4606")]
  20. public bool TakeWinkOneComplete { get; set; }
  21. [Varibles("TakeWinkTwoComplete", "2号接酒完成", "M511", "4607")]
  22. public bool TakeWinkTwoComplete { get; set; }
  23. [Varibles("TakeWinkThreeComplete", "3号接酒完成", "M512", "4608")]
  24. public bool TakeWinkThreeComplete { get; set; }
  25. [Varibles("TakeWinkFourComplete", "4号接酒完成", "M513", "4609")]
  26. public bool TakeWinkFourComplete { get; set; }
  27. [Varibles("TakeWinkFiveComplete", "5号接酒完成", "M514", "4610")]
  28. public bool TakeWinkFiveComplete { get; set; }
  29. [Varibles("TakeWinkSixComplete", "6号接酒完成", "M515", "4611")]
  30. public bool TakeWinkSixComplete { get; set; }
  31. [Varibles("ArriveWinkOneLoc", "到达1号接酒位置", "M520", "4616")]
  32. public bool ArriveWinkOneLoc { get; set; }
  33. [Varibles("ArriveWinkTwoLoc", "到达2号接酒位置", "M521", "4617")]
  34. public bool ArriveWinkTwoLoc { get; set; }
  35. [Varibles("ArriveWinkThreeLoc", "到达3号接酒位置", "M522", "4618")]
  36. public bool ArriveWinkThreeLoc { get; set; }
  37. [Varibles("ArriveWinkFourLoc", "到达4号接酒位置", "M523", "4619")]
  38. public bool ArriveWinkFourLoc { get; set; }
  39. [Varibles("ArriveWinkFiveLoc", "到达5号接酒位置", "M524", "4620")]
  40. public bool ArriveWinkFiveLoc { get; set; }
  41. [Varibles("ArriveWinkSixLoc", "到达6号接酒位置", "M525", "4621")]
  42. public bool ArriveWinkSixLoc { get; set; }
  43. [Varibles("CupSignal", "放杯处传感器信号", "X0", "0")]
  44. /// <summary>
  45. /// 放杯处传感器信号
  46. /// </summary>
  47. public bool CupSignal { get; set; }
  48. [Varibles("MixWinkComplte", "摇酒完成信号", "M516", "4612")]
  49. /// <summary>
  50. /// 摇酒完成信号
  51. /// </summary>
  52. public bool MixWinkComplte { get; set; }
  53. [Varibles("ProcessComplete", "倒酒完成信号", "M517", "4613")]
  54. /// <summary>
  55. /// 机器人倒完酒并回到初始位的完成信号
  56. /// </summary>
  57. public bool ProcessComplete { get; set; }
  58. #endregion
  59. #region 流程控制
  60. /// <summary>
  61. /// 任务锁
  62. /// </summary>
  63. public bool TaskLock { get; set; }
  64. /// <summary>
  65. /// 接酒完成
  66. /// </summary>
  67. public bool AllowMixWink { get; set; }
  68. /// <summary>
  69. /// 调酒完成
  70. /// </summary>
  71. public bool AllowPourWink { get; set; }
  72. /// <summary>
  73. /// 倒酒结束标志
  74. /// </summary>
  75. public bool PourWinkComplete { get; set; }
  76. #endregion
  77. /// <summary>
  78. /// 允许本地下单
  79. /// </summary>
  80. public static bool AllowLocalSimOrder { get; set; }
  81. /// <summary>
  82. /// 订单集合
  83. /// </summary>
  84. public List<DoOrderEvent> doOrderEvents { get; set; } = new List<DoOrderEvent>();
  85. /// <summary>
  86. /// 历史订单号
  87. /// </summary>
  88. public List<string> historySuborderId = new List<string>();
  89. /// <summary>
  90. /// 当前订单号
  91. /// </summary>
  92. public string CurrentSuborderId { get; set; }
  93. /// <summary>
  94. ///
  95. /// </summary>
  96. public static ObservableCollection<VaribleModel> varibleInfos = new ObservableCollection<VaribleModel>();
  97. }
  98. }