华恒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.

114 lines
2.7 KiB

5 months ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using ICSSoft.Frame.Data.DAL;
  6. using System.Data;
  7. using ICSSoft.Frame.Data.Entity;
  8. namespace ICSSoft.Frame.Data.BLL
  9. {
  10. public class ICSOQCCKGROUPBLL
  11. {
  12. #region AddandEdit
  13. public static void AddandEdit(ICSOQCCKGROUP ItemLot, string Appconstr)
  14. {
  15. try
  16. {
  17. ICSOQCCKGROUPDAL.AddandEdit(ItemLot, Appconstr);
  18. }
  19. catch (Exception ex)
  20. {
  21. throw ex;
  22. }
  23. }
  24. public static string AddList(List<ICSROUTE> RouteLists, List<ICSROUTE2OP> OPLists, string Appconstr)
  25. {
  26. try
  27. {
  28. return ICSROUTEDAL.AddList(RouteLists, OPLists, Appconstr);
  29. }
  30. catch (Exception ex)
  31. {
  32. throw ex;
  33. }
  34. }
  35. public static string AddList(List<ICSOQCCKGROUP> InfoList, string Appconstr)
  36. {
  37. try
  38. {
  39. return ICSOQCCKGROUPDAL.AddList(InfoList, Appconstr);
  40. }
  41. catch (Exception ex)
  42. {
  43. throw ex;
  44. }
  45. }
  46. #endregion
  47. public static ICSOQCCKGROUP search(string CKGROUP, String Appconstr)
  48. {
  49. return ICSOQCCKGROUPDAL.search(CKGROUP, Appconstr);
  50. }
  51. #region delete
  52. public static void delete(List<String> guidList)
  53. {
  54. ICSOQCCKGROUPDAL.delete(guidList);
  55. }
  56. #endregion
  57. #region 获取检验方式
  58. public static DataTable SearchData(string dsconn)
  59. {
  60. try
  61. {
  62. return ICSOQCCKGROUPDAL.SearchData(dsconn);
  63. }
  64. catch (Exception ex)
  65. {
  66. throw ex;
  67. }
  68. }
  69. public static DataTable SearchData(string EnumText, string dsconn)
  70. {
  71. try
  72. {
  73. return ICSOQCCKGROUPDAL.SearchData(EnumText, dsconn);
  74. }
  75. catch (Exception ex)
  76. {
  77. throw ex;
  78. }
  79. }
  80. #endregion
  81. #region 获取检验属性
  82. public static DataTable SearchDataa(string dsconn)
  83. {
  84. try
  85. {
  86. return ICSOQCCKGROUPDAL.SearchDataa(dsconn);
  87. }
  88. catch (Exception ex)
  89. {
  90. throw ex;
  91. }
  92. }
  93. public static DataTable SearchDataa(string EnumText, string dsconn)
  94. {
  95. try
  96. {
  97. return ICSOQCCKGROUPDAL.SearchDataa(EnumText, dsconn);
  98. }
  99. catch (Exception ex)
  100. {
  101. throw ex;
  102. }
  103. }
  104. #endregion
  105. }
  106. }