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

80 rivejä
2.1 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.JXJFoodBigStation.Model.Siemens
  8. {
  9. internal class DL_Start_DB
  10. {
  11. [Siemens(16)]
  12. /// <summary>
  13. /// 配方编码
  14. /// </summary>
  15. public string RecipeCode { get; set; }
  16. [Siemens(16)]
  17. /// <summary>
  18. /// 配发名称
  19. /// </summary>
  20. public string RecipeName { get; set; }
  21. /// <summary>
  22. /// 工位号
  23. /// </summary>
  24. public short Job_No { get; set; }
  25. /// <summary>
  26. /// 托盘号
  27. /// </summary>
  28. public short Pallet_No { get; set; }
  29. /// <summary>
  30. /// 物料信息
  31. /// </summary>
  32. public UDT[] Material { get; set; } = new UDT[20];
  33. /// <summary>
  34. /// 订单类型(0.其他、 1.洗锅)
  35. /// </summary>
  36. public bool Order_Type { get; set; }
  37. /// <summary>
  38. /// 订单请求确认
  39. /// </summary>
  40. public bool Order_Request_Ack { get; set; }
  41. /// <summary>
  42. /// 订单取消
  43. /// </summary>
  44. public bool Order_Cancel { get; set; }
  45. /// <summary>
  46. /// 备用
  47. /// </summary>
  48. public short[] Standby { get; set; } = new short[4];
  49. /// <summary>
  50. /// 配方发送请求
  51. /// </summary>
  52. public bool Order_Request { get; set; }
  53. /// <summary>
  54. /// 订单取消回复
  55. /// </summary>
  56. public bool Order_Cancel_Ack { get; set; }
  57. /// <summary>
  58. /// 备用
  59. /// </summary>
  60. public short[] Standby1 { get; set; } = new short[4];
  61. }
  62. public class UDT
  63. {
  64. [Siemens(6)]
  65. /// <summary>
  66. /// 原料名称
  67. /// </summary>
  68. public string Material_Name { get; set; }
  69. /// <summary>
  70. /// 原料重量
  71. /// </summary>
  72. public float Material_Weight { get; set; }
  73. /// <summary>
  74. /// 原料桶号
  75. /// </summary>
  76. public short Material_BarrelNum { get; set; }
  77. }
  78. }