服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2024-11-26 976d3ae1547b896cc5c7875408c09616d5c2ee55
Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs
@@ -195,9 +195,10 @@
        public string SN { get; set; }
        public MES_WIP_PKG Package { get; set; }
        public bool IsFinished { get; set; } = false;
        public bool PkgComplete => PKG_LEVEL == 1 || Items.Count(q => q.IsFinished) == PKG_QTY;
        public List<WipPkgItem> Items { get; set; } = new List<WipPkgItem>();
        public Dictionary<string, string> WipSNs { get; set; } = new Dictionary<string, string>();
        public double TotalQty => Items.Any() ? Items.Sum(q => q.TotalQty) : Package.QTY;
        public double TotalQty => Items.Any() ? Items.Sum(q => q.TotalQty) : Package?.QTY ?? 0;
        public List<MES_WIP_PKG> GetMinPackageList()
        {
@@ -321,4 +322,13 @@
        public string Message { get; set; }
    }
    /// <summary>
    /// 出货信息
    /// </summary>
    public class ShipingInfo
    {
        public bool IsPrintCustomerLabel { get; set; }
        public int ShipQty { get; set; }
    }
}