From 531f16f2f15bf792e3e719e00abb57a95356dedd Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期一, 21 四月 2025 12:04:15 +0800 Subject: [PATCH] Merge branch 'master' of http://47.115.28.255:8110/r/TigerClouds-Tech/Server/TigerApi6_2024 --- Tiger.IBusiness/Common/IStep.cs | 35 ++++++++++++++++++++++++++++++++--- 1 files changed, 32 insertions(+), 3 deletions(-) diff --git a/Tiger.IBusiness/Common/IStep.cs b/Tiger.IBusiness/Common/IStep.cs index e86ba8a..6824063 100644 --- a/Tiger.IBusiness/Common/IStep.cs +++ b/Tiger.IBusiness/Common/IStep.cs @@ -1,6 +1,7 @@ 锘縰sing Newtonsoft.Json; using Rhea.Common; using System; +using System.ComponentModel; using Tiger.Model; using Tiger.Model.Entitys.MES.Position; @@ -17,13 +18,25 @@ /// </summary> public string ID { get; set; } /// <summary> + /// 姝ラ鍚嶇О + /// </summary> + public string Name { get; set; } + /// <summary> /// 姝ラ搴忓彿 /// </summary> public int Sequence { get; set; } /// <summary> - /// 姝ラ鏄惁瀹屾垚 + /// 姝ラ鐘舵�� /// </summary> - public abstract bool IsFinished { get; set; } + public StepStatus Status { get; set; } + /// <summary> + /// 姝ラ娑堟伅 + /// </summary> + public Locale Message { get; set; } + /// <summary> + /// 姝ラ娑堟伅鍘嗗彶 + /// </summary> + public List<Locale> MsgHistory { get; } #endregion Propertys & Variables #region Functions @@ -42,8 +55,24 @@ /// 缁撴潫鎵ц /// </summary> /// <returns></returns> - public abstract ApiAction<OutputT> End(); + public abstract ApiAction<OutputT> End(InputT input); + #endregion Functions } + public enum StepStatus + { + [Description("绂佺敤")] + InActive, + [Description("姝e父")] + Normal, + [Description("鎴愬姛")] + Success, + [Description("閿欒")] + Error, + [Description("璀﹀憡")] + Warning, + [Description("瀹屾垚")] + Finished, + } } -- Gitblit v1.9.3