This commit is contained in:
qianjiawei
2024-01-29 17:35:45 +08:00
parent 878a800bc7
commit 4d050d8378

View File

@@ -248,11 +248,9 @@ namespace Tnb.WarehouseMgr
public async Task CheckPut(CheckPutInput input)
{
Dictionary<string, string[]> putdic = new Dictionary<string, string[]>();
putdic.Add("SSX-021-005", new string[] { "CS05", "ConveyorAllowPutEmptyBox" });
putdic.Add("SSX-021-006", new string[] { "CS06", "ConveyorAllowPutEmptyBox" });
// Dictionary<string, string[]> getdic = new Dictionary<string, string[]>();
// getdic.Add("SSX-021-005", new string[] { "CS05", "FullBoxAllowGet" });
// getdic.Add("SSX-021-006", new string[] { "CS06", "FullBoxAllowGet" });
putdic.Add("SSX-021-006", new string[] { "YTCS", "AllowEmptyIn_CS06" });
var strs = new string[] { };
if (!putdic.ContainsKey(input.targetName))
@@ -309,8 +307,8 @@ namespace Tnb.WarehouseMgr
{
Dictionary<string, string[]> putdic = new Dictionary<string, string[]>();
Dictionary<string, string[]> getdic = new Dictionary<string, string[]>();
getdic.Add("SSX-021-005", new string[] { "YTCS", "AllowFullOut_CS05", "true" });
putdic.Add("SSX-021-006", new string[] { "YTCS", "", "" });
getdic.Add("SSX-021-005", new string[] { "YTCS", "FullOut_CS05Done", "true" });
putdic.Add("SSX-021-006", new string[] { "YTCS", "EmptyIn_CS06Done", "true" });
if (action == "LOAD")//取货
{
if (getdic.Keys.Contains(disTask.startlocation_code))