| | |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using Tiger.Model; |
| | | using Tiger.Model.Base; |
| | | |
| | | namespace Tiger.IBusiness |
| | | { |
| | | /// <summary> |
| | | /// 备料单发料事务 |
| | | /// 备料任务单据 |
| | | /// </summary> |
| | | public interface IPreparation : IWMSTransaction |
| | | public interface IPreparation |
| | | { |
| | | #region Propertys & Variables |
| | | public string UserCode { get; set; } |
| | | public long UserId { get; set; } |
| | | public string OrgCode { get; set; } |
| | | public BIZ_WMS_PREP PrepOrder { get; set; } |
| | | #endregion Propertys & Variables |
| | | |
| | | #region Functions |
| | | /// <summary> |
| | | /// 初始化 |
| | | /// 备料任务添加单据 |
| | | /// </summary> |
| | | /// <param name="id"></param> |
| | | /// <param name="apiHost"></param> |
| | | /// <param name="userCode"></param> |
| | | /// <param name="orgCode"></param> |
| | | /// <param name="bizType"></param> |
| | | /// <param name="orderNo"></param> |
| | | /// <returns></returns> |
| | | public IPreparation Init(string id, string userCode, string apiHost, string orgCode); |
| | | /// <summary> |
| | | /// 扫描入口 |
| | | /// </summary> |
| | | //public Task<ApiAction<ScanOutput>> Scan(BaseInput input); |
| | | /// <summary> |
| | | /// 重置操作 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public ApiAction Reset(); |
| | | /// <summary> |
| | | /// 获取提交数据的DbClient对象 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public DbClient GetCommitDB(); |
| | | /// <summary> |
| | | /// 暂存的数据库操作提交到数据库 |
| | | /// </summary> |
| | | /// <param name="appendAction">附加的保存内容</param> |
| | | public void SaveCommitListToDB(Action appendToSave = null); |
| | | public ApiAction<ScanOutput> AddOrder(BIZ_WMS_PREP.BIZ_TYPEs bizType, string orderNo); |
| | | #endregion Functions |
| | | } |
| | | } |