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.

77 lines
3.6 KiB

8 months ago
  1. using Mirle.Component.API.AutomatedGuideVehicleController.Models;
  2. using System.Threading.Tasks;
  3. namespace Mirle.Component.API.AutomatedGuideVehicleController.Modules
  4. {
  5. /// <summary>
  6. /// Automated Guide Vehicle Contoller 商業邏輯介面
  7. /// </summary>
  8. /// <remarks>Message dirction of automated guide vehicle controller to warehouse control system</remarks>
  9. public interface IFromAutomatedGuideVehicleControllerModule
  10. {
  11. /// <summary>
  12. /// 處理發派任務回報
  13. /// </summary>
  14. /// <param name="message">回報訊息</param>
  15. /// <param name="address">網路位址</param>
  16. /// <returns>已成功完成的工作</returns>
  17. /// <remarks>Process message of 2.1.c</remarks>
  18. public Task ProcessSetMissionResultAsync(SetMissionResultDto message, string address);
  19. /// <summary>
  20. /// 處理控制任務回報
  21. /// </summary>
  22. /// <param name="message">回報訊息</param>
  23. /// <param name="address">網路位址</param>
  24. /// <returns>已成功完成的工作</returns>
  25. /// <remarks>Process message of 2.2.c</remarks>
  26. public Task ProcessSetMissionStatusResultAsync(SetMissionStatusResultDto message, string address);
  27. /// <summary>
  28. /// 處理車輛清單回報
  29. /// </summary>
  30. /// <param name="message">回報訊息</param>
  31. /// <param name="address">網路位址</param>
  32. /// <returns>已成功完成的工作</returns>
  33. /// <remarks>Process message of 2.3.c</remarks>
  34. public Task ProcessSetAmrListResultAsync(SetAmrListResultDto message, string address);
  35. /// <summary>
  36. /// 處理訊問車況回報
  37. /// </summary>
  38. /// <param name="message">回報訊息</param>
  39. /// <param name="address">網路位址</param>
  40. /// <returns>已成功完成的工作</returns>
  41. /// <remarks>Process message of 2.4.c</remarks>
  42. public Task ProcessSetAmrHealthResultAsync(SetAmrHealthResultDto message, string address);
  43. /// <summary>
  44. /// 處理緊急狀況結果回報
  45. /// </summary>
  46. /// <param name="message">回報訊息</param>
  47. /// <param name="address">網路位址</param>
  48. /// <returns>已成功完成的工作</returns>
  49. /// <remarks>Process message of 2.5.c</remarks>
  50. public Task ProcessSetAmrEmergencyResultAsync(SetAmrEmergencyResultDto message, string address);
  51. /// <summary>
  52. /// 處理硬體元件錯誤回報
  53. /// </summary>
  54. /// <param name="message">回報訊息</param>
  55. /// <param name="address">網路位址</param>
  56. /// <returns>已成功完成的工作</returns>
  57. /// <remarks>Process message of 3.1.alert</remarks>
  58. public Task ProcessComponentFaultAlertAsync(ComponentFaultAlertDto message, string address);
  59. /// <summary>
  60. /// 處理心跳包回報
  61. /// </summary>
  62. /// <param name="message">回報訊息</param>
  63. /// <param name="address">網路位址</param>
  64. /// <returns>已成功完成的工作</returns>
  65. /// <remarks>Process message of 3.2.Heartbeat</remarks>
  66. public Task ProcessHeartbeatAsync(HeartbeatReportDto message, string address);
  67. /// <summary>
  68. /// 處理系統狀態回報
  69. /// </summary>
  70. /// <param name="message">回報訊息</param>
  71. /// <param name="address">網路位址</param>
  72. /// <returns>已成功完成的工作</returns>
  73. /// <remarks>Process message of 3.3.Online</remarks>
  74. public Task ProcessOnlineAsync(OnlineReportDto message, string address);
  75. }
  76. }