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.

76 lines
3.7 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 execution system to warehouse control system</remarks>
  9. public interface IFromWarehouseExecutionSystemModule
  10. {
  11. /// <summary>
  12. /// 處理建立命令請求
  13. /// </summary>
  14. /// <param name="message">請求訊息</param>
  15. /// <param name="address">網路位址</param>
  16. /// <returns>已成功完成的工作</returns>
  17. public Task<TW002CreateCommandResponseDto> Process_FW001_CreateCommandRequestAsync(FW001CreateCommandRequestDto message, string address);
  18. /// <summary>
  19. /// 處理執行命令回應
  20. /// </summary>
  21. /// <param name="message">回應訊息</param>
  22. /// <param name="address">網路位址</param>
  23. /// <returns>已成功完成的工作</returns>
  24. public Task Process_FW004_ExecuteCommandAckAsync(FW004ExecuteCommandAckDto message, string address);
  25. /// <summary>
  26. /// 處理完成命令回應
  27. /// </summary>
  28. /// <param name="message">回應訊息</param>
  29. /// <param name="address">網路位址</param>
  30. /// <returns>已成功完成的工作</returns>
  31. public Task Process_FW006_FinishCommandAckAsync(FW006FinishCommandAckDto message, string address);
  32. /// <summary>
  33. /// 處理取消命令請求
  34. /// </summary>
  35. /// <param name="message">請求訊息</param>
  36. /// <param name="address">網路位址</param>
  37. /// <returns>已成功完成的工作</returns>
  38. public Task Process_FW007_CancelCommandRequestAsync(FW007CancelCommandRequestDto message, string address);
  39. /// <summary>
  40. /// 處理檢查載具編號及物料編號回應
  41. /// </summary>
  42. /// <param name="message">回應訊息</param>
  43. /// <param name="address">網路位址</param>
  44. /// <returns>已成功完成的工作</returns>
  45. public Task Process_FW010_CheckCarrierIDResponseAsync(FW010CheckCarrierIDResponseDto message, string address);
  46. /// <summary>
  47. /// 處理棧板供收狀態回應
  48. /// </summary>
  49. /// <param name="message">回應訊息</param>
  50. /// <param name="address">網路位址</param>
  51. /// <returns>已成功完成的工作</returns>
  52. public Task Process_FW012_PalletSupplyStatusAckAsync(FW012PalletSupplyStatusAckDto message, string address);
  53. /// <summary>
  54. /// 處理心跳包回應
  55. /// </summary>
  56. /// <param name="message">回應訊息</param>
  57. /// <param name="address">網路位址</param>
  58. /// <returns>已成功完成的工作</returns>
  59. public Task Process_FW014_HeartbeatAckAsync(FW014HeartbeatAckDto message, string address);
  60. /// <summary>
  61. /// 處理量測物料重量請求
  62. /// </summary>
  63. /// <param name="message">請求訊息</param>
  64. /// <param name="address">網路位址</param>
  65. /// <returns>已成功完成的工作</returns>
  66. public Task<TW016MaterialWeightResponseDto> Process_FW015_MaterialWeightRequestAsync(FW015MaterialWeightRequestDto message, string address);
  67. /// <summary>
  68. /// 處理緊急應變回應
  69. /// </summary>
  70. /// <param name="message">回應訊息</param>
  71. /// <param name="address">網路位址</param>
  72. /// <returns>已成功完成的工作</returns>
  73. public Task Process_FW018_EmergencyEventResponseAsync(FW018EmergencyEventResponseDto message, string address);
  74. }
  75. }