using DS.Module.Core; using DS.WMS.Core.Op.Dtos; using DS.WMS.Core.Op.Dtos.Cargoo; using DS.WMS.Core.Op.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Op.EDI { /// /// Cargoo 帮助类 /// public class CargooAPIHelper { #region 生成Cargoo报文(根据订舱详情生成报文) /// /// 生成Cargoo报文(根据订舱详情生成报文) /// /// 订单ID /// 状态枚举 /// public async Task> GetCargooShipmentDto(long bookingId, CargooStatusEnum cargooStatusEnum) { CargooShipmentDto dto = new CargooShipmentDto(); try { } catch (Exception ex) { } return DataResult.Success(dto); } #endregion /// /// 发送Cargoo报文 /// /// /// public async Task SendCargooShipment(long bookingId, CargooStatusEnum cargooStatusEnum) { try { var dto = await GetCargooShipmentDto(bookingId, cargooStatusEnum); } catch (Exception ex) { } return DataResult.Successed(""); } } }