服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-09-12 f6c758a94829953aa75bbe888c6dfa99d077c8df
Tiger.Business/MES/Biz.WorkStep.cs
@@ -110,6 +110,16 @@
            }
            /// <summary>
            /// 设置工步状态和消息
            /// </summary>
            /// <returns></returns>
            public void SetStatusMessage(StepStatus status, Locale msg)
            {
                Message = msg;
                Status = status;
            }
            /// <summary>
            /// 获取当前工步的信息
            /// </summary>
            /// <returns></returns>
@@ -117,6 +127,7 @@
            {
                return new WorkStepInfo() { 
                    ID = ID,
                    Name = Name,
                    Sequence = Sequence,
                    NodeID = NodeID,
                    NodeType = NodeType.ToString(),
@@ -125,7 +136,7 @@
                    NodeAct = NodeAct,
                    ActSetting = ActSetting,
                    Status = Status.ToString(),
                    Message = Biz.T(Message, locale),
                    Message = Message.IsNullOrEmpty() ? "" : Biz.T(Message, locale),
                };
            }
            #endregion