IRGV521.cs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace WCS.Entity.Protocol
  7. {
  8. /// <summary>
  9. /// 54
  10. /// </summary>
  11. public interface IRGV521 : IProtocol
  12. {
  13. int TaskID { get; set; }
  14. RGVTaskType TaskType { get; set; }
  15. /// <summary>
  16. /// 起始地址
  17. /// </summary>
  18. short StartPosition { get; set; }
  19. /// <summary>
  20. /// 目标地址
  21. /// </summary>
  22. short DestPosition { get; set; }
  23. short PRIORITY { get; set; }
  24. [IgnoreChanging]
  25. /// <summary>
  26. /// 实际速度
  27. /// </summary>
  28. short ACT_V { get; set; }
  29. short RES2 { get; set; }
  30. bool PH_Status { get; set; }
  31. bool ToSition { get; set; }
  32. bool Finish { get; set; }
  33. RGVRunStatus SystemStatus { get; set; }
  34. RGVMode WorkMode { get; set; }
  35. short RES { get; set; }
  36. [IgnoreChanging]
  37. float Position { get; set; }
  38. [IgnoreChanging]
  39. float Mileage { get; set; }
  40. [IgnoreChanging]
  41. float Runtime { get; set; }
  42. }
  43. public enum RGVRunStatus : short
  44. {
  45. 空闲 = 1,
  46. 取货移动 = 2,
  47. 取货 = 3,
  48. 放货移动 = 4,
  49. 放货 = 5
  50. }
  51. public enum RGVMode : short
  52. {
  53. 自动 = 1,
  54. 半自动 = 2,
  55. 手动 = 3,
  56. 维护 = 4
  57. }
  58. public enum RGVTaskType : short
  59. {
  60. 搬运 = 1,
  61. 移动 = 3
  62. }
  63. }