物料签收
This commit is contained in:
@@ -2042,7 +2042,7 @@ namespace Tnb.ProductionMgr
|
||||
string responseresult = await HttpClientHelper.GetRequestAsync(_eleCtlCfg.WriteTagUrl, dicCommand2);
|
||||
Log.Information($"提拔确认完成参数成返回结果:{responseresult}");
|
||||
X2ServerResult x2ServerResult = JsonConvert.DeserializeObject<X2ServerResult>(responseresult);
|
||||
if (x2ServerResult.Result != "OK")
|
||||
if (x2ServerResult.Result != X2ServerResult.Ok)
|
||||
{
|
||||
throw Oops.Bah(x2ServerResult.Msg);
|
||||
}
|
||||
@@ -2071,7 +2071,7 @@ namespace Tnb.ProductionMgr
|
||||
string responseresult = await HttpClientHelper.GetRequestAsync(_eleCtlCfg.WriteTagUrl, dicCommand3,false);
|
||||
Log.Information($"{eqpDaq3.equip_code},{eqpDaq3.label_name}称重完成返回结果:{responseresult}");
|
||||
X2ServerResult x2ServerResult = JsonConvert.DeserializeObject<X2ServerResult>(responseresult);
|
||||
if (x2ServerResult.Result != "OK")
|
||||
if (x2ServerResult.Result != X2ServerResult.Ok)
|
||||
{
|
||||
throw Oops.Bah(x2ServerResult.Msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user