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.9 KiB

8 months ago
  1. using System.Threading.Tasks;
  2. namespace Mirle.Component.API.AutomatedGuideVehicleController.Modules
  3. {
  4. /// <summary>
  5. /// Automated Guide Vehicle Controller 商業邏輯介面
  6. /// </summary>
  7. /// <remarks>Trigger Request/Response web application programming</remarks>
  8. public interface IUnitTestAutomatedGuideVehicleControllerModule
  9. {
  10. /// <summary>
  11. /// 發派任務請求
  12. /// </summary>
  13. /// <param name="sequenceNumber">訊息流水號</param>
  14. /// <returns>已成功完成的工作</returns>
  15. public Task SetMissionRequest(string sequenceNumber);
  16. /// <summary>
  17. /// 發派任務回應
  18. /// </summary>
  19. /// <param name="sequenceNumber">訊息流水號</param>
  20. /// <returns>已成功完成的工作</returns>
  21. public Task SetMissionAck(string sequenceNumber);
  22. /// <summary>
  23. /// 控制任務請求
  24. /// </summary>
  25. /// <param name="sequenceNumber">訊息流水號</param>
  26. /// <returns>已成功完成的工作</returns>
  27. public Task SetMissionStatusRequest(string sequenceNumber);
  28. /// <summary>
  29. /// 控制任務結果回應
  30. /// </summary>
  31. /// <param name="sequenceNumber">訊息流水號</param>
  32. /// <returns></returns>
  33. public Task SetMissionStatusAck(string sequenceNumber);
  34. /// <summary>
  35. /// 車輛清單請求
  36. /// </summary>
  37. /// <param name="sequenceNumber">訊息流水號</param>
  38. /// <returns>已成功完成的工作</returns>
  39. public Task SetAmrListRequest(string sequenceNumber);
  40. /// <summary>
  41. /// 車輛清單結果回應
  42. /// </summary>
  43. /// <param name="sequenceNumber">訊息流水號</param>
  44. /// <returns>已成功完成的工作</returns>
  45. public Task SetAmrListAck(string sequenceNumber);
  46. /// <summary>
  47. /// 詢問車況請求
  48. /// </summary>
  49. /// <param name="sequenceNumber">訊息流水號</param>
  50. /// <returns>已成功完成的工作</returns>
  51. public Task SetAmrHealthRequest(string sequenceNumber);
  52. /// <summary>
  53. /// 訊問車況結果回應
  54. /// </summary>
  55. /// <param name="sequnceNumber">訊息流水號</param>
  56. /// <returns>已成功完成的工作</returns>
  57. public Task SetAmrHealthAck(string sequnceNumber);
  58. /// <summary>
  59. /// 緊急狀況通知請求
  60. /// </summary>
  61. /// <param name="sequenceNumber">訊息流水號</param>
  62. /// <returns>已成功完成的工作</returns>
  63. public Task SetAmrEmergencyRequest(string sequenceNumber);
  64. /// <summary>
  65. /// 緊急狀況結果回應
  66. /// </summary>
  67. /// <param name="sequnceNumber">訊息流水號</param>
  68. /// <returns>已成功完成的工作</returns>
  69. public Task SetAmrEmergencyAck(string sequnceNumber);
  70. }
  71. }