服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2025-03-10 40df5d91f800bb8b7be2638c13b4f9292d461221
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
using Rhea.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tiger.Model;
using Tiger.Model.Entitys.MES.Position;
 
namespace Tiger.IBusiness
{
    /// <summary>
    /// 仓库作业任务,包括清点、上架、下架、移库、盘点等
    /// </summary>
    public interface IWmsTask : IWMSTransaction
    {
        #region Propertys & Variables
        public string UserCode { get; set; }
        public string OrgCode { 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>
        /// <returns></returns>
        public IWmsTask 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);
        #endregion Functions
    }
}