终端一体化运控平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GVL_MorkMW.cs 3.9 KiB

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