服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-08-02 d34d9c35ba844da8b805993bd4c69b0253694fc0
Tiger.IBusiness/MES/IWorkStep.cs
@@ -13,7 +13,6 @@
    {
        #region Propertys & Variables
        public string ID { get; set; }
        public Types Type { get; set; }
        public int Sequence { get; set; }
        public MES_WO_NODE Node { get; set; }
@@ -21,6 +20,8 @@
        public MES_WO_ACTION Setting { get; set; }
        public IPosition CurPosition { get; set; }
        public IWorkAction CurAction { get; set; }
        public List<string> PrepNodeIDs { get; set; }
        public string NodeID { get; }
        public bool IsFinished { get; set; }
        public Action DBSubmitAction { get; set; }
        #endregion Propertys & Variables
@@ -28,11 +29,15 @@
        #region Functions
        /// <summary>
        /// 开始执行工步
        /// 尝试开始执行工步
        /// </summary>
        /// <param name="position"></param>
        /// <returns></returns>
        public ApiAction<SubmitOutput> Begin(IPosition position);
        public ApiAction<SubmitOutput> TryBegin(SubmitInput input);
        /// <summary>
        /// 获取行为开始的提示信息
        /// </summary>
        /// <returns></returns>
        public Locale GetBeginMsg();
        /// <summary>
        /// 工步提交数据
        /// </summary>