锐腾搅拌上料功能
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.

59 lines
2.4 KiB

5 months ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Collections;
  6. namespace ICSSoft.Frame.Common
  7. {
  8. public class OperationListFactory
  9. {
  10. private const int OPControl_Length = 14;
  11. private const string Default_OpControl = "00000000000000";
  12. public OperationListFactory()
  13. {
  14. }
  15. //public virtual void CreateOperationListColumns(GridHelper gridHelper)
  16. //{
  17. // gridHelper.AddCheckBoxColumn("OP_componentloading", "上料工序", false, null);
  18. // gridHelper.AddCheckBoxColumn("OP_testing", "测试工序", false, null);
  19. // gridHelper.AddCheckBoxColumn("OP_idtranslate", "序号转换工序", false, null);
  20. // gridHelper.AddCheckBoxColumn("OP_packing", "包装工序", false, null);
  21. // gridHelper.AddCheckBoxColumn("OP_oqc", "OQC工序", false, null);
  22. // gridHelper.AddCheckBoxColumn("OP_ts", "维修工序", false, null);
  23. // gridHelper.AddCheckBoxColumn("OP_spc", "SPC工序", false, null);
  24. // gridHelper.AddCheckBoxColumn("OP_deduct", "扣料工序", false, null);
  25. // gridHelper.AddCheckBoxColumn("OP_midistoutput", "中间产量工序", false, null);
  26. // gridHelper.AddCheckBoxColumn("OP_midistinput", "中间投入工序", false, null);
  27. // gridHelper.AddCheckBoxColumn("OP_ComponentDown", "下料工序", false, null);
  28. // gridHelper.AddCheckBoxColumn("OP_BurnIn", "Burn In工序", false, null);
  29. // gridHelper.AddCheckBoxColumn("OP_BurnOut", "Burn Out工序", false, null);
  30. // gridHelper.AddCheckBoxColumn("OP_Offline", "下线工序", false, null);
  31. //}
  32. public virtual string[] CreateOperationListColumnsHead()
  33. {
  34. ArrayList heads = new ArrayList();
  35. heads.Add("OP_componentloading");
  36. heads.Add("OP_testing");
  37. heads.Add("OP_idtranslate");
  38. heads.Add("OP_packing");
  39. heads.Add("OP_oqc");
  40. heads.Add("OP_ts");
  41. heads.Add("OP_spc");
  42. heads.Add("OP_deduct");
  43. heads.Add("OP_midistoutput");
  44. heads.Add("OP_midistinput");
  45. heads.Add("OP_ComponentDown");
  46. heads.Add("OP_BurnIn");
  47. heads.Add("OP_BurnOut");
  48. heads.Add("OP_Offline");
  49. return (string[])heads.ToArray(typeof(string));
  50. }
  51. }
  52. }