终端一体化运控平台
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

112 wiersze
3.8 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPASmartClient.JXJFoodSmallStation.Model.Siemens
  7. {
  8. public class SiemensCommAddress
  9. {
  10. #region 配方地址
  11. /// <summary>
  12. /// 配方状态
  13. /// </summary>
  14. public static string RecipeState { get; set; } = "";
  15. /// <summary>
  16. /// 配方名称
  17. /// </summary>
  18. public static string RecipeName { get; set; } = "";
  19. /// <summary>
  20. /// 配方ID
  21. /// </summary>
  22. public static string RecipeID { get; set; } = "";
  23. /// <summary>
  24. /// 原料信息
  25. /// </summary>
  26. public static string RawMaterial { get; set; } = "";
  27. #endregion
  28. #region AGV到位(与西门子PLC交互)西门子PLC ==> 上位机
  29. /// <summary>
  30. /// 托盘的位置编号
  31. /// </summary>
  32. public static string TrayLocationNum { get; set; } = "";
  33. /// <summary>
  34. /// 配方ID
  35. /// </summary>
  36. public static string TrayRecipeID { get; set; } = "";
  37. /// <summary>
  38. /// 状态信号
  39. /// </summary>
  40. public static string StateSign { get; set; } = "";
  41. /// <summary>
  42. /// Agv送货 进站申请 从西门子读取
  43. /// </summary>
  44. public static string DeliveryAGVApply { get; set; } = "";
  45. /// <summary>
  46. /// Agv送货 进站申请 写给西门子
  47. /// </summary>
  48. public static string DeliveryAGVIsApply { get; set; } = "";
  49. /// <summary>
  50. /// Agv送货 进站顶升申请 从西门子读取
  51. /// </summary>
  52. public static string DeliveryAGVApplyJack { get; set; } = "";
  53. /// <summary>
  54. /// Agv送货 进站顶升申请 写给西门子
  55. /// </summary>
  56. public static string DeliveryAGVIsApplyJack { get; set; } = "";
  57. /// <summary>
  58. /// Agv送货 送货完成 从西门子读取
  59. /// </summary>
  60. public static string DeliveryAGVFinsih { get; set; } = "";
  61. /// <summary>
  62. /// Agv送货 工位上有货架 写给西门子
  63. /// </summary>
  64. public static string StationHaveCargo { get; set; } = "";
  65. /// <summary>
  66. /// Agv送货 进站申请 从西门子读取
  67. /// </summary>
  68. public static string PickAGVApply { get; set; } = "";
  69. /// <summary>
  70. /// Agv送货 进站申请 写给西门子
  71. /// </summary>
  72. public static string PickAGVIsApply { get; set; } = "";
  73. /// <summary>
  74. /// Agv送货 取货架完成 从西门子读取
  75. /// </summary>
  76. public static string PickCargoAGVFinish { get; set; } = "";
  77. /// <summary>
  78. /// Agv送货 取料完成 写给西门子
  79. /// </summary>
  80. public static string PickAGVFinish { get; set; } = "";
  81. /// <summary>
  82. /// 工位上是否有小车
  83. /// </summary>
  84. public static string StationIsExistCar { get; set; } = "";
  85. #endregion
  86. #region Tray配料完成(与西门子PLC交互)上位机 ==> 西门子PLC
  87. public static string TrayLocationNumToSiemens { get; set; } = "";
  88. public static string TrayRecipeIDToSiemens { get; set; } = "";
  89. public static string TrayStateToSiemens { get; set; } = "";
  90. #endregion
  91. }
  92. public class RecipeRawMaterial
  93. {
  94. /// <summary>
  95. /// 原料对应的桶号
  96. /// </summary>
  97. public int[] RawMaterialBarrelNum = new int[15];
  98. /// <summary>
  99. /// 需要原料重量
  100. /// </summary>
  101. public double[] RawMaterialWeight = new double[15];
  102. /// <summary>
  103. /// 原料对应料仓的位置
  104. /// </summary>
  105. public int[] RawMaterialLocation = new int[15];
  106. }
  107. }