| | |
| | | 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); |
| | | |
| | |
| | | /// <summary> |
| | | /// 人工手动PDA解绑:删除货位/容器/货品三方信息,1=解绑货位与容器,2=解绑容器与货品 |
| | | /// </summary> |
| | | /// <param name="model"></EmptyUnBind> |
| | | /// <returns></returns> |
| | | internal static SimpleResult PdaUnBind(PdaUnBindInfo model) |
| | | { |
| | |
| | | } |
| | | } |
| | | |
| | | /// <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) |
| | |
| | | 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 "待检"; |
| | | } |
| | |
| | | public string Spe { get; set; }//规格 |
| | | public string CarCode { get; set; }//车号 |
| | | public string staff { get; set; } = "None";//操作人 |
| | | public string shift { get; set; } = "None";//班次 |
| | | } |
| | | |
| | | public class ErrorLocCntResetInfo |
| | |
| | | public string rfId { get; set; }//容器号 |
| | | |
| | | /// <summary> |
| | | /// 0合格1待检2不合格,下线即待检 |
| | | /// 0合格1待检2不合格,3过期,4技术判定,5混合,6一级料、7二级料 |
| | | /// </summary> |
| | | public int cgState { get; set; }//物料状态 |
| | | |
| | | public string staff { get; set; } = "None";//操作人 |
| | | public string shift { get; set; } = "None";//班次 |
| | | } |
| | | |
| | | public class ShowCntCountBySpeInfo |
| | |
| | | public class PDAReturnResetInfo |
| | | { |
| | | public string rfId { get; set; }//容器号 |
| | | |
| | | public string startLoc { get; set; }//起点货位 |
| | | |
| | | public string staff { get; set; } = "None";//操作人 |
| | | public string shift { get; set; } = "None";//班次 |
| | | } |
| | | } |