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.

67 lines
3.0 KiB

8 months ago
  1. using Mirle.Component.API.WarehouseExecutionSystem.Models;
  2. using System.Threading.Tasks;
  3. namespace Mirle.Component.API.WarehouseExecutionSystem.Modules
  4. {
  5. /// <summary>
  6. /// Warehouse Execution System 商業邏輯介面
  7. /// </summary>
  8. /// <remarks>Message direction of warehouse control system to warehouse execution system</remarks>
  9. public interface IToWarehouseExecutionSystemModule
  10. {
  11. /// <summary>
  12. /// 處理建立命令回應
  13. /// </summary>
  14. /// <param name="message">回應訊息</param>
  15. /// <returns>已成功完成的工作</returns>
  16. public Task Process_TW002_CreateCommandResponseAsync(TW002CreateCommandResponseDto message);
  17. /// <summary>
  18. /// 處理執行命令回報
  19. /// </summary>
  20. /// <param name="message">回報訊息</param>
  21. /// <returns>已成功完成的工作</returns>
  22. public Task Process_TW003_ExecuteCommandReportAsync(TW003ExecuteCommandReportDto message);
  23. /// <summary>
  24. /// 處理完成命令回報
  25. /// </summary>
  26. /// <param name="message">回報訊息</param>
  27. /// <returns>已成功完成的工作</returns>
  28. public Task Process_TW005_FinishCommandReportAsync(TW005FinishCommandReportDto message);
  29. /// <summary>
  30. /// 處理取消命令回應
  31. /// </summary>
  32. /// <param name="message">回應訊息</param>
  33. /// <returns>已成功完成的工作</returns>
  34. public Task Process_TW008_CancelCommandResponseAsync(TW008CancelCommandResponseDto message);
  35. /// <summary>
  36. /// 處理檢查載具及物料編號請求
  37. /// </summary>
  38. /// <param name="message">請求訊息</param>
  39. /// <returns>已成功完成的工作</returns>
  40. public Task Process_TW009_CheckCarrierIDRequestAsync(TW009CheckCarrierIDRequestDto message);
  41. /// <summary>
  42. /// 處理棧板供收狀態回報
  43. /// </summary>
  44. /// <param name="message">回報訊息</param>
  45. /// <returns>已成功完成的工作</returns>
  46. public Task Process_TW011_PalletSupplyStatusReportAsync(TW011PalletSupplyStatusReportDto message);
  47. /// <summary>
  48. /// 處理心跳包回報
  49. /// </summary>
  50. /// <param name="message">回應訊息</param>
  51. /// <returns>已成功完成的工作</returns>
  52. public Task Process_TW013_HeartbeatReportAsync(TW013HeartbeatReportDto message);
  53. /// <summary>
  54. /// 處理量測物料重量回應
  55. /// </summary>
  56. /// <param name="message">回應訊息</param>
  57. /// <returns>已成功完成的工作</returns>
  58. public Task Process_TW016_MaterialWeightResponseAsync(TW016MaterialWeightResponseDto message);
  59. /// <summary>
  60. /// 處理緊急應變請求
  61. /// </summary>
  62. /// <param name="message">請求訊息</param>
  63. /// <returns>已成功完成的工作</returns>
  64. public Task Process_TW017_EmergencyEventRequestAsync(TW017EmergencyEventRequestDto message);
  65. }
  66. }