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

79 lines
1.7 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPA.MES.Base.Application.Services.OrderService.Dtos
  7. {
  8. public class OrderBaseDto
  9. {
  10. public string Id { get; set; }
  11. /// <summary>
  12. /// 状态
  13. /// </summary>
  14. public int Status { get; set; }
  15. /// <summary>
  16. /// 分配进度
  17. /// </summary>
  18. public decimal AllocationRate { get; set; }
  19. /// <summary>
  20. /// 生产进度
  21. /// </summary>
  22. public decimal ProduceRate { get; set; }
  23. public decimal ProduceSum { get; set; }
  24. public DateTime CreateTime { get; set; }
  25. public List<OrderInfoBaseDto> OrderInfos { get; set; }
  26. }
  27. public class OrderInfoBaseDto
  28. {
  29. public string Id { get; set; }
  30. public string OrderId { get; set; }
  31. /// <summary>
  32. /// 成品
  33. /// </summary>
  34. public string FinalslId { get; set; }
  35. public string FinalslName { get; set; }
  36. /// <summary>
  37. /// 产线
  38. /// </summary>
  39. public string ProductionLineId { get; set; }
  40. public string ProductionLineName { get; set; }
  41. public string CreateTime { get; set; }
  42. /// <summary>
  43. /// 数量
  44. /// </summary>
  45. public decimal Number { get; set; }
  46. public WorkOrderStatusEnum? Status { get; set; }
  47. }
  48. /// <summary>
  49. /// 成品数量限制
  50. /// </summary>
  51. public class OrderWorkLimit
  52. {
  53. /// <summary>
  54. /// 成品
  55. /// </summary>
  56. public string FinalslId { get; set; }
  57. public decimal Limit { get; set; }
  58. }
  59. }