服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-07-31 715bdf037d69f3eda2298880f30beb4b6195e0d3
Tiger.Business.MES/Transaction/Position.cs
@@ -147,9 +147,25 @@
        }
        /// <summary>
        /// 重置当前工步
        /// 重置工序操作
        /// </summary>
        public void ResetSteps()
        /// <returns></returns>
        public ApiAction Reset()
        {
            var action = new ApiAction();
            ResetNode();
            action.IsSuccessed = true;
            action.LocaleMsg = new($"工序操作已重置,请重新扫描进站产品条码");
            action.LocaleMsg = new("MES.Transaction.Position.ResetNode");
            return action;
        }
        /// <summary>
        /// 重置当前工序,有需要则重写此方法
        /// </summary>
        public virtual void ResetNode()
        {
            Steps.Clear();
            CurWipSN = null;