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

78 lines
2.0 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 short[] Standby { get; set; } = new short[4];
  39. /// <summary>
  40. /// 上位机订单请求
  41. /// </summary>
  42. public bool Order_Request { get; set; }
  43. public short[] Standby1 { get; set; } = new short[4];
  44. }
  45. public class UDTStart
  46. {
  47. [Siemens(6)]
  48. /// <summary>
  49. /// 原料名称
  50. /// </summary>
  51. public string Material_Name { get; set; } = "";
  52. /// <summary>
  53. /// 原料重量
  54. /// </summary>
  55. public float Material_Weight { get; set; }
  56. /// <summary>
  57. /// 原料桶号
  58. /// </summary>
  59. public short Material_BarrelNum { get; set; }
  60. }
  61. public class UDT2Start
  62. {
  63. /// <summary>
  64. /// 粉料仓名称
  65. /// </summary>
  66. [Siemens(6)]
  67. public string Powder_Name { get; set; } = "";
  68. /// <summary>
  69. /// 粉料仓重量
  70. /// </summary>
  71. public float Powder_Weight { get; set; }
  72. }
  73. }