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

118 lines
3.5 KiB

5 months ago
  1. using ICSSoft.Frame.Common;
  2. using ICSSoft.Frame.Data.DAL;
  3. using ICSSoft.Frame.Data.Entity;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. namespace ICSSoft.Frame.Data.BLL
  9. {
  10. public class ICSAGVBLL
  11. {
  12. public static string CreateAGVTaskJJorBack(List<AGVCreateTaskModel> Model, List<ICSAGVTASKLOG> Log_List, string Appconstr, string workpoint)
  13. {
  14. try
  15. {
  16. return ICSAGVDAL.CreateAGVTaskJJorBack(Model, Log_List, Appconstr, workpoint);
  17. }
  18. catch (Exception ex)
  19. {
  20. throw ex;
  21. }
  22. }
  23. public static AGVCancelTaskReturnModel CancelAGVTask(AGVCancelTaskModel Model, string Appconstr, string workpoint)
  24. {
  25. return ICSAGVDAL.CancelAGVTask(Model, Appconstr, workpoint);
  26. }
  27. public static void AgvAreaToArea(AgvAreaToAreaModel Model, ICSAGVTASKLOG log, string Appconstr, string workpoint) {
  28. try
  29. {
  30. ICSAGVDAL.AgvAreaToArea(Model,log, Appconstr, workpoint);
  31. }
  32. catch (Exception ex)
  33. {
  34. throw ex;
  35. }
  36. }
  37. public static string AgvPointToPoint(List<PointToPointModel> Model, List<ICSAGVTASKLOG> log, string Appconstr, string workpoint)
  38. {
  39. try
  40. {
  41. return ICSAGVDAL.AgvPointToPoint(Model, log, Appconstr, workpoint);
  42. }
  43. catch (Exception ex)
  44. {
  45. throw ex;
  46. }
  47. }
  48. public static bool IsCanToAGV(string Lotno,string Opcode,string Type, string Appconstr, string workpoint)
  49. {
  50. try
  51. {
  52. return ICSAGVDAL.IsCanToAGV(Lotno, Opcode, Type, Appconstr, workpoint);
  53. }
  54. catch (Exception ex) {
  55. throw ex;
  56. }
  57. }
  58. public static List<MaterialItem> GetOPBOM(string LotNo, string opcode, string Appconstr, string workpoint)
  59. {
  60. return ICSAGVDAL.GetOPBOM(LotNo, opcode, Appconstr, workpoint);
  61. }
  62. public static bool IsFirstOP(string LOTNO, string opcode, string Appconstr, string workpoint)
  63. {
  64. return ICSAGVDAL.IsFirstOP(LOTNO, opcode, Appconstr, workpoint);
  65. }
  66. public static bool IsLastOP(string LOTNO, string opcode, string Appconstr, string workpoint)
  67. {
  68. return ICSAGVDAL.IsLastOP(LOTNO, opcode, Appconstr, workpoint);
  69. }
  70. public static bool NextOPisWW(string LOTNO, string opcode, string Appconstr, string workpoint)
  71. {
  72. try
  73. {
  74. return ICSAGVDAL.NextOPisWW(LOTNO, opcode, Appconstr, workpoint);
  75. }
  76. catch (Exception ex)
  77. {
  78. throw ex;
  79. }
  80. }
  81. public static bool NextOPisWG(string LOTNO, string opcode, string Appconstr, string workpoint)
  82. {
  83. try
  84. {
  85. return ICSAGVDAL.NextOPisWG(LOTNO, opcode, Appconstr, workpoint);
  86. }
  87. catch (Exception ex)
  88. {
  89. throw ex;
  90. }
  91. }
  92. public static string GetAreaCode(string EnumKey, string EnumValue, string Appconstr, string workpoint)
  93. {
  94. try
  95. {
  96. return ICSAGVDAL.GetAreaCode(EnumKey, EnumValue, Appconstr, workpoint);
  97. }
  98. catch (Exception ex)
  99. {
  100. throw ex;
  101. }
  102. }
  103. }
  104. }