终端一体化运控平台
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 lines
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.JXJFoodSmallStation.Model.Siemens
  8. {
  9. internal class XL_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 StockCode { get; set; }
  25. /// <summary>
  26. /// 托盘编号
  27. /// </summary>
  28. public short TrayCode { get; set; }
  29. public UDT2Start[] Powder { get; set; } = new UDT2Start[10];
  30. /// <summary>
  31. /// 物料信息
  32. /// </summary>
  33. public UDTStart[] Material { get; set; } = new UDTStart[20];
  34. /// <summary>
  35. /// 西门子下发订单
  36. /// </summary>
  37. public bool Order_Request_ACK { get; set; }
  38. public bool Order_Cancel { get; set; }
  39. public short[] Standby { get; set; } = new short[4];
  40. /// <summary>
  41. /// 上位机订单请求
  42. /// </summary>
  43. public bool Order_Request { get; set; }
  44. public bool Order_Cancel_ACK { get; set; }
  45. public short[] Standby1 { get; set; } = new short[4];
  46. }
  47. public class UDTStart
  48. {
  49. [Siemens(6)]
  50. /// <summary>
  51. /// 原料名称
  52. /// </summary>
  53. public string Material_Name { get; set; } = "";
  54. /// <summary>
  55. /// 原料重量
  56. /// </summary>
  57. public float Material_Weight { get; set; }
  58. /// <summary>
  59. /// 原料桶号
  60. /// </summary>
  61. public short Material_BarrelNum { get; set; }
  62. }
  63. public class UDT2Start
  64. {
  65. /// <summary>
  66. /// 粉料仓名称
  67. /// </summary>
  68. [Siemens(6)]
  69. public string Powder_Name { get; set; } = "";
  70. /// <summary>
  71. /// 粉料仓重量
  72. /// </summary>
  73. public float Powder_Weight { get; set; }
  74. }
  75. }