From 8bfaf7141c88f41d3dbd1995cfb9cb015ca0d1d6 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期五, 02 八月 2024 16:34:13 +0800 Subject: [PATCH] 整理了工序传入传出参数 --- Tiger.IBusiness/MES/IWorkStep.cs | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Tiger.IBusiness/MES/IWorkStep.cs b/Tiger.IBusiness/MES/IWorkStep.cs index 148de53..0de2f20 100644 --- a/Tiger.IBusiness/MES/IWorkStep.cs +++ b/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,9 @@ 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 string NodeName { get; } public bool IsFinished { get; set; } public Action DBSubmitAction { get; set; } #endregion Propertys & Variables @@ -28,11 +30,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> -- Gitblit v1.9.3