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

97 lines
2.8 KiB

  1. using BPASmartClient.S7Net;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPASmartClient.JXJFoodSmallStation.Model.Siemens
  8. {
  9. public class XL_Status_DB
  10. {
  11. /// <summary>
  12. /// 配料开始确认
  13. /// </summary>
  14. public bool Dosing_Confirm { get; set; }
  15. /// <summary>
  16. /// AGV请求放货架
  17. /// </summary>
  18. public bool AgvRequestPut { get; set; }
  19. /// <summary>
  20. /// AGV请求取货架
  21. /// </summary>
  22. public bool AgvRequestGet { get; set; }
  23. /// <summary>
  24. /// Agv放托盘完成
  25. /// </summary>
  26. public short AgvFinishPut { get; set; }
  27. /// <summary>
  28. /// AGV取托盘完成
  29. /// </summary>
  30. public short AgvFinishGet { get; set; }
  31. /// <summary>
  32. /// AGV取放位置
  33. /// </summary>
  34. public short AgvGetPutPos { get; set; }
  35. /// <summary>
  36. /// 备用
  37. /// </summary>
  38. public short[] Standby { get; set; } = new short[1];
  39. [Siemens(16)]
  40. /// <summary>
  41. /// 生产工单
  42. /// </summary>
  43. public string Order_No { get; set; } = "";
  44. /// <summary>
  45. /// 配料开始
  46. /// </summary>
  47. public bool Dosing_Start { get; set; }
  48. /// <summary>
  49. /// 工位允许放货架
  50. /// </summary>
  51. public bool StationAllowPut { get; set; }
  52. /// <summary>
  53. /// 工位允许取货架
  54. /// </summary>
  55. public bool StationAllowGet { get; set; }
  56. /// <summary>
  57. /// 工位允许取空货架
  58. /// </summary>
  59. public bool StationAllowGetEmpty { get; set; }
  60. /// <summary>
  61. /// 允许AGV到工站取放粉料
  62. /// </summary>
  63. public bool Allow_AGV_Put_Get_FL { get; set; }
  64. public PowderStatus[] Powder { get; set; } = new PowderStatus[10];
  65. /// <summary>
  66. /// 托盘占用情况
  67. /// </summary>
  68. public short TrayUse { get; set; }
  69. /// <summary>
  70. /// 托盘使用情况
  71. /// </summary>
  72. public short Permit_Pos { get; set; }
  73. /// <summary>
  74. /// 备用
  75. /// </summary>
  76. public short[] StandbyStatus { get; set; } = new short[3];
  77. }
  78. public class PowderStatus
  79. {
  80. /// <summary>
  81. /// 粉料名称
  82. /// </summary>
  83. [Siemens(6)]
  84. public string Powder_Name { get; set; } = "";
  85. /// <summary>
  86. /// 粉料仓剩余重量
  87. /// </summary>
  88. public float Powder_Weight { get; set; }
  89. /// <summary>
  90. /// 粉料仓下料重量
  91. /// </summary>
  92. public float Powder_LayingOff_Weight { get; set; }
  93. }
  94. }