This commit is contained in:
jl
2024-12-05 14:36:37 +08:00
parent 261fde99ce
commit 4e4c0dbb59
5 changed files with 69 additions and 16 deletions

View File

@ -48,11 +48,20 @@ namespace Epost.TestToolsWeb
reqmodel.reqCode = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds().ToString()+ row["id"].ToString();;
List<Positioncodepath> positionList = new List<Positioncodepath>();
Positioncodepath pathModel = new Positioncodepath();
pathModel.positionCode = inboundBLL.GetLocation(" and wmsloc ='"+ row["spositionCode"].ToString() + "'");
string type = string.Empty;
pathModel.positionCode = inboundBLL.GetLocation(" and wmsloc ='"+ row["spositionCode"].ToString() + "'",out type);
#region --
if (type == "1")
{
LogHelper.WriteLogInfo("绑定点位"+ pathModel.positionCode);
agv.bindCtnrAndBin(pathModel.positionCode, type);
}
#endregion
pathModel.type = "05";//agv提供
positionList.Add(pathModel);
Positioncodepath pathModel2 = new Positioncodepath();
pathModel2.positionCode = inboundBLL.GetLocation(" and wmsloc = '"+ row["dpositionCode"].ToString() + "'");
pathModel2.positionCode = inboundBLL.GetLocation(" and wmsloc = '"+ row["dpositionCode"].ToString() + "'",out type );
pathModel2.type = "05";
positionList.Add(pathModel2);
reqmodel.positionCodePath = positionList;