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

92 rivejä
2.6 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 StationAllowGet { get; set; }
  52. /// <summary>
  53. /// 工位允许放货架
  54. /// </summary>
  55. public bool StationAllowPut { get; set; }
  56. /// <summary>
  57. /// 工位允许取空货架
  58. /// </summary>
  59. public bool StationAllowGetEmpty { get; set; }
  60. public PowderStatus[] Powder { get; set; } = new PowderStatus[10];
  61. /// <summary>
  62. /// 托盘占用情况
  63. /// </summary>
  64. public short TrayUse { get; set; }
  65. /// <summary>
  66. /// 托盘占用情况
  67. /// </summary>
  68. public short Permit_Pos { get; set; }
  69. /// <summary>
  70. /// 备用
  71. /// </summary>
  72. public short[] StandbyStatus { get; set; } = new short[3];
  73. }
  74. public class PowderStatus
  75. {
  76. /// <summary>
  77. /// 粉料名称
  78. /// </summary>
  79. [Siemens(6)]
  80. public string Powder_Name { get; set; }
  81. /// <summary>
  82. /// 粉料仓剩余重量
  83. /// </summary>
  84. public float Powder_Weight { get; set; }
  85. /// <summary>
  86. /// 粉料仓下料重量
  87. /// </summary>
  88. public float Powder_LayingOff_Weight { get; set; }
  89. }
  90. }