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.

187 lines
8.8 KiB

8 months ago
  1. using Mirle.Component.API.ProgrammableLogicController.Models;
  2. using System.Threading.Tasks;
  3. namespace Mirle.Component.API.ProgrammableLogicController.Modules
  4. {
  5. /// <summary>
  6. /// Programmable Logic Controller 商業邏輯介面
  7. /// </summary>
  8. /// <remarks>Message direction of programmable logic controller to warehouse control system</remarks>
  9. public interface IFromProgrammableLogicControllerModule
  10. {
  11. /// <summary>
  12. /// 處理建立命令回應
  13. /// </summary>
  14. /// <param name="message">回應訊息</param>
  15. /// <returns>已成功完成的工作</returns>
  16. public Task Process_FP002_CreateCommandResponseAsync(FP002CreateCommandResponseDto message);
  17. /// <summary>
  18. /// 處理執行命令回報
  19. /// </summary>
  20. /// <param name="message">回報訊息</param>
  21. /// <returns>已成功完成的工作</returns>
  22. public Task Process_FP003_ExecuteCommandReportAsync(FP003ExecuteCommandReportDto message);
  23. /// <summary>
  24. /// 處理完成命令回報
  25. /// </summary>
  26. /// <param name="message">回報訊息</param>
  27. /// <returns>已成功完成的工作</returns>
  28. public Task Process_FP005_FinishCommandReportAsync(FP005FinishCommandReportDto message);
  29. /// <summary>
  30. /// 處理取消命令回應
  31. /// </summary>
  32. /// <param name="message">回應訊息</param>
  33. /// <returns>已成功完成的工作</returns>
  34. public Task Process_FP008_CancelCommandResponseAsync(FP008CancelCommandResponseDto message);
  35. /// <summary>
  36. /// 處理建立取放貨回應
  37. /// </summary>
  38. /// <param name="message">回應訊息</param>
  39. /// <returns>已成功完成的工作</returns>
  40. public Task Process_FP010_CreateLoadUnloadResponseAsync(FP010CreateLoadUnloadResponseDto message);
  41. /// <summary>
  42. /// 處理完成取放貨回應
  43. /// </summary>
  44. /// <param name="message">回應訊息</param>
  45. /// <returns>已成功完成的工作</returns>
  46. public Task Process_FP012_FinishLoadUnloadAckAsync(FP012FinishLoadUnloadAckDto message);
  47. /// <summary>
  48. /// 處理允許取放貨回報
  49. /// </summary>
  50. /// <param name="message">回報訊息</param>
  51. /// <returns>已成功完成的工作</returns>
  52. public Task Process_FP013_PermitLoadUnloadReportAsync(FP013PermitLoadUnloadReportDto message);
  53. /// <summary>
  54. /// 處理檢查載具編號及物料編號請求
  55. /// </summary>
  56. /// <param name="message">請求訊息</param>
  57. /// <returns>已成功完成的工作</returns>
  58. public Task Process_FP015_CheckCarrierIDRequestAsync(FP015CheckCarrierIDRequest message);
  59. /// <summary>
  60. /// 處理棧板供收狀態回報
  61. /// </summary>
  62. /// <param name="message">回報訊息</param>
  63. /// <returns>已成功完成的工作</returns>
  64. public Task Process_FP017_PalletSupplyStatusReportAsync(FP017PalletSupplyStatusReportDto message);
  65. /// <summary>
  66. /// 處理移動台車狀態回應
  67. /// </summary>
  68. /// <param name="message">回應訊息</param>
  69. /// <returns>已成功完成的工作</returns>
  70. public Task Process_FP020_MoveCarStatusResponseAsync(FP020MoveCarStatusResponseDto message);
  71. /// <summary>
  72. /// 處理呼叫電梯回應
  73. /// </summary>
  74. /// <param name="message">回應訊息</param>
  75. /// <returns>已成功完成的工作</returns>
  76. public Task Process_FP022_CallLifterResponseAsync(FP022CallLifterReponseDto message);
  77. /// <summary>
  78. /// 處理電梯抵達回報
  79. /// </summary>
  80. /// <param name="message">回報訊息</param>
  81. /// <returns>已成功完成的工作</returns>
  82. public Task Process_FP023_ArrivedLifterReportAsync(FP023ArrivedLifterReportDto message);
  83. /// <summary>
  84. /// 處理電梯貨物檢知回應
  85. /// </summary>
  86. /// <param name="message">回應訊息</param>
  87. /// <returns>已成功完成的工作</returns>
  88. public Task Process_FP026_CheckLifterItemAckAsync(FP026CheckLifterItemAckDto message);
  89. /// <summary>
  90. /// 處理發生異常回報
  91. /// </summary>
  92. /// <param name="message">回報訊息</param>
  93. /// <returns>已成功完成的工作</returns>
  94. public Task Process_FP027_HappenAlarmReportAsync(FP027HappenAlarmReportDto message);
  95. /// <summary>
  96. /// 處理清除異常回報
  97. /// </summary>
  98. /// <param name="message">回報訊息</param>
  99. /// <returns>已成功完成的工作</returns>
  100. public Task Process_FP029_ResetAlarmReportAsync(FP029ResetAlarmReportDto message);
  101. /// <summary>
  102. /// 處理使用維修門請求
  103. /// </summary>
  104. /// <param name="message">請求訊息</param>
  105. /// <returns>已成功完成的工作</returns>
  106. public Task Process_FP031_UseRepairDoorRequestAsync(FP031UseRapairDoorRequestDto message);
  107. /// <summary>
  108. /// 處理維修門狀態回報
  109. /// </summary>
  110. /// <param name="message">回報訊息</param>
  111. /// <returns>已成功完成的工作</returns>
  112. public Task Process_FP035_RepairDoorStatusReportAsync(FP035RepairDoorStatusReportDto message);
  113. /// <summary>
  114. /// 處理釋放維修門回應
  115. /// </summary>
  116. /// <param name="message">回應訊息</param>
  117. /// <returns>已成功完成的工作</returns>
  118. public Task Process_FP034_ReleaseRepairDoorAckAsync(FP034ReleaseRepairDoorAckDto message);
  119. /// <summary>
  120. /// 處理使用鐵捲門回應
  121. /// </summary>
  122. /// <param name="message">回應訊息</param>
  123. /// <returns>已成功完成的工作</returns>
  124. public Task Process_FP038_UseRollingDoorResponseAsync(FP038UseRollingDoorResponseDto message);
  125. /// <summary>
  126. /// 處理鐵捲門狀態回報
  127. /// </summary>
  128. /// <param name="message">回報訊息</param>
  129. /// <returns>已成功完成的工作</returns>
  130. public Task Process_FP039_RollingDoorStatusReportAsync(FP039RollingDoorStatusReportDto message);
  131. /// <summary>
  132. /// 處理心跳包回報
  133. /// </summary>
  134. /// <param name="message">回應訊息</param>
  135. /// <returns>已成功完成的工作</returns>
  136. public Task Process_FP042_HeartbeatReportAsync(FP041HeartbeatReportDto message);
  137. /// <summary>
  138. /// 處理操作模式回報
  139. /// </summary>
  140. /// <param name="message">回報訊息</param>
  141. /// <returns>已成功完成的工作</returns>
  142. public Task Process_FP043_OperationModeReportAsync(FP043OperationModeReportDto message);
  143. /// <summary>
  144. /// 處理鎖定庫區命令派送回報
  145. /// </summary>
  146. /// <param name="message">回報訊息</param>
  147. /// <returns>已成功完成的工作</returns>
  148. public Task Process_FP045_LockStorageDispatchReportAsync(FP045LockStorageDispatchReportDto message);
  149. /// <summary>
  150. /// 處理消防警訊通知回報
  151. /// </summary>
  152. /// <param name="message">回報訊息</param>
  153. /// <returns>已成功完成的工作</returns>
  154. public Task Process_FP049_FireAlarmNotifyReportAsync(FP049FireAlarmNotifyReportDto message);
  155. /// <summary>
  156. /// 處理緊急應變回應
  157. /// </summary>
  158. /// <param name="message">回應訊息</param>
  159. /// <returns>已成功完成的工作</returns>
  160. public Task Process_FP052_EmergencyEventResponseAsync(FP052EmergencyEventResponseDto message);
  161. /// <summary>
  162. /// 處理緊急停止回應
  163. /// </summary>
  164. /// <param name="message">回應訊息</param>
  165. /// <returns>已成功完成的工作</returns>
  166. public Task Process_FP053_EmergencyOffReportAsync(FP053EmergencyOffReportDto message);
  167. /// <summary>
  168. /// 處理建立電梯命令回應
  169. /// </summary>
  170. /// <param name="message">回應訊息</param>
  171. /// <returns>已成功完成的工作</returns>
  172. public Task Process_FP056_CreateLifterCommandResponseAsync(FP056CreateLifterCommandResponseDto message);
  173. /// <summary>
  174. /// 處理完成電梯命令回報
  175. /// </summary>
  176. /// <param name="message">回報訊息</param>
  177. /// <returns>已成功完成的工作</returns>
  178. public Task Process_FP057_FinishLifterCommandReportAsync(FP057FinishLifterCommandReportDto message);
  179. /// <summary>
  180. /// 處理取消電梯命令回應
  181. /// </summary>
  182. /// <param name="message">回應訊息</param>
  183. /// <returns>已成功完成的工作</returns>
  184. public Task Process_FP060_CancleLifterCommandResponseAsync(FP060CancelLifterResponseDto message);
  185. }
  186. }