ProductScheduleControl.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. using Microsoft.EntityFrameworkCore;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace Business.StructuredDB.Production
  9. {
  10. /// <summary>
  11. /// 排产配置表
  12. /// </summary>
  13. [Comment("排产配置表")]
  14. public class ProductScheduleControl {
  15. /// <summary>
  16. /// 主键
  17. /// </summary>
  18. [Comment("主键")]
  19. [Key]
  20. public long RecID { get; set; }
  21. /// <summary>
  22. /// 邻近?天内此工序设备未开工的不换模工单,默认3天
  23. /// </summary>
  24. [Comment("邻近天数")]
  25. public int AdjacentDays { get; set; }
  26. /// <summary>
  27. /// 当前工序产出不超过?个后序班次数量 小数,默认3班
  28. /// </summary>
  29. [Comment("前序最大产出")]
  30. public int PreorderClassesMax { get; set; }
  31. /// <summary>
  32. /// 当前序排产及报工多于?个后序班次时,当前序后延生产,默认2班
  33. /// </summary>
  34. [Comment("延后生产")]
  35. public int PreorderClassesPut { get; set; }
  36. /// <summary>
  37. /// 前序不满足当前序?个班次数量时,当前序不排产,默认1班
  38. /// </summary>
  39. [Comment("当前序满足班次")]
  40. public int ClassesOut { get; set; }
  41. /// <summary>
  42. /// 一周排产天数
  43. /// </summary>
  44. [Comment("一周排产天数")]
  45. public int WeekDay { get; set; }
  46. /// <summary>
  47. /// 工单尾数不超过?%时,不使用新的班次,默认4% 即30分钟
  48. /// </summary>
  49. [Comment("尾数")]
  50. public decimal RemainScale { get; set; }
  51. /// <summary>
  52. /// 是否启用人员技能矩阵
  53. /// </summary>
  54. [Comment("是否启用人员技能矩阵")]
  55. public bool IsSkill { get; set; }
  56. }
  57. }