bug
This commit is contained in:
@@ -1724,7 +1724,7 @@ namespace Tnb.ProductionMgr
|
||||
// }
|
||||
|
||||
// report.warehouse_id = WmsWareHouseConst.WAREHOUSE_JXK_ID;
|
||||
report.warehouse_id = WmsWareHouseConst.WAREHOUSE_SLDMJC_ID;
|
||||
report.warehouse_id = WmsWareHouseConst.WAREHOUSE_DMJC_ID;
|
||||
Dictionary<string, string> worklineWarehouseDic = new Dictionary<string, string>()
|
||||
{
|
||||
[WmsWareHouseConst.XUELUGUAN1XIAN] = "ZZ-01-02",
|
||||
@@ -2129,22 +2129,22 @@ namespace Tnb.ProductionMgr
|
||||
// throw Oops.Bah(x2ServerResult.Msg);
|
||||
// }
|
||||
|
||||
Dictionary<string, string> dicCommand4 = new(StringComparer.OrdinalIgnoreCase)
|
||||
{
|
||||
["DevName"] = "外包装箱码垛线",
|
||||
["token"] = _eleCtlCfg.token,
|
||||
["TagName"] = dic2[prdMoTask.workline_id],
|
||||
["Value"] = "0",
|
||||
};
|
||||
|
||||
Log.Information($"清除提报码垛数参数:{JsonConvert.SerializeObject(dicCommand4)}");
|
||||
string responseresult2 = await HttpClientHelper.GetRequestAsync(_eleCtlCfg.WriteTagUrl, dicCommand4);
|
||||
Log.Information($"清除提报码垛数成返回结果:{responseresult2}");
|
||||
X2ServerResult x2ServerResult2 = JsonConvert.DeserializeObject<X2ServerResult>(responseresult2);
|
||||
if (x2ServerResult2.Result != X2ServerResult.Ok)
|
||||
{
|
||||
throw Oops.Bah(x2ServerResult2.Msg);
|
||||
}
|
||||
// Dictionary<string, string> dicCommand4 = new(StringComparer.OrdinalIgnoreCase)
|
||||
// {
|
||||
// ["DevName"] = "外包装箱码垛线",
|
||||
// ["token"] = _eleCtlCfg.token,
|
||||
// ["TagName"] = dic2[prdMoTask.workline_id],
|
||||
// ["Value"] = "0",
|
||||
// };
|
||||
//
|
||||
// Log.Information($"清除提报码垛数参数:{JsonConvert.SerializeObject(dicCommand4)}");
|
||||
// string responseresult2 = await HttpClientHelper.GetRequestAsync(_eleCtlCfg.WriteTagUrl, dicCommand4);
|
||||
// Log.Information($"清除提报码垛数返回结果:{responseresult2}");
|
||||
// X2ServerResult x2ServerResult2 = JsonConvert.DeserializeObject<X2ServerResult>(responseresult2);
|
||||
// if (x2ServerResult2.Result != X2ServerResult.Ok)
|
||||
// {
|
||||
// throw Oops.Bah(x2ServerResult2.Msg);
|
||||
// }
|
||||
}
|
||||
|
||||
if (basMaterial.category_id.Contains("ZSJ") || basMaterial.category_id.Contains("DGJCJ"))
|
||||
|
||||
Reference in New Issue
Block a user