终端一体化运控平台
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. public class XL_Finish_DB
  10. {
  11. /// <summary>
  12. /// 配料完成信号确认
  13. /// </summary>
  14. public bool Ask_For_Finish_PLC { get; set; }
  15. public short[] StandbyFinish { get; set; } = new short[4];
  16. [Siemens(16)]
  17. /// <summary>
  18. /// 生产工单编码
  19. /// </summary
  20. public string Order_No { get; set; }
  21. [Siemens(16)]
  22. /// <summary>
  23. /// 产品名称
  24. /// </summary>
  25. public string Product_Code { get; set; }
  26. /// <summary>
  27. /// 工位号
  28. /// </summary>
  29. public short Job_No { get; set; }
  30. public UDT2[] Powder { get; set; } = new UDT2[10];
  31. /// <summary>
  32. /// 原料信息
  33. /// </summary>
  34. public UDT1[] Material { get; set; } = new UDT1[20];
  35. /// <summary>
  36. /// 配料时间
  37. /// </summary>
  38. public short DosingTime { get; set; }
  39. /// <summary>
  40. /// 配料完成信号
  41. /// </summary>
  42. public bool Ask_For_Finish { get; set; }
  43. public short[] StandbyFinish2 { get; set; } = new short[4];
  44. }
  45. public class UDT1
  46. {
  47. /// <summary>
  48. /// 原料名称
  49. /// </summary>
  50. [Siemens(6)]
  51. public string Material_Name { get; set; } = "";
  52. /// <summary>
  53. /// 原料下料重量
  54. /// </summary>
  55. public float Material_Laying_Off_Weight { get; set; }
  56. /// <summary>
  57. /// 原料的桶号
  58. /// </summary>
  59. public short Material_BarrelNum { get; set; }
  60. }
  61. public class UDT2
  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. }