From a592da60f0db0d4eb950a81a8530e965444be7b1 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期三, 16 十月 2024 09:14:02 +0800 Subject: [PATCH] 工艺路线默认优化 --- Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs b/Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs index 8e4194a..fe5a467 100644 --- a/Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs +++ b/Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs @@ -38,6 +38,10 @@ /// </summary> public string SN { get; set; } /// <summary> + /// 鏁伴噺 + /// </summary> + public string Qty { get; set; } + /// <summary> /// 褰撳墠鎿嶄綔鎻愪氦鐨勪笉鑹唬鐮侊紝娌℃湁鍒欑暀绌� /// </summary> public string DFT_CODE { get; set; } @@ -158,12 +162,14 @@ public string WorkBatch { get; set; } public string RULE_CODE { get; set; } public string RULE_NAME { get; set; } + public string PROD_CODE { get; set; } public string ITEM_CODE { get; set; } public WipPkgItem Item { get; set; } public bool NeedWeighing { get; set; } = false; public bool IsWeighed { get; set; } = false; public WeightInfo WeightInfo { get; set; } = new WeightInfo(); public bool IsFinished => Item.IsFinished; + public bool IsReachedEndNode { get; set; } = false; } /// <summary> @@ -180,7 +186,7 @@ public MES_WIP_PKG Package { get; set; } public bool IsFinished { get; set; } = false; public List<WipPkgItem> Items { get; set; } = new List<WipPkgItem>(); - + public int TotalQty => Items.Any() ? Items.Sum(q => q.TotalQty) : 1; } /// <summary> @@ -243,6 +249,7 @@ { public string NextNode { get; set; } = " 鈥� "; public string CurNode { get; set; } = " 鈥� "; + public bool IsReachedEndNode { get; set; } = false; public int InputQty { get; set; } = 0; public List<WorkStepInfo> StepsInfo { get; set; } = new List<WorkStepInfo>(); } -- Gitblit v1.9.3