集成,总结MES功能
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.
 
 
 
 

126 lines
3.1 KiB

  1. namespace BPA.MES.Base.Application.Services
  2. {
  3. /// <summary>
  4. /// 名 称 :产线设备
  5. /// 创 建 人 :yangxiao
  6. /// 创建时间 : 2023/7/20 17:00:32
  7. /// 描 述 :
  8. /// </summary>
  9. public class ProductLineDeviceDto
  10. {
  11. /// <summary>
  12. /// 产线Id
  13. /// </summary>
  14. public string LineId { get; set; }
  15. /// <summary>
  16. /// 产线设备
  17. /// </summary>
  18. public string DeviceId { get; set; }
  19. /// <summary>
  20. /// 产线工艺流程Id
  21. /// </summary>
  22. public string StepId { get; set; }
  23. }
  24. public class ProductLineDeviceAddInput: ProductLineDeviceDto {
  25. }
  26. public class ProductLineDeviceBatchAddInput
  27. {
  28. /// <summary>
  29. /// 工艺流程主键
  30. /// </summary>
  31. public string Id { get; set; }
  32. /// <summary>
  33. /// 绑定设备
  34. /// </summary>
  35. public string[] DeviceId { get; set; }
  36. /// <summary>
  37. /// 产线主键
  38. /// </summary>
  39. public string LineId { get; set; }
  40. }
  41. /// <summary>
  42. /// 产线设备不分页
  43. /// </summary>
  44. public class ProductLineDeviceQueryInput
  45. {
  46. /// <summary>
  47. /// 名称
  48. /// </summary>
  49. public string Name { get; set; }
  50. /// <summary>
  51. /// 产线Id
  52. /// </summary>
  53. public string LineId { get; set; }
  54. /// <summary>
  55. /// 产线工艺流程Id
  56. /// </summary>
  57. public string StepId { get; set; }
  58. }
  59. /// <summary>
  60. /// 产线设备分页
  61. /// </summary>
  62. public class ProductLineDeviceQueryPageInput : RequestPage
  63. {
  64. /// <summary>
  65. /// 名称
  66. /// </summary>
  67. public string Name { get; set; }
  68. /// <summary>
  69. /// 产线Id
  70. /// </summary>
  71. public string LineId { get; set; }
  72. /// <summary>
  73. /// 产线工艺流程Id
  74. /// </summary>
  75. public string StepId { get; set; }
  76. }
  77. /// <summary>
  78. /// 删除产线设备
  79. /// </summary>
  80. public class ProductLineDeviceDelInput: ProductLineDeviceDto
  81. {
  82. /// <summary>
  83. /// 主键
  84. /// </summary>
  85. public string Id { get; set; }
  86. }
  87. /// <summary>
  88. /// 产线设备关联信息
  89. /// </summary>
  90. public class ProductLineDeviceOutput: ProductLineDeviceDto
  91. {
  92. /// <summary>
  93. /// 主键
  94. /// </summary>
  95. public string Id { get; set; }
  96. /// <summary>
  97. /// 名称
  98. /// </summary>
  99. /// <example>设备名称</example>
  100. public string DeviceName { get; set; }
  101. /// <summary>
  102. /// 编码
  103. /// </summary>
  104. public string DeviceCode { get; set; }
  105. /// <summary>
  106. /// 设备类型
  107. /// </summary>
  108. public string DeviceType { get; set; }
  109. /// <summary>
  110. /// 设备描述
  111. /// </summary>
  112. /// <example>设备描述</example>
  113. public string Describe { get; set; }
  114. /// <summary>
  115. /// 产线工艺流程名称
  116. /// </summary>
  117. public string StepName { get; set; }
  118. }
  119. }