From eec9f268552af1d0ce8c95312930770669f1cc18 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期五, 16 八月 2024 22:40:16 +0800 Subject: [PATCH] 增加客户端需要的工序信息和短消息 --- Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs b/Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs index beb1932..c81ac27 100644 --- a/Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs +++ b/Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs @@ -85,6 +85,9 @@ /// 褰撳墠鎿嶄綔杩斿洖鐨勬暟鎹� /// </summary> public object Data { get; set; } + /// <summary> + /// 宸ュ簭淇℃伅 + /// </summary> public OperInfo OperInfo { get; set; } } @@ -104,7 +107,8 @@ /// 鍖呰琛屼负褰撳墠鎵ц鐨勬搷浣滀唬鐮侊紝鍖呮嫭锛�<br/> /// Scan锛氭壂鐮侊紝鎵弿褰撳墠鍖呰灞傜骇鐨勬潯鐮�<br/> /// Print锛氭墦鍗帮紝鎵撳嵃褰撳墠鍖呰灞傜骇鐨勬爣绛�<br/> - /// Complete锛氬畬鎴愶紝瀹屾垚鍏ㄩ儴鍖呰鍚庣粨鏉熻涓�<br/> + /// Complete锛氬畬鎴愶紝瀹屾垚鍏ㄩ儴鍖呰<br/> + /// Weighing锛氱О閲嶏紝瀹屾垚鍖呰鍚庡鏁翠釜鍖呰鎴愮О閲�<br/> /// </summary> public string ExecCode { get; set; } /// <summary> @@ -119,6 +123,10 @@ /// 褰撳墠鎿嶄綔鐨勫寘瑁呭眰绾х殑鏍囩鏉$爜 /// </summary> public string PkgSN { get; set; } + /// <summary> + /// 褰撳墠鎿嶄綔鐨勫寘瑁呭眰绾х殑閲嶉噺淇℃伅 + /// </summary> + public WeightInfo WeightInfo { get; set; } } public class PackingActionOutput @@ -129,6 +137,7 @@ /// Scan锛氭壂鐮侊紝鎵弿褰撳墠鍖呰灞傜骇鐨勬潯鐮�<br/> /// Print锛氭墦鍗帮紝鎵撳嵃褰撳墠鍖呰灞傜骇鐨勬爣绛�<br/> /// Complete锛氬畬鎴愶紝宸蹭繚瀛樺寘瑁呮暟鎹�<br/> + /// Weighing锛氱О閲嶏紝瀹屾垚鍖呰鍚庡鏁翠釜鍖呰鎴愮О閲�<br/> /// </summary> public string ExecCode { get; set; } /// <summary> @@ -210,7 +219,15 @@ public bool IsBatchItem { get; set; } public List<MES_WIP_ASSY> Records { get; set; } = new List<MES_WIP_ASSY>(); public bool IsFinished { get; set; } = false; + } + /// <summary> + /// 绉伴噸淇℃伅 + /// </summary> + public class WeightInfo + { + public double Weight { get; set; } + public string Unit { get; set; } } /// <summary> @@ -218,8 +235,8 @@ /// </summary> public class OperInfo { - public string NextNode { get; set; } - public string CurNode { get; set; } - public int InputQty { get; set; } + public string NextNode { get; set; } = " 鈥� "; + public string CurNode { get; set; } = " 鈥� "; + public int InputQty { get; set; } = 0; } } -- Gitblit v1.9.3