From 1818a97f14836d85b4f3fa651f77de0394cd4371 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期二, 27 八月 2024 14:24:36 +0800 Subject: [PATCH] 增加步骤基类,工序信息增加公布信息列表 --- Tiger.IBusiness/MES/IWorkStep.cs | 26 +++++++------------------- 1 files changed, 7 insertions(+), 19 deletions(-) diff --git a/Tiger.IBusiness/MES/IWorkStep.cs b/Tiger.IBusiness/MES/IWorkStep.cs index 4321411..4499dbf 100644 --- a/Tiger.IBusiness/MES/IWorkStep.cs +++ b/Tiger.IBusiness/MES/IWorkStep.cs @@ -9,41 +9,29 @@ /// <summary> /// 宸ユ琛屼负鍩虹被 /// </summary> - public interface IWorkStep + public interface IWorkStep : IStep<SubmitInput, SubmitOutput> { #region Propertys & Variables - public string ID { get; set; } - public Types Type { get; set; } - public int Sequence { get; set; } + public string NodeID { get; } + public NodeTypes NodeType { get; set; } public MES_WO_NODE Node { get; set; } + public MES_WO_OPER OperSetting { get; set; } public MES_WO_NODE_ACT NodeAct { get; set; } - public MES_WO_ACTION Setting { get; set; } + public MES_WO_ACTION ActSetting { 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 - public enum Types { Node, Action } + public enum NodeTypes { Node, Action } #region Functions - /// <summary> - /// 灏濊瘯寮�濮嬫墽琛屽伐姝� - /// </summary> - /// <returns></returns> - public ApiAction<SubmitOutput> TryBegin(SubmitInput input); /// <summary> /// 鑾峰彇琛屼负寮�濮嬬殑鎻愮ず淇℃伅 /// </summary> /// <returns></returns> public Locale GetBeginMsg(); - /// <summary> - /// 宸ユ鎻愪氦鏁版嵁 - /// </summary> - /// <param name="input"></param> - /// <returns></returns> - public ApiAction<SubmitOutput> Submit(SubmitInput input); #endregion Functions } + } -- Gitblit v1.9.3