15 lines
559 B
C#
15 lines
559 B
C#
using System;
|
|
|
|
namespace ET
|
|
{
|
|
[ActorMessageHandler]
|
|
public class C2M_GetConsignmentHandler : AMActorLocationRpcHandler<Unit, C2M_GetConsignment, M2C_GetConsignment>
|
|
{
|
|
protected override async ETTask Run(Unit unit, C2M_GetConsignment request, M2C_GetConsignment response, Action reply)
|
|
{
|
|
response.TotalPage = await ConsignmentComponent.Instance.GetConsignmet(unit,request.Page, request.ItemType, request.JobType, response.ConsignMapList);
|
|
reply();
|
|
await ETTask.CompletedTask;
|
|
}
|
|
}
|
|
} |