服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-07-19 01a5cb6f77739630a88fc2f95be694b53ade0d41
Tiger.IBusiness/MES/Transaction/IPosition.cs
@@ -10,6 +10,7 @@
{
    public interface IPosition : IMESTransaction
    {
        #region Propertys & Variables
        public string UserCode { get; set; }
        public string PostCode { get; set; }
        public MES_FACTORY CurFactory { get; set; }
@@ -18,9 +19,28 @@
        public MES_POSITION CurPosition { get; set; }
        public IWorkBatch WorkBatch { get; }
        public MES_WIP_DATA CurWipSN { get; set; }
        public IPosition Init(string id, string apiHost, string userCode, string postCode);
        public void ResetSteps();
        public MES_WIP_HIS CurWipSNHis { get; set; }
        #endregion Propertys & Variables
        //public bool Close(bool needSaveHistoryLog = false);
        #region Functions
        /// <summary>
        /// 初始化岗位
        /// </summary>
        /// <param name="id"></param>
        /// <param name="apiHost"></param>
        /// <param name="userCode"></param>
        /// <param name="postCode"></param>
        /// <returns></returns>
        public IPosition Init(string id, string apiHost, string userCode, string postCode);
        /// <summary>
        /// 重置工步列表
        /// </summary>
        public void ResetSteps();
        /// <summary>
        /// 获取提交数据的DbClient对象
        /// </summary>
        /// <returns></returns>
        public DbClient GetCommitDB();
        #endregion Functions
    }
}