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

72 lines
2.2 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 ICSSoft.Frame.Data.Entity;
  7. using System.Data;
  8. namespace ICSSoft.Frame.Data.BLL
  9. {
  10. public class ICSLOTONWIPDetailBLL
  11. {
  12. //public static void Suspend(string conn,ICSLOTONWIPDetail wipDetail)
  13. //{
  14. // ICSLOTONWIPDetailDAL.Suspend(conn,wipDetail);
  15. //}
  16. /// <summary>
  17. /// 暂停
  18. /// </summary>
  19. /// <param name="wipDetailInfo"></param>
  20. /// <param name="ztinfo"></param>
  21. /// <param name="p"></param>
  22. public static void Suspend(ICSLOTONWIPDetail wipDetailInfo, ICSLOTPAUSE ztinfo, string p)
  23. {
  24. ICSLOTONWIPDetailDAL.Suspend(wipDetailInfo, ztinfo, p);
  25. }
  26. /// <summary>
  27. /// 继续
  28. /// </summary>
  29. /// <param name="ID_wipDetail"></param>
  30. /// <param name="ID_PAUSE"></param>
  31. /// <param name="p"></param>
  32. public static void Continue(string ID_wipDetail, string ID_PAUSE, string p)
  33. {
  34. ICSLOTONWIPDetailDAL.Continue(ID_wipDetail, ID_PAUSE, p);
  35. }
  36. public static void ReStart(ICSLOTONWIPDetail detail, string conn)
  37. {
  38. ICSLOTONWIPDetailDAL.ReStart(detail, conn);
  39. }
  40. /// <summary>
  41. /// 完工
  42. /// </summary>
  43. /// <param name="main"></param>
  44. /// <param name="detail"></param>
  45. /// <param name="p"></param>
  46. public static void EndUserOP(ICSLOTONWIP main, ICSLOTONWIPDetail detail, string conn)
  47. {
  48. ICSLOTONWIPDetailDAL.EndUserOP(main, detail, conn);
  49. }
  50. public static int QueryAllOPUserState(string lot, string route, string op, string workpoint, string conn)
  51. {
  52. return ICSLOTONWIPDetailDAL.QueryAllOPUserState(lot, route, op, workpoint, conn);
  53. }
  54. public static void CollectOPStart(ICSLOTSIMULATION siminfo, ICSLOTONWIP wipinfo, ICSLOTONWIPDetail wipDetailinfo, string dsconn)
  55. {
  56. try
  57. {
  58. ICSLOTONWIPDetailDAL.CollectOPStart(siminfo, wipinfo, wipDetailinfo, dsconn);
  59. }
  60. catch (Exception ex)
  61. {
  62. throw ex;
  63. }
  64. }
  65. }
  66. }