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

using Mirle.Component.API.WarehouseExecutionSystem.Models;
using System.Threading.Tasks;
namespace Mirle.Component.API.WarehouseExecutionSystem.Modules
{
/// <summary>
/// Warehouse Execution System 商業邏輯介面
/// </summary>
/// <remarks>Message direction of warehouse execution system to warehouse control system</remarks>
public interface IFromWarehouseExecutionSystemModule
{
/// <summary>
/// 處理建立命令請求
/// </summary>
/// <param name="message">請求訊息</param>
/// <param name="address">網路位址</param>
/// <returns>已成功完成的工作</returns>
public Task<TW002CreateCommandResponseDto> Process_FW001_CreateCommandRequestAsync(FW001CreateCommandRequestDto message, string address);
/// <summary>
/// 處理執行命令回應
/// </summary>
/// <param name="message">回應訊息</param>
/// <param name="address">網路位址</param>
/// <returns>已成功完成的工作</returns>
public Task Process_FW004_ExecuteCommandAckAsync(FW004ExecuteCommandAckDto message, string address);
/// <summary>
/// 處理完成命令回應
/// </summary>
/// <param name="message">回應訊息</param>
/// <param name="address">網路位址</param>
/// <returns>已成功完成的工作</returns>
public Task Process_FW006_FinishCommandAckAsync(FW006FinishCommandAckDto message, string address);
/// <summary>
/// 處理取消命令請求
/// </summary>
/// <param name="message">請求訊息</param>
/// <param name="address">網路位址</param>
/// <returns>已成功完成的工作</returns>
public Task Process_FW007_CancelCommandRequestAsync(FW007CancelCommandRequestDto message, string address);
/// <summary>
/// 處理檢查載具編號及物料編號回應
/// </summary>
/// <param name="message">回應訊息</param>
/// <param name="address">網路位址</param>
/// <returns>已成功完成的工作</returns>
public Task Process_FW010_CheckCarrierIDResponseAsync(FW010CheckCarrierIDResponseDto message, string address);
/// <summary>
/// 處理棧板供收狀態回應
/// </summary>
/// <param name="message">回應訊息</param>
/// <param name="address">網路位址</param>
/// <returns>已成功完成的工作</returns>
public Task Process_FW012_PalletSupplyStatusAckAsync(FW012PalletSupplyStatusAckDto message, string address);
/// <summary>
/// 處理心跳包回應
/// </summary>
/// <param name="message">回應訊息</param>
/// <param name="address">網路位址</param>
/// <returns>已成功完成的工作</returns>
public Task Process_FW014_HeartbeatAckAsync(FW014HeartbeatAckDto message, string address);
/// <summary>
/// 處理量測物料重量請求
/// </summary>
/// <param name="message">請求訊息</param>
/// <param name="address">網路位址</param>
/// <returns>已成功完成的工作</returns>
public Task<TW016MaterialWeightResponseDto> Process_FW015_MaterialWeightRequestAsync(FW015MaterialWeightRequestDto message, string address);
/// <summary>
/// 處理緊急應變回應
/// </summary>
/// <param name="message">回應訊息</param>
/// <param name="address">網路位址</param>
/// <returns>已成功完成的工作</returns>
public Task Process_FW018_EmergencyEventResponseAsync(FW018EmergencyEventResponseDto message, string address);
}
}