using System; namespace ET { [ActorMessageHandler] public class C2M_GetConsignmentHandler : AMActorLocationRpcHandler { 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; } } }