杨张扬
13 小时以前 f9d7694d27475954449ce3073938af98a4798b07
wms/LocationHelper.cs
@@ -307,6 +307,11 @@
                    bindLocCntList.Add(new TN_Loc_Container() { S_LOC_CODE = loc, S_CNTR_CODE = item });
                }
                if (bindLocCntList.Count == 0)
                {
                    LogHelper.Info($"已绑定,没有要绑定的新容器,{logs}");
                    return $"已绑定,没有要绑定的新容器,{logs}";
                }
                var log = JsonConvert.SerializeObject(bindLocCntList);
@@ -516,6 +521,11 @@
            }
        }
        /// <summary>
        /// 0合格1待检2不合格,下线即待检,3过期,4技术判定,5混合,6一级料、7二级料
        /// </summary>
        /// <param name="state"></param>
        /// <returns></returns>
        public static string GetStrByOk(int state)
        {
            if (state == 0)
@@ -529,6 +539,26 @@
            if (state == 2)
            {
                return "不合格";
            }
            if (state == 3)
            {
                return "过期";
            }
            if (state == 4)
            {
                return "技术判定";
            }
            if (state == 5)
            {
                return "混合";
            }
            if (state == 6)
            {
                return "一级料";
            }
            if (state == 7)
            {
                return "二级料";
            }
            return "待检";
        }
@@ -580,7 +610,7 @@
        public string rfId { get; set; }//容器号
        /// <summary>
        /// 0合格1待检2不合格,下线即待检,3过期,4技术合格,5混合
        /// 0合格1待检2不合格,3过期,4技术判定,5混合,6一级料、7二级料
        /// </summary>
        public int cgState { get; set; }//物料状态